Strip out features to allow minimum firmware sizes (#8645)

This commit is contained in:
Joel Challis 2020-04-01 21:06:22 +01:00 committed by GitHub
parent c217186bea
commit 58a9c84d6b
Failed to generate hash of commit
6 changed files with 30 additions and 11 deletions

View file

@ -775,11 +775,12 @@ void register_code(uint8_t code) {
add_mods(MOD_BIT(code));
send_keyboard_report();
}
#ifdef EXTRAKEY_ENABLE
else if
IS_SYSTEM(code) { host_system_send(KEYCODE2SYSTEM(code)); }
else if
IS_CONSUMER(code) { host_consumer_send(KEYCODE2CONSUMER(code)); }
#endif
#ifdef MOUSEKEY_ENABLE
else if
IS_MOUSEKEY(code) {