aboutsummaryrefslogtreecommitdiff
path: root/keyboards/redox/rev1/rev1.c
diff options
context:
space:
mode:
authorMattia Dal Ben <mattdibi@users.noreply.github.com>2018-04-29 22:01:33 +0200
committerDrashna Jaelre <drashna@live.com>2018-04-29 13:01:33 -0700
commit3b7b1994cd9e3e61fdee84eff78875135642aa6c (patch)
treebb7be07641b6b4bf5b992a53d80990d92dc62e41 /keyboards/redox/rev1/rev1.c
parent19aa2c34e859946edae24108fe7df69c949b124e (diff)
downloadqmk_firmware-3b7b1994cd9e3e61fdee84eff78875135642aa6c.tar.gz
qmk_firmware-3b7b1994cd9e3e61fdee84eff78875135642aa6c.zip
Redox keyboard code (#2843)
* Added Redox keyboard with default keymap (IT layout) * Updated manufacturer url * Applied requested changes
Diffstat (limited to 'keyboards/redox/rev1/rev1.c')
-rw-r--r--keyboards/redox/rev1/rev1.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/redox/rev1/rev1.c b/keyboards/redox/rev1/rev1.c
new file mode 100644
index 000000000..2eb7c7c0e
--- /dev/null
+++ b/keyboards/redox/rev1/rev1.c
@@ -0,0 +1,22 @@
1#include "redox.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};