qmk_firmware/tmk_core/common
James Churchill 28929ad017 Simplify split_common Code significantly (#4772)
* Eliminate separate slave loop

Both master and slave run the standard keyboard_task main loop now.

* Refactor i2c/serial specific code

Simplify some of the preprocessor mess by using common function names.

* Fix missing #endif

* Move direct pin mapping support from miniaxe to split_common

For boards with more pins than sense--sorry, switches.

* Reordering and reformatting only

* Don't run matrix_scan_quantum on slave side

* Clean up the offset/slaveOffset calculations

* Cut undebounced matrix size in half

* Refactor debouncing

* Minor fixups

* Split split_common transport and debounce code into their own files

Can now be replaced with custom versions per keyboard using
CUSTOM_TRANSPORT = yes and CUSTOM_DEBOUNCE = yes

* Refactor debounce for non-split keyboards too

* Update handwired/xealous to build using new split_common

* Fix debounce breaking basic test

* Dodgy method to allow a split kb to only include one of i2c/serial

SPLIT_TRANSPORT = serial or SPLIT_TRANSPORT = i2c will include only
that driver code in the binary.

SPLIT_TRANSPORT = custom (or anything else) will include neither, the
keyboard must supply it's own code

if SPLIT_TRANSPORT is not defined then the original behaviour (include
both avr i2c and serial code) is maintained.

This could be better but it would require explicitly updating all the
existing split keyboards.

* Enable LTO to get lets_split/sockets under the line

* Add docs for SPLIT_TRANSPORT, CUSTOM_MATRIX, CUSTOM_DEBOUNCE

* Remove avr-specific sei() from split matrix_setup

Not needed now that slave doesn't have a separate main loop.
Both sides (on avr) call sei() in lufa's main() after exiting
keyboard_setup().

* Fix QUANTUM_LIB_SRC references and simplify SPLIT_TRANSPORT.

* Add comments and fix formatting.
2019-01-17 10:08:14 -08:00
..
arm_atsam Update to arm_atsam wait and timer routines 2019-01-07 12:44:55 -08:00
avr Zeal60/Zeal65/M60-A implementation (#3879) 2018-09-13 14:37:13 -04:00
chibios Final HS60v2 changes. (#4790) 2019-01-06 17:22:19 -08:00
mbed
test
action.c Keep pressed keys on layer state change (fixes #2053, #2279) (#3905) 2018-12-28 11:07:56 -08:00
action.h Keep pressed keys on layer state change (fixes #2053, #2279) (#3905) 2018-12-28 11:07:56 -08:00
action_code.h
action_layer.c Add documentation and fix formating (#4860) 2019-01-17 09:04:35 -08:00
action_layer.h adding Hadron v3 keyboard, QWIIC devices support, haptic feedback support (#4462) 2018-12-04 08:04:57 -08:00
action_macro.c
action_macro.h
action_tapping.c
action_tapping.h
action_util.c
action_util.h
backlight.c Backlight status functions (#4259) 2018-11-14 07:45:46 -08:00
backlight.h Backlight status functions (#4259) 2018-11-14 07:45:46 -08:00
bootloader.h
bootmagic.c
bootmagic.h
command.c Refactor quantum/split_common/i2c.c, quantum/split_common/serial.c (#4522) 2018-12-14 21:31:56 -08:00
command.h command.h include was not set correctly 2018-11-06 00:40:30 -05:00
debug.c
debug.h
eeconfig.c Final HS60v2 changes. (#4790) 2019-01-06 17:22:19 -08:00
eeconfig.h Final HS60v2 changes. (#4790) 2019-01-06 17:22:19 -08:00
eeprom.h Final HS60v2 changes. (#4790) 2019-01-06 17:22:19 -08:00
host.c Use a single endpoint for HID reports (#3951) 2018-11-15 22:22:05 -08:00
host.h Use keyboard config for nkro (#7) 2016-09-06 23:19:01 -05:00
host_driver.h
keyboard.c adding Hadron v3 keyboard, QWIIC devices support, haptic feedback support (#4462) 2018-12-04 08:04:57 -08:00
keyboard.h Simplify split_common Code significantly (#4772) 2019-01-17 10:08:14 -08:00
keycode.h Add standard definitions for ALGR and KC_ALGR (#4389) 2018-12-12 10:17:19 -08:00
led.h
magic.c
magic.h
matrix.h add col type defines 2018-07-20 23:09:25 -04:00
mousekey.c Diagonal micro move fix 2018-06-28 22:10:53 -04:00
mousekey.h
nodebug.h
print.c
print.h Fixed docs/newbs_testing_debugging.md and tmk_core/common/print.h 2018-11-27 14:40:19 -05:00
progmem.h Add missing parentheses to some important macros (#4775) 2019-01-08 15:08:17 -08:00
raw_hid.h
report.c Use a single endpoint for HID reports (#3951) 2018-11-15 22:22:05 -08:00
report.h Add underscores to names of brightness control constants in report.h (#4764) 2019-01-05 08:31:24 -08:00
sendchar.h
sendchar_null.c Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
sendchar_uart.c Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
sleep_led.h
suspend.h Add Suspend functions (#3112) 2018-06-03 17:57:35 -04:00
timer.h
uart.c Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core' 2015-04-10 01:32:04 +09:00
uart.h
util.c
util.h
virtser.h
wait.h Update to arm_atsam wait and timer routines 2019-01-07 12:44:55 -08:00