diff options
Diffstat (limited to 'keyboards/miuni32')
| -rw-r--r-- | keyboards/miuni32/keymaps/default/keymap.c | 44 | ||||
| -rw-r--r-- | keyboards/miuni32/miuni32.c | 27 |
2 files changed, 0 insertions, 71 deletions
diff --git a/keyboards/miuni32/keymaps/default/keymap.c b/keyboards/miuni32/keymaps/default/keymap.c index ae58f80a2..87519de54 100644 --- a/keyboards/miuni32/keymaps/default/keymap.c +++ b/keyboards/miuni32/keymaps/default/keymap.c | |||
| @@ -58,47 +58,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 58 | _______, _______, _______, _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12 | 58 | _______, _______, _______, _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12 |
| 59 | ) | 59 | ) |
| 60 | }; | 60 | }; |
| 61 | |||
| 62 | void matrix_init_user(void) { | ||
| 63 | } | ||
| 64 | |||
| 65 | void matrix_scan_user(void) { | ||
| 66 | } | ||
| 67 | |||
| 68 | bool process_record_user(uint16_t keycode, keyrecord_t *record) { | ||
| 69 | return true; | ||
| 70 | } | ||
| 71 | |||
| 72 | void led_set_user(uint8_t usb_led) { | ||
| 73 | |||
| 74 | if (usb_led & (1 << USB_LED_NUM_LOCK)) { | ||
| 75 | |||
| 76 | } else { | ||
| 77 | |||
| 78 | } | ||
| 79 | |||
| 80 | if (usb_led & (1 << USB_LED_CAPS_LOCK)) { | ||
| 81 | |||
| 82 | } else { | ||
| 83 | |||
| 84 | } | ||
| 85 | |||
| 86 | if (usb_led & (1 << USB_LED_SCROLL_LOCK)) { | ||
| 87 | |||
| 88 | } else { | ||
| 89 | |||
| 90 | } | ||
| 91 | |||
| 92 | if (usb_led & (1 << USB_LED_COMPOSE)) { | ||
| 93 | |||
| 94 | } else { | ||
| 95 | |||
| 96 | } | ||
| 97 | |||
| 98 | if (usb_led & (1 << USB_LED_KANA)) { | ||
| 99 | |||
| 100 | } else { | ||
| 101 | |||
| 102 | } | ||
| 103 | |||
| 104 | } | ||
diff --git a/keyboards/miuni32/miuni32.c b/keyboards/miuni32/miuni32.c index 1c1983a56..7defbe891 100644 --- a/keyboards/miuni32/miuni32.c +++ b/keyboards/miuni32/miuni32.c | |||
| @@ -1,28 +1 @@ | |||
| 1 | #include "miuni32.h" | #include "miuni32.h" | |
| 2 | |||
| 3 | void matrix_init_kb(void) { | ||
| 4 | // put your keyboard start-up code here | ||
| 5 | // runs once when the firmware starts up | ||
| 6 | |||
| 7 | matrix_init_user(); | ||
| 8 | } | ||
| 9 | |||
| 10 | void matrix_scan_kb(void) { | ||
| 11 | // put your looping keyboard code here | ||
| 12 | // runs every cycle (a lot) | ||
| 13 | |||
| 14 | matrix_scan_user(); | ||
| 15 | } | ||
| 16 | |||
| 17 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
| 18 | // put your per-action keyboard code here | ||
| 19 | // runs for every action, just before processing by the firmware | ||
| 20 | |||
| 21 | return process_record_user(keycode, record); | ||
| 22 | } | ||
| 23 | |||
| 24 | void led_set_kb(uint8_t usb_led) { | ||
| 25 | // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here | ||
| 26 | |||
| 27 | led_set_user(usb_led); | ||
| 28 | } | ||
