aboutsummaryrefslogtreecommitdiff
path: root/keyboards/gh60/revc/keymaps/sethbc/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/gh60/revc/keymaps/sethbc/keymap.c')
-rw-r--r--keyboards/gh60/revc/keymaps/sethbc/keymap.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/keyboards/gh60/revc/keymaps/sethbc/keymap.c b/keyboards/gh60/revc/keymaps/sethbc/keymap.c
index f2802827a..09a8d49ee 100644
--- a/keyboards/gh60/revc/keymaps/sethbc/keymap.c
+++ b/keyboards/gh60/revc/keymaps/sethbc/keymap.c
@@ -28,25 +28,6 @@ const uint16_t PROGMEM fn_actions[] = {
28 [0] = ACTION_FUNCTION(SHIFT_ESC), 28 [0] = ACTION_FUNCTION(SHIFT_ESC),
29}; 29};
30 30
31const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
32{
33 // MACRODOWN only works in this function
34 switch(id) {
35 case 0:
36 if (record->event.pressed) {
37 register_code(KC_RSFT);
38 } else {
39 unregister_code(KC_RSFT);
40 }
41 break;
42 }
43 return MACRO_NONE;
44};
45
46void matrix_scan_user(void) {
47
48}
49
50void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { 31void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) {
51 static uint8_t shift_esc_shift_mask; 32 static uint8_t shift_esc_shift_mask;
52 switch (id) { 33 switch (id) {