aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2019-02-08 12:27:26 +0000
committerdakkar <dakkar@thenautilus.net>2019-02-08 12:27:26 +0000
commita8cc35cd8af19c0da5cec68ff8621e7cf9d21008 (patch)
tree468a482da92b8acf930e5e25de8882f016992839
parentprovide version info inside firmware (diff)
downloadkeyboardio-model01-a8cc35cd8af19c0da5cec68ff8621e7cf9d21008.tar.gz
keyboardio-model01-a8cc35cd8af19c0da5cec68ff8621e7cf9d21008.tar.bz2
keyboardio-model01-a8cc35cd8af19c0da5cec68ff8621e7cf9d21008.zip
my layout, doesn't work
-rw-r--r--Model01-Firmware.ino35
1 files changed, 25 insertions, 10 deletions
diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino
index 88cd01e..75e3e81 100644
--- a/Model01-Firmware.ino
+++ b/Model01-Firmware.ino
@@ -121,7 +121,7 @@ enum { MACRO_VERSION_INFO,
*
*/
-enum { PRIMARY, NUMPAD, FUNCTION }; // layers
+enum { PRIMARY, NUMPAD, FUNCTION, FVWM }; // layers
/**
@@ -156,7 +156,7 @@ KEYMAPS(
Key_PageUp, Key_A, Key_S, Key_D, Key_F, Key_G,
Key_PageDown, Key_Z, Key_X, Key_C, Key_V, Key_B, Key_Escape,
Key_LeftControl, Key_Backspace, Key_LeftGui, Key_LeftShift,
- ShiftToLayer(FUNCTION),
+ ShiftToLayer(FVWM),
M(MACRO_ANY), Key_6, Key_7, Key_8, Key_9, Key_0, LockLayer(NUMPAD),
Key_Enter, Key_Y, Key_U, Key_I, Key_O, Key_P, Key_Equals,
@@ -173,7 +173,7 @@ KEYMAPS(
Key_PageUp, Key_A, Key_O, Key_E, Key_U, Key_I,
Key_PageDown, Key_Semicolon, Key_Q, Key_J, Key_K, Key_X, Key_Escape,
Key_LeftControl, Key_Backspace, Key_LeftGui, Key_LeftShift,
- ShiftToLayer(FUNCTION),
+ ShiftToLayer(FVWM),
M(MACRO_ANY), Key_6, Key_7, Key_8, Key_9, Key_0, LockLayer(NUMPAD),
Key_Enter, Key_F, Key_G, Key_C, Key_R, Key_L, Key_Slash,
@@ -207,17 +207,32 @@ KEYMAPS(
[FUNCTION] = KEYMAP_STACKED
(___, Key_F1, Key_F2, Key_F3, Key_F4, Key_F5, Key_CapsLock,
- Key_Tab, ___, ___, ___, ___, ___, ___,
- Key_Home, ___, ___, ___, ___, ___,
- Key_End, Key_PrintScreen, Key_Insert, ___, ___, ___, ___,
+ Key_Tab, ___, Key_mouseUp, ___, Key_mouseBtnR, Key_mouseWarpEnd, Key_mouseWarpNE,
+ Key_Home, Key_mouseL, Key_mouseDn, Key_mouseR, Key_mouseBtnL, Key_mouseWarpNW,
+ Key_End, Key_PrintScreen, Key_Insert, ___, Key_mouseBtnM, Key_mouseWarpSW, Key_mouseWarpSE,
___, Key_Delete, ___, ___,
___,
- Consumer_ScanPreviousTrack, Key_F6, Key_F7, Key_F8, Key_F9, Key_F10, Key_F11,
- Consumer_PlaySlashPause, Consumer_ScanNextTrack, Key_LeftCurlyBracket, Key_RightCurlyBracket, Key_LeftBracket, Key_RightBracket, Key_F12,
- Key_LeftArrow, Key_DownArrow, Key_UpArrow, Key_RightArrow, ___, ___,
- Key_PcApplication, Consumer_Mute, Consumer_VolumeDecrement, Consumer_VolumeIncrement, ___, Key_Backslash, Key_Pipe,
+ ___, Key_F6, Key_F7, Key_F8, Key_F9, Key_F10, Key_F11,
+ ___, ___, Key_LeftCurlyBracket, Key_RightCurlyBracket, Key_LeftBracket, Key_RightBracket, Key_F12,
+ Key_LeftArrow, Key_DownArrow, Key_UpArrow, Key_RightArrow, ___, ___,
+ Key_PcApplication, ___, ___, ___, ___, Key_Backslash, Key_Pipe,
___, ___, Key_Enter, ___,
+ ___),
+
+ [FVWM] = KEYMAP_STACKED
+ (___, Key_BacklightDown, Key_BacklightUp, Consumer_AL_Text_Editor, Consumer_AL_InternetBrowser, ___, ___,
+ ___, ___, ___, ___, ___, ___, ___,
+ ___, ___, LALT(Key_Keypad4), LALT(Key_Keypad2), LALT(Key_Keypad8), LALT(Key_Keypad6),
+ ___, ___, ___, ___, ___, ___, ___,
+ ___, LSHIFT(Consumer_AL_CommandLineProcessorSlashRun), Consumer_AL_CommandLineProcessorSlashRun, ___,
+ ___,
+
+ ___, Consumer_Mute, Consumer_VolumeDecrement, Consumer_VolumeIncrement, ___, Consumer_Volume, ___,
+ ___, ___, ___, ___, ___, ___, Consumer_AC_TileHorizontally,
+ LALT(Key_LeftArrow), LALT(Key_DownArrow), LALT(Key_UpArrow), LALT(Key_RightArrow), ___, Consumer_AC_TileVertically,
+ Consumer_AL_TerminalLockSlashScreensaver, ___, ___, ___, ___, Consumer_AC_Minimize, Consumer_AC_Maximize,
+ ___, ___, ___, ___,
___)
) // KEYMAPS(