aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/qwertyydox/rev1/rev1.c
diff options
context:
space:
mode:
authorGravatar aydenvis <38897937+aydenvis@users.noreply.github.com>2018-08-19 15:23:13 -0500
committerGravatar Drashna Jaelre <drashna@live.com>2018-08-19 13:23:13 -0700
commit4cc1edbb67beecd0081fb84d3b5365e55d1a41e1 (patch)
tree91489e9826e203d428379f5e34431ff8576e199a /keyboards/qwertyydox/rev1/rev1.c
parentd87ef88de0303309a317283a292c52e7e89d6449 (diff)
downloadqmk_firmware-4cc1edbb67beecd0081fb84d3b5365e55d1a41e1.tar.gz
Keyboard: Add QWERTYYdox keyboard (#3636)
* Add files via upload * Update readme.md * Update readme.md * Update readme.md * Add files via upload * Delete split_util.h * Delete split_util.c * Delete serial.h * Delete serial.c * Delete matrix.c * Delete i2c.h * Delete i2c.c * Update rules.mk * Update config.h * Update readme.md * Update readme.md
Diffstat (limited to 'keyboards/qwertyydox/rev1/rev1.c')
-rw-r--r--keyboards/qwertyydox/rev1/rev1.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/qwertyydox/rev1/rev1.c b/keyboards/qwertyydox/rev1/rev1.c
new file mode 100644
index 000000000..609c479eb
--- /dev/null
+++ b/keyboards/qwertyydox/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();
+};