From c1a6ca46a77d88da40647a54bf1e712da69bc143 Mon Sep 17 00:00:00 2001 From: That-Canadian Date: Mon, 11 Dec 2017 17:57:40 -0800 Subject: 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 --- keyboards/the_ruler/the_ruler.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 keyboards/the_ruler/the_ruler.c (limited to 'keyboards/the_ruler/the_ruler.c') diff --git a/keyboards/the_ruler/the_ruler.c b/keyboards/the_ruler/the_ruler.c new file mode 100644 index 0000000000..9686379eb8 --- /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 -- cgit v1.2.1