aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/rgbkb/zen/rev1/rev1.c
diff options
context:
space:
mode:
authorXScorpion2 <rcalt2vt@gmail.com>2019-05-14 13:58:56 -0500
committerDrashna Jaelre <drashna@live.com>2019-05-14 11:58:56 -0700
commit4cdb86c730528c8ca5ff90f5b9b01c395d31fc0e (patch)
treee7d20a62af90342ba4dc59d769b46aec01b5c31a /keyboards/rgbkb/zen/rev1/rev1.c
parente8b27a965d4f6abcc2773022f451bdc7eabebf69 (diff)
downloadfirmware-4cdb86c730528c8ca5ff90f5b9b01c395d31fc0e.tar.gz
firmware-4cdb86c730528c8ca5ff90f5b9b01c395d31fc0e.tar.bz2
firmware-4cdb86c730528c8ca5ff90f5b9b01c395d31fc0e.zip
[Keyboard] Create RGBKB Folder (#5858)
* Move Sol, Zen, & Zygomorph keyboards to RGBKB folder * Updated default keymaps * Fixing more areas due too folder moves * Fixing Zen layer numbers * Fixing zygomorph layer comments * Fixing Colmak comments * Fixing Sol Colmak readme * Macro alignment * Zen rev2 configuration json * Fixing sol ifdef * Fixing Sol info.json
Diffstat (limited to 'keyboards/rgbkb/zen/rev1/rev1.c')
-rw-r--r--keyboards/rgbkb/zen/rev1/rev1.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/rgbkb/zen/rev1/rev1.c b/keyboards/rgbkb/zen/rev1/rev1.c
new file mode 100644
index 000000000..5f4cd32f6
--- /dev/null
+++ b/keyboards/rgbkb/zen/rev1/rev1.c
@@ -0,0 +1,22 @@
+#include "rev1.h"
+
+#ifdef SSD1306OLED
+void led_set_kb(uint8_t usb_led) {
+ // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
+ led_set_user(usb_led);
+}
+#endif
+
+void matrix_init_kb(void) {
+
+ // // green led on
+ // DDRD |= (1<<5);
+ // PORTD &= ~(1<<5);
+
+ // // orange led on
+ // DDRB |= (1<<0);
+ // PORTB &= ~(1<<0);
+
+ matrix_init_user();
+};
+