diff options
| author | That-Canadian <Poole.Chris.11@gmail.com> | 2017-12-11 17:57:40 -0800 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-12-11 20:57:40 -0500 |
| commit | c1a6ca46a77d88da40647a54bf1e712da69bc143 (patch) | |
| tree | 71305bb9aab8b9dcdee5bed6e720217bc2e50039 /keyboards/the_ruler/the_ruler.c | |
| parent | 7c5428b56dbaa97993bef80605d00fff31bf0b77 (diff) | |
| download | qmk_firmware-c1a6ca46a77d88da40647a54bf1e712da69bc143.tar.gz qmk_firmware-c1a6ca46a77d88da40647a54bf1e712da69bc143.zip | |
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.c | 22 |
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 @@ | |||
| 1 | #include "the_ruler.h" | ||
| 2 | |||
| 3 | void 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 | |||
| 10 | void matrix_scan_kb(void) { | ||
| 11 | // put your looping keyboard code here | ||
| 12 | // runs every cycle (a lot) | ||
| 13 | |||
| 14 | matrix_scan_user(); | ||
| 15 | } | ||
| 16 | |||
| 17 | bool 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 | } \ No newline at end of file | ||
