Updating everything to use the new userspace format
This commit is contained in:
20
dgvigil/features/macros.c
Normal file
20
dgvigil/features/macros.c
Normal file
@@ -0,0 +1,20 @@
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
#include "macros.h"
|
||||
|
||||
|
||||
process_record_result_t process_macro_keycode(uint16_t keycode, keyrecord_t *record) {
|
||||
switch (keycode) {
|
||||
case M_PASS1:
|
||||
if (record->event.pressed) {
|
||||
SEND_STRING("T3lg3Ranch!2023");
|
||||
}
|
||||
return false;
|
||||
case M_PASS2:
|
||||
if (record->event.pressed) {
|
||||
SEND_STRING("P0plarLake!2023");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user