summaryrefslogtreecommitdiff
path: root/keyboards/the_ruler/the_ruler.c
diff options
context:
space:
mode:
authorThat-Canadian2017-12-11 17:57:40 -0800
committerJack Humbert2017-12-11 20:57:40 -0500
commitc1a6ca46a77d88da40647a54bf1e712da69bc143 (patch)
tree71305bb9aab8b9dcdee5bed6e720217bc2e50039 /keyboards/the_ruler/the_ruler.c
parent7c5428b56dbaa97993bef80605d00fff31bf0b77 (diff)
The ruler (#2138)
* Line ending stuff again * Added initital files and layout for the PCB Ruler keyboard/macro pad thing * Updated Readme * Changed make command to new format
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