1
0
Fork 0

Remove unused action_get_macro() usages in user files (#11165)

This commit is contained in:
Ryan 2021-01-11 20:25:45 +11:00 committed by GitHub
parent 5ee3cb385f
commit 415d683ea7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
159 changed files with 12 additions and 2943 deletions

View file

@ -95,26 +95,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
),
};
const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
{
// MACRODOWN only works in this function
switch(id) {
case 0:
if (record->event.pressed) {
register_code(KC_RSFT);
} else {
unregister_code(KC_RSFT);
}
break;
}
return MACRO_NONE;
};
// Runs just one time when the keyboard initializes.
void matrix_init_user(void) {
};
// Runs constantly in the background, in a loop.
void matrix_scan_user(void) {