|
|
|
@ -26,13 +26,13 @@
|
|
|
|
|
Key_Home, Key_mouseL, Key_mouseDn, Key_mouseR, Key_mouseWarpSW, Key_mouseWarpSE, \
|
|
|
|
|
Key_End, Key_Z, Key_X, Key_C, Key_V, Key_mouseWarpEnd, ___, \
|
|
|
|
|
Key_LeftControl, Key_mouseBtnL, Key_LeftGui, Key_LeftShift, \
|
|
|
|
|
___,\
|
|
|
|
|
___, \
|
|
|
|
|
\
|
|
|
|
|
XXX, Key_F6, Key_F7, Key_F8, Key_F9, ___, ___,\
|
|
|
|
|
Key_Delete, Consumer_PlaySlashPause, Key_LeftCurlyBracket, Key_RightCurlyBracket, Key_LeftBracket, Key_RightBracket, System_Sleep,\
|
|
|
|
|
Key_LeftArrow, Key_DownArrow, Key_UpArrow, Key_RightArrow, Key_F11, Key_F12,\
|
|
|
|
|
___, Consumer_VolumeDecrement, Consumer_VolumeIncrement, Key_BacklightDown, Key_BacklightUp, Key_Backslash, Key_Pipe,\
|
|
|
|
|
Key_RightShift, Key_RightAlt, Key_mouseBtnR, Key_RightControl,\
|
|
|
|
|
XXX, Key_F6, Key_F7, Key_F8, Key_F9, ___, ___, \
|
|
|
|
|
Key_Delete, Consumer_PlaySlashPause, Key_LeftCurlyBracket, Key_RightCurlyBracket, Key_LeftBracket, Key_RightBracket, System_Sleep, \
|
|
|
|
|
Key_LeftArrow, Key_DownArrow, Key_UpArrow, Key_RightArrow, Key_F11, Key_F12, \
|
|
|
|
|
___, Consumer_VolumeDecrement, Consumer_VolumeIncrement, Key_BacklightDown, Key_BacklightUp, Key_Backslash, Key_Pipe, \
|
|
|
|
|
Key_RightShift, Key_RightAlt, Key_mouseBtnR, Key_RightControl, \
|
|
|
|
|
___\
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
@ -44,7 +44,7 @@
|
|
|
|
|
___, ___, ___, ___, ___, ___, ___, ___, ___, Key_Keypad4, Key_Keypad5, Key_Keypad6, Key_KeypadAdd, ___, \
|
|
|
|
|
___, ___, ___, ___, ___, ___, ___, Key_Keypad1, Key_Keypad2, Key_Keypad3, Key_Equals, Key_Quote, \
|
|
|
|
|
___, ___, ___, ___, ___, ___, ___, ___, ___, Key_Keypad0, Key_KeypadDot, Key_KeypadMultiply, Key_KeypadDivide, Key_Enter, \
|
|
|
|
|
Key_LeftControl, Key_Backspace, Key_LeftGui, Key_LeftShift, Key_RightShift, Key_RightAlt, Key_Spacebar, Key_RightControl,\
|
|
|
|
|
Key_LeftControl, Key_Backspace, Key_LeftGui, Key_LeftShift, Key_RightShift, Key_RightAlt, Key_Spacebar, Key_RightControl, \
|
|
|
|
|
Key_Keymap1_Momentary, Key_Keymap1_Momentary \
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
@ -53,7 +53,7 @@
|
|
|
|
|
Key_Backtick, Key_Q, Key_W, Key_E, Key_R, Key_T, Key_Tab, Key_Enter, Key_Y, Key_U, Key_I, Key_O, Key_P, Key_Equals, \
|
|
|
|
|
Key_PageUp, Key_A, Key_S, Key_D, Key_F, Key_G, Key_H, Key_J, Key_K, Key_L, Key_Semicolon, Key_Quote, \
|
|
|
|
|
Key_PageDown, Key_Z, Key_X, Key_C, Key_V, Key_B, Key_Escape, ___, Key_N, Key_M, Key_Comma, Key_Period, Key_Slash, Key_Minus, \
|
|
|
|
|
Key_LeftControl, Key_Backspace, Key_LeftGui, Key_LeftShift, Key_RightShift, Key_RightAlt, Key_Spacebar, Key_RightControl,\
|
|
|
|
|
Key_LeftControl, Key_Backspace, Key_LeftGui, Key_LeftShift, Key_RightShift, Key_RightAlt, Key_Spacebar, Key_RightControl, \
|
|
|
|
|
Key_KeymapNext_Momentary, Key_KeymapNext_Momentary \
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
@ -65,17 +65,17 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
static LEDSolidColor solidRed (60, 0, 0);
|
|
|
|
|
static LEDSolidColor solidOrange (60, 20, 0);
|
|
|
|
|
static LEDSolidColor solidYellow (40, 35, 0);
|
|
|
|
|
static LEDSolidColor solidGreen (0, 100, 0);
|
|
|
|
|
static LEDSolidColor solidBlue (0, 15, 100);
|
|
|
|
|
static LEDSolidColor solidIndigo (0, 0, 100);
|
|
|
|
|
static LEDSolidColor solidViolet (70, 0, 60);
|
|
|
|
|
static LEDSolidColor solidRed(60, 0, 0);
|
|
|
|
|
static LEDSolidColor solidOrange(60, 20, 0);
|
|
|
|
|
static LEDSolidColor solidYellow(40, 35, 0);
|
|
|
|
|
static LEDSolidColor solidGreen(0, 100, 0);
|
|
|
|
|
static LEDSolidColor solidBlue(0, 15, 100);
|
|
|
|
|
static LEDSolidColor solidIndigo(0, 0, 100);
|
|
|
|
|
static LEDSolidColor solidViolet(70, 0, 60);
|
|
|
|
|
|
|
|
|
|
const macro_t *macroAction(uint8_t macroIndex, uint8_t keyState) {
|
|
|
|
|
if (macroIndex == TOGGLENUMLOCK && key_toggled_on(keyState)) {
|
|
|
|
|
return NumLock.toggle (Macros.row, Macros.col, NUMPAD_KEYMAP);
|
|
|
|
|
return NumLock.toggle(Macros.row, Macros.col, NUMPAD_KEYMAP);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (macroIndex == 1 && key_toggled_on(keyState)) {
|
|
|
|
|