qmk_firmware/tmk_core/common
Liyang HU c4bd6af837
tmk_core/common/action.c: refactor for code size; merge multiple cases into one (#11943)
* tmk_core/common/report.h: define `enum mouse_buttons` in terms of `#define MOUSE_BTN_MASK()`

* tmk_core/common/action.c: collapse multiple `case KC_MS_BTN[1-8]:` into single `MOUSE_BTN_MASK(action.key.code - KC_MS_BTN1)`

We all love tapping on our keyboards but this is taking the piss.

This saves ~134 bytes on my ATmega32.
2021-02-20 14:53:53 -05:00
..
arm_atsam Refactor platform logic within print.h (#11863) 2021-02-14 01:44:22 +00:00
avr Merge branch 'master' into develop 2021-02-14 19:59:26 -05:00
chibios Merge branch 'master' into develop 2021-02-14 19:59:26 -05:00
test
action_code.h
action_layer.c
action_layer.h
action_macro.c
action_macro.h
action_tapping.c
action_tapping.h
action_util.c
action_util.h
action.c tmk_core/common/action.c: refactor for code size; merge multiple cases into one (#11943) 2021-02-20 14:53:53 -05:00
action.h Add tap_code_delay(code, delay) (#11913) 2021-02-17 07:26:52 +11:00
atomic_util.h Split gpio and atomic to platform (#11792) 2021-02-14 11:51:06 +11:00
bootloader.h
bootmagic_lite.c
bootmagic.c
bootmagic.h
debug.c Refactor platform logic within print.h (#11863) 2021-02-14 01:44:22 +00:00
debug.h
eeconfig.c
eeconfig.h Format code according to conventions (#11928) 2021-02-16 11:33:03 +11:00
eeprom.h
gpio.h Split gpio and atomic to platform (#11792) 2021-02-14 11:51:06 +11:00
host_driver.h
host.c
host.h
keyboard.c Split transport mirror (#11046) 2021-02-16 11:30:33 +11:00
keyboard.h Merge remote-tracking branch 'upstream/master' into develop 2021-01-28 10:52:59 +11:00
keycode.h Add support for 8 buttons to mouse report (#10807) 2021-01-28 04:38:34 +11:00
lib_printf.mk Refactor platform logic within print.h (#11863) 2021-02-14 01:44:22 +00:00
magic.c
magic.h
nodebug.h
pin_defs.h Split gpio and atomic to platform (#11792) 2021-02-14 11:51:06 +11:00
print.h Refactor platform logic within print.h (#11863) 2021-02-14 01:44:22 +00:00
printf.c Refactor platform logic within print.h (#11863) 2021-02-14 01:44:22 +00:00
progmem.h Refactor platform logic within print.h (#11863) 2021-02-14 01:44:22 +00:00
raw_hid.h
report.c
report.h tmk_core/common/action.c: refactor for code size; merge multiple cases into one (#11943) 2021-02-20 14:53:53 -05:00
sendchar_null.c
sendchar_uart.c
sendchar.h Refactor platform logic within print.h (#11863) 2021-02-14 01:44:22 +00:00
sleep_led.h
suspend.h Address wake from sleep instability (#11450) 2021-02-02 11:12:41 +11:00
sync_timer.c
sync_timer.h
timer.h
virtser.h
wait.h