mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-30 12:47:37 +06:00
c1a6ca46a7
* 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
22 lines
503 B
C
22 lines
503 B
C
#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);
|
|
} |