summaryrefslogtreecommitdiff
path: root/keyboards/katana60/katana60.c
diff options
context:
space:
mode:
authorBaris Tosun2017-12-05 17:14:10 +0100
committerJack Humbert2017-12-05 11:14:10 -0500
commitdd05bf0d9602820bb9ba3bb1a8586b14c5504312 (patch)
tree74fbed0d52b374c3c7fa7014bb6683f2edda7760 /keyboards/katana60/katana60.c
parent95e68c4ae8d5e1858523e98bb9f90e645608a34e (diff)
Katana60 (#2068)
* Add files via upload * katana60 defaults, initial pull-request * removed icons from google drive * added simple readme files * pull-request updates * readme file updated * readme file formatting * improvements before live * colemak readme * updated readme files * removed makefiles and updated readme
Diffstat (limited to 'keyboards/katana60/katana60.c')
-rw-r--r--keyboards/katana60/katana60.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/keyboards/katana60/katana60.c b/keyboards/katana60/katana60.c
new file mode 100644
index 000000000..e8d4fef19
--- /dev/null
+++ b/keyboards/katana60/katana60.c
@@ -0,0 +1,43 @@
+/* Copyright 2017 Baris Tosun
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include "katana60.h"
+
+void matrix_init_kb(void) {
+ // put your keyboard start-up code here
+ // runs once when the firmware starts up
+
+ matrix_init_user();
+}
+
+void matrix_scan_kb(void) {
+ // put your looping keyboard code here
+ // runs every cycle (a lot)
+
+ matrix_scan_user();
+}
+
+bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
+ // put your per-action keyboard code here
+ // runs for every action, just before processing by the firmware
+
+ return process_record_user(keycode, record);
+}
+
+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);
+}