X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;f=converter%2Fusb_usb%2Fkeymap_editor.c;h=553457c9a76e46dad47a2c75632ece99005a431e;hb=39d4f923cded1dd8f46a03ed757390a77f45e2c4;hp=bd63ea2310bd051907e355ca7c81f5939c4bccb6;hpb=5611f94fb11096ecf13c463642d1e8c480d7fc2e;p=max%2Ftmk_keyboard.git diff --git a/converter/usb_usb/keymap_editor.c b/converter/usb_usb/keymap_editor.c index bd63ea23..553457c9 100644 --- a/converter/usb_usb/keymap_editor.c +++ b/converter/usb_usb/keymap_editor.c @@ -52,7 +52,7 @@ const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] __attribute__ ((section (".key ), }; -const uint16_t fn_actions[] __attribute__ ((section (".keymap.fn_actions"))) = { +const action_t fn_actions[] __attribute__ ((section (".keymap.fn_actions"))) = { [0] = ACTION_LAYER_MOMENTARY(1), [1] = ACTION_LAYER_MOMENTARY(2), [2] = ACTION_LAYER_MOMENTARY(3),