aboutsummaryrefslogtreecommitdiff
path: root/keyboards/sentraq/s60_x/default/default.c
diff options
context:
space:
mode:
authorNicholas Shaff <nick@shadedream.com>2019-02-05 08:36:49 -0600
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-05 06:36:49 -0800
commit9b232a7f885e320061aae994713acd31297eac5c (patch)
treea0649ecd2fd490bf908c4fe6c4ab5a89e436c912 /keyboards/sentraq/s60_x/default/default.c
parent33526778209f9de570edd0b7af1a42eed8fffdc2 (diff)
downloadqmk_firmware-9b232a7f885e320061aae994713acd31297eac5c.tar.gz
qmk_firmware-9b232a7f885e320061aae994713acd31297eac5c.zip
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 @@
1#include "default.h"
2
3void matrix_init_kb(void) {
4 // put your keyboard start-up code here
5 // runs once when the firmware starts up
6
7 matrix_init_user();
8}
9
10void matrix_scan_kb(void) {
11 // put your looping keyboard code here
12 // runs every cycle (a lot)
13
14 matrix_scan_user();
15}
16
17bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
18 // put your per-action keyboard code here
19 // runs for every action, just before processing by the firmware
20
21 return process_record_user(keycode, record);
22}
23
24void led_set_kb(uint8_t usb_led) {
25 // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
26
27 led_set_user(usb_led);
28}