summaryrefslogtreecommitdiffstats
path: root/keyboards/sentraq/s60_x/default/default.c
diff options
context:
space:
mode:
authorNicholas Shaff <nick@shadedream.com>2019-02-05 15:36:49 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-05 15:36:49 +0100
commit9b232a7f885e320061aae994713acd31297eac5c (patch)
treea0649ecd2fd490bf908c4fe6c4ab5a89e436c912 /keyboards/sentraq/s60_x/default/default.c
parent33526778209f9de570edd0b7af1a42eed8fffdc2 (diff)
downloadqmk_firmware-9b232a7f885e320061aae994713acd31297eac5c.tar.gz
qmk_firmware-9b232a7f885e320061aae994713acd31297eac5c.tar.xz
Keyboards: Move the other Sentraq keyboards into the sentraq vendor directory (#5052)
* Moving sentraq keyboards to sentraq subdirectory. * Updating readme markdown to correct make commands. * Updating s60_x references to point to the new vendor subdirectory. * Fixed stripped spaces in markdown. * Updated help information in s60_x readme and linked to additional documentation.
Diffstat (limited to 'keyboards/sentraq/s60_x/default/default.c')
-rw-r--r--keyboards/sentraq/s60_x/default/default.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/sentraq/s60_x/default/default.c b/keyboards/sentraq/s60_x/default/default.c
new file mode 100644
index 000000000..253f5495c
--- /dev/null
+++ b/keyboards/sentraq/s60_x/default/default.c
@@ -0,0 +1,28 @@
+#include "default.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);
+}