1
0
Fork 0

adds debouncing to sixkeyboard

This commit is contained in:
Jack Humbert 2017-03-22 14:24:04 -04:00
parent b476d65b9c
commit 753809eed7
3 changed files with 31 additions and 21 deletions

View file

@ -17,16 +17,6 @@ const uint16_t PROGMEM fn_actions[] = {
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
{
// MACRODOWN only works in this function
switch(id) {
case 0:
if (record->event.pressed) {
register_code(KC_RSFT);
} else {
unregister_code(KC_RSFT);
}
break;
}
return MACRO_NONE;
};