summaryrefslogtreecommitdiff
path: root/keyboards/1upkeyboards/1up60rgb/keymaps/default/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/1upkeyboards/1up60rgb/keymaps/default/keymap.c')
-rw-r--r--keyboards/1upkeyboards/1up60rgb/keymaps/default/keymap.c42
1 files changed, 4 insertions, 38 deletions
diff --git a/keyboards/1upkeyboards/1up60rgb/keymaps/default/keymap.c b/keyboards/1upkeyboards/1up60rgb/keymaps/default/keymap.c
index 435a631815..15b7c9faa7 100644
--- a/keyboards/1upkeyboards/1up60rgb/keymaps/default/keymap.c
+++ b/keyboards/1upkeyboards/1up60rgb/keymaps/default/keymap.c
@@ -18,46 +18,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)) {
- DDRB |= (1 << 2); PORTB &= ~(1 << 2);
- } else {
- DDRB &= ~(1 << 2); PORTB &= ~(1 << 2);
- }
-
- if (usb_led & (1 << USB_LED_SCROLL_LOCK)) {
-
- } else {
-
- }
-
- if (usb_led & (1 << USB_LED_COMPOSE)) {
-
+ setPinOutput(B2);
+ writePinLow(B2);
} else {
-
+ setPinInput(B2);
+ writePinLow(B2);
}
-
- if (usb_led & (1 << USB_LED_KANA)) {
-
- } else {
-
- }
-
}