summaryrefslogtreecommitdiff
path: root/keyboards/fortitude60/rev1/rev1.c
diff options
context:
space:
mode:
authorPekaso <pekaso34@gmail.com>2018-06-03 00:48:34 +0900
committerDrashna Jaelre <drashna@live.com>2018-06-02 08:48:34 -0700
commit2196dc9f868334beabd8c3585127a74bf42ce6b7 (patch)
treeed3f7f2edbfd1b36c7082282e5cc89fb2a3892e2 /keyboards/fortitude60/rev1/rev1.c
parent9fb1e5d171906e9f10f4489f61d456a9f29499e8 (diff)
Add support for staggerd column layout KB "Fortitude60" (#3090)
* modifying fortitude for working * add accurate keymap * backlight fix * Fix slave LED Backlight * Add readme.md * modified readme.md * Fixed make error * Commit including suggestions * Add dvorak and colemak layout and some fix
Diffstat (limited to 'keyboards/fortitude60/rev1/rev1.c')
-rw-r--r--keyboards/fortitude60/rev1/rev1.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/fortitude60/rev1/rev1.c b/keyboards/fortitude60/rev1/rev1.c
new file mode 100644
index 0000000000..5f4cd32f69
--- /dev/null
+++ b/keyboards/fortitude60/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();
+};
+