1
0

Add keypad 00 macro for RedScarfIII

This commit is contained in:
Kai Ryu 2015-01-09 14:50:24 +09:00
parent 1f80a674fd
commit ac475cdd87

View File

@ -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;
}