diff options
Diffstat (limited to 'common/keymap.h')
| -rw-r--r-- | common/keymap.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/common/keymap.h b/common/keymap.h index 748761551..e0fafeaf2 100644 --- a/common/keymap.h +++ b/common/keymap.h | |||
| @@ -29,11 +29,13 @@ extern uint8_t current_layer; | |||
| 29 | extern uint8_t default_layer; | 29 | extern uint8_t default_layer; |
| 30 | 30 | ||
| 31 | 31 | ||
| 32 | /* | 32 | /* action for key */ |
| 33 | * new keymap interface: action | 33 | // TODO: should use struct key_t? |
| 34 | */ | ||
| 35 | action_t keymap_get_action(uint8_t layer, uint8_t row, uint8_t col); | 34 | action_t keymap_get_action(uint8_t layer, uint8_t row, uint8_t col); |
| 36 | 35 | ||
| 36 | /* user defined special function */ | ||
| 37 | void keymap_call_function(keyrecord_t *record, uint8_t id); | ||
| 38 | |||
| 37 | 39 | ||
| 38 | #ifndef NO_LEGACY_KEYMAP_SUPPORT | 40 | #ifndef NO_LEGACY_KEYMAP_SUPPORT |
| 39 | /* keycode of key */ | 41 | /* keycode of key */ |
