reenable build with arduino ui

pull/18/head
Jesse Vincent 11 years ago
parent adedb963b3
commit 7430281ea1

@ -57,7 +57,7 @@ float carriedOverX =0;
float carriedOverY =0;
#include "keymaps.h"
#include "keymaps_generated.h"
#define EEPROM_LAYER_LOCATION 0

@ -12,5 +12,6 @@ astyle:
astyle --style=linux ArduinoKeyboard.ino *.h
generate-keymaps:
-rm layouts-generated.h
cd layouts && ( find . -type f |xargs -n 1 -I % sh -c 'perl ../tools/generate_keymaps.pl < % >> ../layouts-generated.h' )
-rm keymaps_generated.h
cd layouts && ( find . -type f |xargs -n 1 -I % sh -c 'perl ../tools/generate_keymaps.pl < % >> ../keymaps_generated.h' )
cat keymaps_h-template >> keymaps_generated.h

@ -58,3 +58,19 @@
{Key_PageDn, Key_Keymap0, Key_mouseBtnL, Key_mouseBtnM, Key_mouseBtnR, Key_NoKey, Key_Esc, Key_Enter, Key_Pipe, Key_NoKey, Key_Comma, Key_Period, Key_Backslash, Key_Minus},\
{Key_LGUI, Key_Backspace, Key_LShift, Key_LCtrl, Key_NoKey, Key_skip, Key_skip, Key_skip, Key_skip, Key_NoKey, Key_RCtrl, Key_RShift, Key_Space, Key_RAlt},\
},
#define LAYERS 8
static const Key keymaps[LAYERS][ROWS][COLS] = {
KEYMAP_QWERTY
KEYMAP_QWERTY_FN2
KEYMAP_COLEMAK
KEYMAP_COLEMAK_FN2
KEYMAP_DVORAK
KEYMAP_DVORAK_FN2
KEYMAP_WORKMAN
KEYMAP_WORKMAN_FN2
};

@ -1,4 +1,3 @@
#include "layouts-generated.h"
#define LAYERS 8
static const Key keymaps[LAYERS][ROWS][COLS] = {
KEYMAP_QWERTY
Loading…
Cancel
Save