aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mechmini
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-01-11 20:25:45 +1100
committerGitHub <noreply@github.com>2021-01-11 01:25:45 -0800
commit415d683ea71d516dd2a7d4f2f8e43eb4e3e993cb (patch)
tree71c028b6b7dc0ef56a6f25fdd4f4de6376ee1d69 /keyboards/mechmini
parent5ee3cb385fd085bbe76e98e8c208ca2ac7ea4871 (diff)
downloadqmk_firmware-415d683ea71d516dd2a7d4f2f8e43eb4e3e993cb.tar.gz
qmk_firmware-415d683ea71d516dd2a7d4f2f8e43eb4e3e993cb.zip
Remove unused `action_get_macro()` usages in user files (#11165)
Diffstat (limited to 'keyboards/mechmini')
-rwxr-xr-xkeyboards/mechmini/v2/keymaps/625_space/keymap.c53
-rwxr-xr-xkeyboards/mechmini/v2/keymaps/split_space/keymap.c53
2 files changed, 0 insertions, 106 deletions
diff --git a/keyboards/mechmini/v2/keymaps/625_space/keymap.c b/keyboards/mechmini/v2/keymaps/625_space/keymap.c
index 60d4d32d1..0746b8aec 100755
--- a/keyboards/mechmini/v2/keymaps/625_space/keymap.c
+++ b/keyboards/mechmini/v2/keymaps/625_space/keymap.c
@@ -28,59 +28,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
28 28
29}; 29};
30 30
31const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
32
33
34 switch (id) {
35
36 }
37 return MACRO_NONE;
38}
39
40void matrix_init_user(void) {
41}
42
43void matrix_scan_user(void) {
44}
45
46bool process_record_user(uint16_t keycode, keyrecord_t *record) {
47 return true;
48}
49
50void led_set_user(uint8_t usb_led) {
51
52 if (usb_led & (1 << USB_LED_NUM_LOCK)) {
53
54 } else {
55
56 }
57
58 if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
59
60 } else {
61
62 }
63
64 if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
65
66 } else {
67
68 }
69
70 if (usb_led & (1 << USB_LED_COMPOSE)) {
71
72 } else {
73
74 }
75
76 if (usb_led & (1 << USB_LED_KANA)) {
77
78 } else {
79
80 }
81
82}
83
84enum function_id { 31enum function_id {
85 SHIFT_ESC, 32 SHIFT_ESC,
86}; 33};
diff --git a/keyboards/mechmini/v2/keymaps/split_space/keymap.c b/keyboards/mechmini/v2/keymaps/split_space/keymap.c
index e35f25ee4..e332c641a 100755
--- a/keyboards/mechmini/v2/keymaps/split_space/keymap.c
+++ b/keyboards/mechmini/v2/keymaps/split_space/keymap.c
@@ -27,59 +27,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
27 27
28}; 28};
29 29
30const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {
31
32
33 switch (id) {
34
35 }
36 return MACRO_NONE;
37}
38
39void matrix_init_user(void) {
40}
41
42void matrix_scan_user(void) {
43}
44
45bool process_record_user(uint16_t keycode, keyrecord_t *record) {
46 return true;
47}
48
49void led_set_user(uint8_t usb_led) {
50
51 if (usb_led & (1 << USB_LED_NUM_LOCK)) {
52
53 } else {
54
55 }
56
57 if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
58
59 } else {
60
61 }
62
63 if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
64
65 } else {
66
67 }
68
69 if (usb_led & (1 << USB_LED_COMPOSE)) {
70
71 } else {
72
73 }
74
75 if (usb_led & (1 << USB_LED_KANA)) {
76
77 } else {
78
79 }
80
81}
82
83enum function_id { 30enum function_id {
84 SHIFT_ESC, 31 SHIFT_ESC,
85}; 32};