summaryrefslogtreecommitdiff
path: root/keyboards/tokyo60/tokyo60.c
diff options
context:
space:
mode:
authorAlvin C <alvininhk@gmail.com>2018-08-26 04:16:05 +0900
committerDrashna Jaelre <drashna@live.com>2018-08-25 12:16:05 -0700
commitb806cc9eea5d3ac46d071bbb06e055ef8e7c4cfb (patch)
tree963d78538b6ed6690b699338e6d9132034ceb522 /keyboards/tokyo60/tokyo60.c
parent26dacd51fce49d83b2dff0cda45126c327e743fa (diff)
downloadqmk_firmware-b806cc9eea5d3ac46d071bbb06e055ef8e7c4cfb.tar.gz
qmk_firmware-b806cc9eea5d3ac46d071bbb06e055ef8e7c4cfb.zip
Keyboard: add tokyo60 (#2861)
* adding tokyo60 to qmk * updating readme * updating keymap and power consumption for mobile
Diffstat (limited to 'keyboards/tokyo60/tokyo60.c')
-rw-r--r--keyboards/tokyo60/tokyo60.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/keyboards/tokyo60/tokyo60.c b/keyboards/tokyo60/tokyo60.c
new file mode 100644
index 0000000000..d3b6279df4
--- /dev/null
+++ b/keyboards/tokyo60/tokyo60.c
@@ -0,0 +1,19 @@
+#include "tokyo60.h"
+//#include "led.h"
+
+void matrix_init_kb(void) {
+ // Keyboard start-up code goes here
+ // Runs once when the firmware starts up
+ matrix_init_user();
+ led_init_ports();
+};
+
+void matrix_scan_kb(void) {
+ // Looping keyboard code goes here
+ // This runs every cycle (a lot)
+ matrix_scan_user();
+};
+
+void led_init_ports(void) {
+ /* LEDs on */
+}