summaryrefslogtreecommitdiff
path: root/keyboards/s60-x/s60-x.c
diff options
context:
space:
mode:
authorXyverz <xyverz@gmail.com>2016-08-19 22:50:55 -0700
committerXyverz <xyverz@gmail.com>2016-08-19 22:50:55 -0700
commit70d4ea7904ef6063b83b34985294a9b9e578be62 (patch)
treeb183763c85a581c7213cd2c247a9f30a75ee0576 /keyboards/s60-x/s60-x.c
parente4984f65decbd005d147d29b56d7a0c7d7a8dafd (diff)
parenta3a312f8f4f4d836de494fe3502ea3175ba2a22c (diff)
downloadqmk_firmware-70d4ea7904ef6063b83b34985294a9b9e578be62.tar.gz
qmk_firmware-70d4ea7904ef6063b83b34985294a9b9e578be62.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'keyboards/s60-x/s60-x.c')
-rw-r--r--keyboards/s60-x/s60-x.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/s60-x/s60-x.c b/keyboards/s60-x/s60-x.c
new file mode 100644
index 0000000000..417358140c
--- /dev/null
+++ b/keyboards/s60-x/s60-x.c
@@ -0,0 +1,28 @@
+#include "s60-x.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);
+}