summaryrefslogtreecommitdiffstats
path: root/tmk_core
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/arm_atsam.mk18
-rw-r--r--tmk_core/avr.mk191
-rw-r--r--tmk_core/chibios.mk125
-rw-r--r--tmk_core/common.mk41
-rw-r--r--tmk_core/common/action.c1093
-rw-r--r--tmk_core/common/action.h127
-rw-r--r--tmk_core/common/action_code.h308
-rw-r--r--tmk_core/common/action_layer.c279
-rw-r--r--tmk_core/common/action_layer.h122
-rw-r--r--tmk_core/common/action_macro.c93
-rw-r--r--tmk_core/common/action_macro.h123
-rw-r--r--tmk_core/common/action_tapping.c426
-rw-r--r--tmk_core/common/action_tapping.h41
-rw-r--r--tmk_core/common/action_util.c427
-rw-r--r--tmk_core/common/action_util.h105
-rw-r--r--tmk_core/common/arm_atsam/_timer.h19
-rw-r--r--tmk_core/common/arm_atsam/platform.c21
-rw-r--r--tmk_core/common/avr/_timer.h19
-rw-r--r--tmk_core/common/avr/_wait.h22
-rw-r--r--tmk_core/common/avr/gpio.h15
-rw-r--r--tmk_core/common/avr/platform.c21
-rw-r--r--tmk_core/common/chibios/_timer.h19
-rw-r--r--tmk_core/common/chibios/_wait.c89
-rw-r--r--tmk_core/common/chibios/_wait.h24
-rw-r--r--tmk_core/common/chibios/bootloader.c5
-rw-r--r--tmk_core/common/chibios/gpio.h16
-rw-r--r--tmk_core/common/chibios/platform.c22
-rw-r--r--tmk_core/common/chibios/wait.c90
-rw-r--r--tmk_core/common/debug.c25
-rw-r--r--tmk_core/common/debug.h169
-rw-r--r--tmk_core/common/eeconfig.c211
-rw-r--r--tmk_core/common/eeconfig.h113
-rw-r--r--tmk_core/common/host.c33
-rw-r--r--tmk_core/common/host_driver.h2
-rw-r--r--tmk_core/common/keyboard.c534
-rw-r--r--tmk_core/common/keyboard.h90
-rw-r--r--tmk_core/common/keycode.h560
-rw-r--r--tmk_core/common/lib_printf.mk9
-rw-r--r--tmk_core/common/nodebug.h26
-rw-r--r--tmk_core/common/print.h135
-rw-r--r--tmk_core/common/printf.c27
-rw-r--r--tmk_core/common/progmem.h2
-rw-r--r--tmk_core/common/report.h14
-rw-r--r--tmk_core/common/sendchar.h33
-rw-r--r--tmk_core/common/sendchar_null.c19
-rw-r--r--tmk_core/common/sendchar_uart.c23
-rw-r--r--tmk_core/common/sync_timer.c2
-rw-r--r--tmk_core/common/sync_timer.h2
-rw-r--r--tmk_core/common/test/platform.c21
-rw-r--r--tmk_core/common/timer.h20
-rw-r--r--tmk_core/common/usb_util.c2
-rw-r--r--tmk_core/common/usb_util.h2
-rw-r--r--tmk_core/native.mk5
-rw-r--r--tmk_core/protocol.mk4
-rw-r--r--tmk_core/protocol/arm_atsam/main_arm_atsam.c2
-rw-r--r--tmk_core/protocol/arm_atsam/md_rgb_matrix.c4
-rw-r--r--tmk_core/protocol/arm_atsam/md_rgb_matrix.h2
-rw-r--r--tmk_core/protocol/arm_atsam/usb/udi_device_conf.h10
-rw-r--r--tmk_core/protocol/chibios.mk2
-rw-r--r--tmk_core/protocol/chibios/chibios.c (renamed from tmk_core/protocol/chibios/main.c)67
-rw-r--r--tmk_core/protocol/chibios/usb_main.c73
-rw-r--r--tmk_core/protocol/chibios/usb_util.c2
-rw-r--r--tmk_core/protocol/lufa.mk1
-rw-r--r--tmk_core/protocol/lufa/lufa.c124
-rw-r--r--tmk_core/protocol/lufa/usb_util.c2
-rw-r--r--tmk_core/protocol/ps2_interrupt.c91
-rw-r--r--tmk_core/protocol/ps2_io_chibios.c55
-rw-r--r--tmk_core/protocol/ps2_mouse.c21
-rw-r--r--tmk_core/protocol/usb_descriptor.c107
-rw-r--r--tmk_core/protocol/usb_descriptor.h27
-rw-r--r--tmk_core/protocol/usb_descriptor_common.h4
-rw-r--r--tmk_core/protocol/usb_hid.mk12
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/.gitattributes23
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/.gitignore4
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/.gitmodules12
-rwxr-xr-xtmk_core/protocol/usb_hid/USB_Host_Shield_2.0/BTD.cpp1364
-rwxr-xr-xtmk_core/protocol/usb_hid/USB_Host_Shield_2.0/BTD.h620
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/BTHID.cpp399
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/BTHID.h155
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/PS3BT.cpp634
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/PS3BT.h240
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/PS3Enums.h141
-rwxr-xr-xtmk_core/protocol/usb_hid/USB_Host_Shield_2.0/PS3USB.cpp572
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/PS3USB.h303
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/PS4BT.h121
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/PS4Parser.cpp116
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/PS4Parser.h407
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/PS4USB.h130
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/PSBuzz.cpp82
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/PSBuzz.h185
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/README.md351
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/SPP.cpp829
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/SPP.h225
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/Usb.cpp812
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/Usb.h41
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/UsbCore.h298
-rwxr-xr-xtmk_core/protocol/usb_hid/USB_Host_Shield_2.0/Wii.cpp1268
-rwxr-xr-xtmk_core/protocol/usb_hid/USB_Host_Shield_2.0/Wii.h518
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/WiiCameraReadme.md13
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/XBOXOLD.cpp337
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/XBOXOLD.h185
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/XBOXONE.cpp374
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/XBOXONE.h172
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/XBOXRECV.cpp583
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/XBOXRECV.h276
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/XBOXUSB.cpp361
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/XBOXUSB.h225
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/address.h282
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/adk.cpp371
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/adk.h140
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/avrpins.h1130
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/cdc_XR21B1411.cpp211
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/cdc_XR21B1411.h272
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/cdcacm.cpp331
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/cdcacm.h252
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/cdcftdi.cpp334
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/cdcftdi.h145
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/cdcprolific.cpp247
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/cdcprolific.h159
-rw-r--r--tmk_core/protocol/usb_hid/USB_Host_Shield_2.0/confdescparser.h213