diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2017-03-22 14:24:04 -0400 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-06-30 16:33:49 -0400 |
| commit | 753809eed7873205baa6692d928d9c255308d22b (patch) | |
| tree | fea3ecf011cce00a11497f6032cbe69be48080ef /keyboards/sixkeyboard/keymaps/default/keymap.c | |
| parent | b476d65b9cc2b25031c6f8143fd6a59a7d5ee6b7 (diff) | |
| download | qmk_firmware-753809eed7873205baa6692d928d9c255308d22b.tar.gz qmk_firmware-753809eed7873205baa6692d928d9c255308d22b.zip | |
adds debouncing to sixkeyboard
Diffstat (limited to 'keyboards/sixkeyboard/keymaps/default/keymap.c')
| -rw-r--r-- | keyboards/sixkeyboard/keymaps/default/keymap.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/keyboards/sixkeyboard/keymaps/default/keymap.c b/keyboards/sixkeyboard/keymaps/default/keymap.c index 641ed790e..74ce6f036 100644 --- a/keyboards/sixkeyboard/keymaps/default/keymap.c +++ b/keyboards/sixkeyboard/keymaps/default/keymap.c | |||
| @@ -17,16 +17,6 @@ const uint16_t PROGMEM fn_actions[] = { | |||
| 17 | 17 | ||
| 18 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 18 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 19 | { | 19 | { |
| 20 | // MACRODOWN only works in this function | ||
| 21 | switch(id) { | ||
| 22 | case 0: | ||
| 23 | if (record->event.pressed) { | ||
| 24 | register_code(KC_RSFT); | ||
| 25 | } else { | ||
| 26 | unregister_code(KC_RSFT); | ||
| 27 | } | ||
| 28 | break; | ||
| 29 | } | ||
| 30 | return MACRO_NONE; | 20 | return MACRO_NONE; |
| 31 | }; | 21 | }; |
| 32 | 22 | ||
