aboutsummaryrefslogtreecommitdiff
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 d0fbc619f..8c5c25e6b 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] = {
20 20
21}; 21};
22 22
23void matrix_init_user(void) {
24}
25
26void matrix_scan_user(void) {
27}
28
29void led_set_user(uint8_t usb_led) { 23void led_set_user(uint8_t usb_led) {
30
31 if (usb_led & (1 << USB_LED_NUM_LOCK)) {
32
33 } else {
34
35 }
36
37 if (usb_led & (1 << USB_LED_CAPS_LOCK)) { 24 if (usb_led & (1 << USB_LED_CAPS_LOCK)) {
38 DDRF |= (1 << 4); PORTF &= ~(1 << 4); 25 setPinOutput(F4);
39 } else { 26 writePinLow(F4);
40 DDRF &= ~(1 << 4); PORTF &= ~(1 << 4);
41 }
42
43 if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
44
45 } else { 27 } else {
46 28 setPinInput(F4);
47 } 29 writePinLow(F4);
48
49 if (usb_led & (1 << USB_LED_COMPOSE)) {
50
51 } else {
52
53 } 30 }
54
55 if (usb_led & (1 << USB_LED_KANA)) {
56
57 } else {
58
59 }
60
61} 31}