aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kudox/rev1/rev1.c
diff options
context:
space:
mode:
authorx1 <viva008@gmail.com>2019-08-07 02:14:40 +0900
committerDrashna Jaelre <drashna@live.com>2019-08-06 10:14:40 -0700
commit9587fac72a749e07bcdede40f8059df77a04a3e4 (patch)
tree1a9c4df581f33464e241366d92b1df897bc5927a /keyboards/kudox/rev1/rev1.c
parente5831d79c044f394243cfdfe604b91837067b7d6 (diff)
downloadqmk_firmware-9587fac72a749e07bcdede40f8059df77a04a3e4.tar.gz
qmk_firmware-9587fac72a749e07bcdede40f8059df77a04a3e4.zip
[Keyboard] Add kudox keyboard (#6459)
* Add Kudox Keyboard profile. * Modified info.json and image link on readme. * Remove unnecessary codes. * Set BootLoader caterina. * Remove duplicated settings on rules.mk. * Clean up config.h. * Modified include header path. * Modified info.json to adjust 4th row keys y position. * Separate default keymap and my keymap. * Modified RGB_LED_* settings on kudox/rev1/config.h.
Diffstat (limited to 'keyboards/kudox/rev1/rev1.c')
-rw-r--r--keyboards/kudox/rev1/rev1.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/kudox/rev1/rev1.c b/keyboards/kudox/rev1/rev1.c
new file mode 100644
index 000000000..3b39ee764
--- /dev/null
+++ b/keyboards/kudox/rev1/rev1.c
@@ -0,0 +1,22 @@
1#include "kudox.h"
2
3
4#ifdef SSD1306OLED
5void led_set_kb(uint8_t usb_led) {
6 // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
7 led_set_user(usb_led);
8}
9#endif
10
11void matrix_init_kb(void) {
12
13 // // green led on
14 // DDRD |= (1<<5);
15 // PORTD &= ~(1<<5);
16
17 // // orange led on
18 // DDRB |= (1<<0);
19 // PORTB &= ~(1<<0);
20
21 matrix_init_user();
22};