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
This commit is contained in:
parent
7c5428b56d
commit
c1a6ca46a7
9 changed files with 382 additions and 0 deletions
22
keyboards/the_ruler/the_ruler.c
Normal file
22
keyboards/the_ruler/the_ruler.c
Normal file
|
@ -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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue