summaryrefslogtreecommitdiff
path: root/keyboards/tokyokeyboard/tokyo60/tokyo60.c
diff options
context:
space:
mode:
authorJames <13719009+quadcube@users.noreply.github.com>2021-06-16 12:21:13 +0900
committerGitHub <noreply@github.com>2021-06-15 20:21:13 -0700
commitf5c2f7153d7e8c5d4356551bbf8b374da545b8fc (patch)
treefcdf3d1b35a97bb85274af2bd1194dd31a510926 /keyboards/tokyokeyboard/tokyo60/tokyo60.c
parent640f0fc7c6e69b5950a09f0e114914b71196752d (diff)
[Keyboard] Moved tokyo60/ into tokyokeyboard/tokyo60/. (#12023)
* Moved tokyo60/ into tokyokeyboard/tokyo60/. * Updated make instruction, fixed broken image link * Fixed still broken image link.
Diffstat (limited to 'keyboards/tokyokeyboard/tokyo60/tokyo60.c')
-rw-r--r--keyboards/tokyokeyboard/tokyo60/tokyo60.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/tokyokeyboard/tokyo60/tokyo60.c b/keyboards/tokyokeyboard/tokyo60/tokyo60.c
new file mode 100644
index 0000000000..2126bb612d
--- /dev/null
+++ b/keyboards/tokyokeyboard/tokyo60/tokyo60.c
@@ -0,0 +1,18 @@
+#include "tokyo60.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 */
+}