diff options
author | Ryan <fauxpark@gmail.com> | 2021-09-06 06:36:31 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 21:36:31 +0100 |
commit | fe6d6cf76dc827adb2f46d55217dc189eae21b02 (patch) | |
tree | e97fc05d0efb3064a0c89f719cc5df865959d651 /keyboards/duck | |
parent | 8a8fdd9a728a4cdc0ddce54fab9bf3b4ff8bf942 (diff) | |
download | qmk_firmware-fe6d6cf76dc827adb2f46d55217dc189eae21b02.tar.gz qmk_firmware-fe6d6cf76dc827adb2f46d55217dc189eae21b02.zip |
Remove empty override functions (#14312)
* Remove empty override functions, 0-9
* Remove empty override functions, A-D
* Remove empty override functions, E-H
* Remove empty override functions, handwired
* Remove empty override functions, I-L
* Remove empty override functions, M-P
* Remove empty override functions, Q-T
* Remove empty override functions, U-Z
Diffstat (limited to 'keyboards/duck')
-rw-r--r-- | keyboards/duck/eagle_viper/v2/v2.c | 4 | ||||
-rw-r--r-- | keyboards/duck/jetfire/jetfire.c | 10 | ||||
-rw-r--r-- | keyboards/duck/jetfire/keymaps/default/keymap.c | 16 | ||||
-rw-r--r-- | keyboards/duck/lightsaver/lightsaver.c | 4 | ||||
-rw-r--r-- | keyboards/duck/octagon/v1/v1.c | 4 | ||||
-rw-r--r-- | keyboards/duck/octagon/v2/v2.c | 4 | ||||
-rw-r--r-- | keyboards/duck/orion/v3/v3.c | 4 | ||||
-rw-r--r-- | keyboards/duck/tcv3/tcv3.c | 6 |
8 files changed, 1 insertions, 51 deletions
diff --git a/keyboards/duck/eagle_viper/v2/v2.c b/keyboards/duck/eagle_viper/v2/v2.c index a60acb978..d3e1368de 100644 --- a/keyboards/duck/eagle_viper/v2/v2.c +++ b/keyboards/duck/eagle_viper/v2/v2.c | |||
@@ -59,7 +59,3 @@ void led_set_kb(uint8_t usb_led) { | |||
59 | 59 | ||
60 | indicator_leds_set(status); | 60 | indicator_leds_set(status); |
61 | } | 61 | } |
62 | |||
63 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
64 | return process_record_user(keycode, record); | ||
65 | } | ||
diff --git a/keyboards/duck/jetfire/jetfire.c b/keyboards/duck/jetfire/jetfire.c index 0662489c6..9bb02ca22 100644 --- a/keyboards/duck/jetfire/jetfire.c +++ b/keyboards/duck/jetfire/jetfire.c | |||
@@ -121,16 +121,6 @@ void backlight_set(uint8_t level) | |||
121 | backlight_toggle_rgb(level & BACKLIGHT_RGB); | 121 | backlight_toggle_rgb(level & BACKLIGHT_RGB); |
122 | } | 122 | } |
123 | 123 | ||
124 | |||
125 | |||
126 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
127 | // put your per-action keyboard code here | ||
128 | // runs for every action, just before processing by the firmware | ||
129 | |||
130 | return process_record_user(keycode, record); | ||
131 | } | ||
132 | |||
133 | |||
134 | void backlight_update_state() | 124 | void backlight_update_state() |
135 | { | 125 | { |
136 | cli(); | 126 | cli(); |
diff --git a/keyboards/duck/jetfire/keymaps/default/keymap.c b/keyboards/duck/jetfire/keymaps/default/keymap.c index 9377ef002..fc5fd39ea 100644 --- a/keyboards/duck/jetfire/keymaps/default/keymap.c +++ b/keyboards/duck/jetfire/keymaps/default/keymap.c | |||
@@ -25,19 +25,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
25 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, | 25 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, |
26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_COMM), | 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_COMM), |
27 | }; | 27 | }; |
28 | |||
29 | void matrix_init_user(void) { | ||
30 | |||
31 | } | ||
32 | |||
33 | void matrix_scan_user(void) { | ||
34 | |||
35 | } | ||
36 | |||
37 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
38 | return true; | ||
39 | } | ||
40 | |||
41 | void led_set_user(uint8_t usb_led) { | ||
42 | |||
43 | } | ||
diff --git a/keyboards/duck/lightsaver/lightsaver.c b/keyboards/duck/lightsaver/lightsaver.c index 75e35b28b..e0fe918e7 100644 --- a/keyboards/duck/lightsaver/lightsaver.c +++ b/keyboards/duck/lightsaver/lightsaver.c | |||
@@ -54,7 +54,3 @@ void led_set_kb(uint8_t usb_led) { | |||
54 | 54 | ||
55 | led_set_user(usb_led); | 55 | led_set_user(usb_led); |
56 | } | 56 | } |
57 | |||
58 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
59 | return process_record_user(keycode, record); | ||
60 | } | ||
diff --git a/keyboards/duck/octagon/v1/v1.c b/keyboards/duck/octagon/v1/v1.c index 258688229..e9e88c70d 100644 --- a/keyboards/duck/octagon/v1/v1.c +++ b/keyboards/duck/octagon/v1/v1.c | |||
@@ -44,7 +44,3 @@ void led_set_kb(uint8_t usb_led) { | |||
44 | backlight_os_state & (1<<USB_LED_CAPS_LOCK) ? (PORTB &= ~0b00000001) : (PORTB |= 0b00000001); | 44 | backlight_os_state & (1<<USB_LED_CAPS_LOCK) ? (PORTB &= ~0b00000001) : (PORTB |= 0b00000001); |
45 | backlight_os_state & (1<<USB_LED_SCROLL_LOCK) ? (PORTB &= ~0b00010000) : (PORTB |= 0b00010000); | 45 | backlight_os_state & (1<<USB_LED_SCROLL_LOCK) ? (PORTB &= ~0b00010000) : (PORTB |= 0b00010000); |
46 | } | 46 | } |
47 | |||
48 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
49 | return process_record_user(keycode, record); | ||
50 | } | ||
diff --git a/keyboards/duck/octagon/v2/v2.c b/keyboards/duck/octagon/v2/v2.c index 52653b37e..23e92b276 100644 --- a/keyboards/duck/octagon/v2/v2.c +++ b/keyboards/duck/octagon/v2/v2.c | |||
@@ -111,7 +111,3 @@ void led_set_kb(uint8_t usb_led) { | |||
111 | backlight_os_state & (1<<USB_LED_CAPS_LOCK) ? (PORTB &= ~0b00000001) : (PORTB |= 0b00000001); | 111 | backlight_os_state & (1<<USB_LED_CAPS_LOCK) ? (PORTB &= ~0b00000001) : (PORTB |= 0b00000001); |
112 | backlight_os_state & (1<<USB_LED_SCROLL_LOCK) ? (PORTB &= ~0b00010000) : (PORTB |= 0b00010000); | 112 | backlight_os_state & (1<<USB_LED_SCROLL_LOCK) ? (PORTB &= ~0b00010000) : (PORTB |= 0b00010000); |
113 | } | 113 | } |
114 | |||
115 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
116 | return process_record_user(keycode, record); | ||
117 | } | ||
diff --git a/keyboards/duck/orion/v3/v3.c b/keyboards/duck/orion/v3/v3.c index ca5c512ce..2e8f85a11 100644 --- a/keyboards/duck/orion/v3/v3.c +++ b/keyboards/duck/orion/v3/v3.c | |||
@@ -37,7 +37,3 @@ bool led_update_kb(led_t led_state) { | |||
37 | } | 37 | } |
38 | return true; | 38 | return true; |
39 | } | 39 | } |
40 | |||
41 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
42 | return process_record_user(keycode, record); | ||
43 | } | ||
diff --git a/keyboards/duck/tcv3/tcv3.c b/keyboards/duck/tcv3/tcv3.c index 063f55ad3..4d52d22c1 100644 --- a/keyboards/duck/tcv3/tcv3.c +++ b/keyboards/duck/tcv3/tcv3.c | |||
@@ -115,10 +115,6 @@ void backlight_set(uint8_t level) { | |||
115 | // backlight_os_state & (1<<USB_LED_SCROLL_LOCK) ? (PORTB &= ~0b00010000) : (PORTB |= 0b00010000); | 115 | // backlight_os_state & (1<<USB_LED_SCROLL_LOCK) ? (PORTB &= ~0b00010000) : (PORTB |= 0b00010000); |
116 | // } | 116 | // } |
117 | 117 | ||
118 | // bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
119 | // return process_record_user(keycode, record); | ||
120 | // } | ||
121 | |||
122 | // U5 Pin 1, 2, 3 connected to top left LEDs | 118 | // U5 Pin 1, 2, 3 connected to top left LEDs |
123 | 119 | ||
124 | // U6 Pin 1, 2, 3 connected to bottom right leds col of 3 | 120 | // U6 Pin 1, 2, 3 connected to bottom right leds col of 3 |
@@ -131,4 +127,4 @@ void backlight_set(uint8_t level) { | |||
131 | // U5, U6, U7 Pin 8 VCC | 127 | // U5, U6, U7 Pin 8 VCC |
132 | // U5, U6, U7 Pin 4 GRND | 128 | // U5, U6, U7 Pin 4 GRND |
133 | 129 | ||
134 | // U5 Pin 6 connected to atmega32u4 D4 \ No newline at end of file | 130 | // U5 Pin 6 connected to atmega32u4 D4 |