summaryrefslogtreecommitdiff
path: root/keyboards/uk78
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/uk78
parent673f82ebd9fb48371d815a1c4f8a5bb3d5d0bfe3 (diff)
parent8d6d8cfadfd1522b3dd2cc8ac1ce7393b45bbe64 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/uk78')
-rw-r--r--keyboards/uk78/keymaps/default/keymap.c46
1 files changed, 5 insertions, 41 deletions
diff --git a/keyboards/uk78/keymaps/default/keymap.c b/keyboards/uk78/keymaps/default/keymap.c
index 18791f9573..c23cca1b84 100644
--- a/keyboards/uk78/keymaps/default/keymap.c
+++ b/keyboards/uk78/keymaps/default/keymap.c
@@ -75,48 +75,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
-
-void matrix_init_user(void) {
-}
-
-void matrix_scan_user(void) {
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-
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)) {
- DDRA |= (1 << 3);
- PORTA |= (1 << 3);
+ setPinOutput(A3);
+ writePinHigh(A3);
} else {
- DDRA &= ~(1 << 3);
- PORTA &= ~(1 << 3);
+ setPinInput(A3);
+ writePinLow(A3);
}
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-} \ No newline at end of file
+}