summaryrefslogtreecommitdiff
path: root/keyboards/playkbtw/pk60/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/playkbtw/pk60/keymaps/default/keymap.c')
-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 {
-
- }
-
}