summaryrefslogtreecommitdiffstats
path: root/keyboards/the_ruler/the_ruler.c
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/the_ruler/the_ruler.c')
-rw-r--r--keyboards/the_ruler/the_ruler.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/keyboards/the_ruler/the_ruler.c b/keyboards/the_ruler/the_ruler.c
new file mode 100644
index 000000000..9686379eb
--- /dev/null
+++ b/keyboards/the_ruler/the_ruler.c
@@ -0,0 +1,22 @@
+#include "the_ruler.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);
+} \ No newline at end of file