X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=inline;f=converter%2Fusb_usb%2Fkeymap_editor.c;h=553457c9a76e46dad47a2c75632ece99005a431e;hb=d46651b1a9e9ab8f43b218dadefe7e74cad3b3f3;hp=5e00890176db173680ebda94a4d9c732c7105de4;hpb=47425d910b962d78245cdf5ff9d82ef6958e1dbf;p=max%2Ftmk_keyboard.git diff --git a/converter/usb_usb/keymap_editor.c b/converter/usb_usb/keymap_editor.c index 5e008901..553457c9 100644 --- a/converter/usb_usb/keymap_editor.c +++ b/converter/usb_usb/keymap_editor.c @@ -1,5 +1,5 @@ /* -Copyright 2012 Jun Wako +Copyright 2016 Jun Wako This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -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),