diff options
author | Olivier <olivier@gid0.org> | 2016-04-16 18:06:16 +0200 |
---|---|---|
committer | Olivier <olivier@gid0.org> | 2016-04-16 18:06:16 +0200 |
commit | 6dc48384f37dc4ad6ff891c2dd65f453f1fafaf7 (patch) | |
tree | f342ee6aa14c58756155c45f3131b94ab28081c8 /keyboard/ergodox_ez/keymaps/bepo/keymap.c | |
parent | d3bc854ddfbb0c8e9765d14ca3f0a1c8943b6b71 (diff) |
Allow the "00" keypad key to act like a repeating 0 when held down.
Diffstat (limited to 'keyboard/ergodox_ez/keymaps/bepo/keymap.c')
-rw-r--r-- | keyboard/ergodox_ez/keymaps/bepo/keymap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/keyboard/ergodox_ez/keymaps/bepo/keymap.c b/keyboard/ergodox_ez/keymaps/bepo/keymap.c index adb5ea0f16..db02aa0045 100644 --- a/keyboard/ergodox_ez/keymaps/bepo/keymap.c +++ b/keyboard/ergodox_ez/keymaps/bepo/keymap.c @@ -169,7 +169,9 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) switch(id) { case KP_00: if (record->event.pressed) { - return MACRO( D(KP_0), U(KP_0), D(KP_0), U(KP_0), END ); + return MACRO( D(KP_0), U(KP_0), D(KP_0), END ); + } else { + return MACRO( U(KP_0), END ); } break; } |