Add keypad 00 macro for RedScarfIII
This commit is contained in:
parent
1f80a674fd
commit
ac475cdd87
@ -156,3 +156,18 @@ void action_function(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
enum macro_id {
|
||||
KEYPAD_00 = 0,
|
||||
};
|
||||
|
||||
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
||||
{
|
||||
switch (id) {
|
||||
case KEYPAD_00:
|
||||
return (record->event.pressed ?
|
||||
MACRO( T(P0), T(P0), END ) :
|
||||
MACRO_NONE );
|
||||
}
|
||||
return MACRO_NONE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user