summaryrefslogtreecommitdiff
path: root/keyboards/playkbtw
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-09-05 20:37:03 +0000
committerQMK Bot <hello@qmk.fm>2021-09-05 20:37:03 +0000
commit147289e173999b132f1b97835f8d57716a2bd376 (patch)
tree8aff70bcbc2bd3bec97a8f46006dab808e9997ca /keyboards/playkbtw
parent673f82ebd9fb48371d815a1c4f8a5bb3d5d0bfe3 (diff)
parent8d6d8cfadfd1522b3dd2cc8ac1ce7393b45bbe64 (diff)
Merge remote-tracking branch 'origin/master' into develop
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 {
-
- }
-
}