summaryrefslogtreecommitdiff
path: root/keyboards/playkbtw
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-09-06 06:36:31 +1000
committerGitHub <noreply@github.com>2021-09-05 21:36:31 +0100
commitfe6d6cf76dc827adb2f46d55217dc189eae21b02 (patch)
treee97fc05d0efb3064a0c89f719cc5df865959d651 /keyboards/playkbtw
parent8a8fdd9a728a4cdc0ddce54fab9bf3b4ff8bf942 (diff)
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/playkbtw')
-rw-r--r--keyboards/playkbtw/pk60/keymaps/default/keymap.c38
1 files changed, 4 insertions, 34 deletions
diff --git a/keyboards/playkbtw/pk60/keymaps/default/keymap.c b/keyboards/playkbtw/pk60/keymaps/default/keymap.c
index d0fbc619f5..8c5c25e6be 100644
--- a/keyboards/playkbtw/pk60/keymaps/default/keymap.c
+++ b/keyboards/playkbtw/pk60/keymaps/default/keymap.c
@@ -20,42 +20,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
-void matrix_init_user(void) {
-}
-
-void matrix_scan_user(void) {
-}
-
void led_set_user(uint8_t usb_led) {
-
- if (usb_led & (1 << USB_LED_NUM_LOCK)) {
-
- } else {
-
- }
-
if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
- DDRF |= (1 << 4); PORTF &= ~(1 << 4);
- } else {
- DDRF &= ~(1 << 4); PORTF &= ~(1 << 4);
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
+ setPinOutput(F4);
+ writePinLow(F4);
} else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
+ setPinInput(F4);
+ writePinLow(F4);
}
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
}