diff options
author | Ryan <fauxpark@gmail.com> | 2021-01-11 20:25:45 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-11 01:25:45 -0800 |
commit | 415d683ea71d516dd2a7d4f2f8e43eb4e3e993cb (patch) | |
tree | 71c028b6b7dc0ef56a6f25fdd4f4de6376ee1d69 /keyboards/gh60 | |
parent | 5ee3cb385fd085bbe76e98e8c208ca2ac7ea4871 (diff) | |
download | qmk_firmware-415d683ea71d516dd2a7d4f2f8e43eb4e3e993cb.tar.gz qmk_firmware-415d683ea71d516dd2a7d4f2f8e43eb4e3e993cb.zip |
Remove unused `action_get_macro()` usages in user files (#11165)
Diffstat (limited to 'keyboards/gh60')
-rw-r--r-- | keyboards/gh60/revc/keymaps/dbroqua/keymap.c | 6 | ||||
-rw-r--r-- | keyboards/gh60/revc/keymaps/dbroqua_7U/keymap.c | 6 | ||||
-rw-r--r-- | keyboards/gh60/revc/keymaps/sethbc/keymap.c | 19 | ||||
-rw-r--r-- | keyboards/gh60/satan/keymaps/dbroqua/keymap.c | 6 |
4 files changed, 0 insertions, 37 deletions
diff --git a/keyboards/gh60/revc/keymaps/dbroqua/keymap.c b/keyboards/gh60/revc/keymaps/dbroqua/keymap.c index 2030355a7..9666199f3 100644 --- a/keyboards/gh60/revc/keymaps/dbroqua/keymap.c +++ b/keyboards/gh60/revc/keymaps/dbroqua/keymap.c | |||
@@ -100,12 +100,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
100 | ) | 100 | ) |
101 | }; | 101 | }; |
102 | 102 | ||
103 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
104 | { | ||
105 | // MACRODOWN only works in this function | ||
106 | return MACRO_NONE; | ||
107 | }; | ||
108 | |||
109 | enum function_id { | 103 | enum function_id { |
110 | RGBLED_TOGGLE, | 104 | RGBLED_TOGGLE, |
111 | RGBLED_STEP_MODE, | 105 | RGBLED_STEP_MODE, |
diff --git a/keyboards/gh60/revc/keymaps/dbroqua_7U/keymap.c b/keyboards/gh60/revc/keymaps/dbroqua_7U/keymap.c index 74ff97a93..5b58d7686 100644 --- a/keyboards/gh60/revc/keymaps/dbroqua_7U/keymap.c +++ b/keyboards/gh60/revc/keymaps/dbroqua_7U/keymap.c | |||
@@ -52,12 +52,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
52 | ) | 52 | ) |
53 | }; | 53 | }; |
54 | 54 | ||
55 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
56 | { | ||
57 | // MACRODOWN only works in this function | ||
58 | return MACRO_NONE; | ||
59 | }; | ||
60 | |||
61 | enum function_id { | 55 | enum function_id { |
62 | LED_TOGGLE | 56 | LED_TOGGLE |
63 | }; | 57 | }; |
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 | ||
31 | const 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 | |||
46 | void matrix_scan_user(void) { | ||
47 | |||
48 | } | ||
49 | |||
50 | void action_function(keyrecord_t *record, uint8_t id, uint8_t opt) { | 31 | void 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) { |
diff --git a/keyboards/gh60/satan/keymaps/dbroqua/keymap.c b/keyboards/gh60/satan/keymaps/dbroqua/keymap.c index d1dc4c3c3..a9a54bf76 100644 --- a/keyboards/gh60/satan/keymaps/dbroqua/keymap.c +++ b/keyboards/gh60/satan/keymaps/dbroqua/keymap.c | |||
@@ -77,12 +77,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
77 | ) | 77 | ) |
78 | }; | 78 | }; |
79 | 79 | ||
80 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | ||
81 | { | ||
82 | // MACRODOWN only works in this function | ||
83 | return MACRO_NONE; | ||
84 | }; | ||
85 | |||
86 | enum function_id { | 80 | enum function_id { |
87 | RGBLED_TOGGLE, | 81 | RGBLED_TOGGLE, |
88 | RGBLED_STEP_MODE, | 82 | RGBLED_STEP_MODE, |