Merge pull request #410 from erikpe/master
phantom: Fix compile error and incorrectly aligned ISO layout
This commit is contained in:
commit
611a9388f9
@ -145,7 +145,7 @@ action_t keymap_fn_to_action(uint8_t keycode)
|
|||||||
if (FN_INDEX(keycode) < FN_ACTIONS_SIZE) {
|
if (FN_INDEX(keycode) < FN_ACTIONS_SIZE) {
|
||||||
action.code = pgm_read_word(&fn_actions[FN_INDEX(keycode)]);
|
action.code = pgm_read_word(&fn_actions[FN_INDEX(keycode)]);
|
||||||
} else {
|
} else {
|
||||||
action.code = ACTION_NO;
|
return (action_t)ACTION_NO;
|
||||||
}
|
}
|
||||||
return action;
|
return action;
|
||||||
}
|
}
|
||||||
|
@ -11,9 +11,9 @@ static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||||||
/* 1: media keys */
|
/* 1: media keys */
|
||||||
KEYMAP_ISO(\
|
KEYMAP_ISO(\
|
||||||
TRNS, TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS,TRNS,SLEP, \
|
TRNS, TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS,TRNS,SLEP, \
|
||||||
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,MUTE,VOLD,VOLU, TRNS,TRNS,TRNS, \
|
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,MUTE,VOLD,VOLU,TRNS, TRNS,TRNS,TRNS, \
|
||||||
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,MSTP,MPLY,MPRV,MNXT,MSEL, TRNS,TRNS,TRNS, \
|
TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,MSTP,MPLY,MPRV,MNXT, TRNS,TRNS,TRNS, \
|
||||||
TRNS,TRNS,TRNS,TRNS,TR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