diff options
author | Jesse Vincent <jesse@fsck.com> | 2017-10-03 22:56:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-03 22:56:24 -0700 |
commit | c48e153ae613d7ac482edc2db113c7300d47d96d (patch) | |
tree | f076c8aef41d48b7d5413e3868fb258c2635cc67 | |
parent | bc817483913cdea8573e13c0cb81c6b1c092d082 (diff) | |
parent | a988fac8115a28a34b54e23897b106254116f51b (diff) | |
download | model01-firmware-c48e153ae613d7ac482edc2db113c7300d47d96d.tar.gz model01-firmware-c48e153ae613d7ac482edc2db113c7300d47d96d.tar.bz2 model01-firmware-c48e153ae613d7ac482edc2db113c7300d47d96d.zip |
Merge pull request #16 from cdisselkoen/master
Fix misleading indentation in all three layers' keymaps
-rw-r--r-- | Model01-Firmware.ino | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Model01-Firmware.ino b/Model01-Firmware.ino index 1378108..ca5e6ad 100644 --- a/Model01-Firmware.ino +++ b/Model01-Firmware.ino @@ -117,6 +117,11 @@ enum { MACRO_VERSION_INFO, enum { QWERTY, FUNCTION, NUMPAD }; // layers +/* This comment temporarily turns off astyle's indent enforcement + * so we can make the keymaps actually resemble the physical key layout better + */ +// *INDENT-OFF* + const Key keymaps[][ROWS][COLS] PROGMEM = { [QWERTY] = KEYMAP_STACKED @@ -129,7 +134,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = { \ M(MACRO_ANY), Key_6, Key_7, Key_8, Key_9, Key_0, Key_KeypadNumLock, \ Key_Enter, Key_Y, Key_U, Key_I, Key_O, Key_P, Key_Equals, \ - Key_H, Key_J, Key_K, Key_L, Key_Semicolon, Key_Quote, \ + Key_H, Key_J, Key_K, Key_L, Key_Semicolon, Key_Quote, \ Key_RightAlt, Key_N, Key_M, Key_Comma, Key_Period, Key_Slash, Key_Minus, \ Key_RightShift, Key_LeftAlt, Key_Spacebar, Key_RightControl, \ ShiftToLayer(FUNCTION)), @@ -144,7 +149,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = { \ 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_LeftArrow, Key_DownArrow, Key_UpArrow, Key_RightArrow, ___, ___, \ Key_PcApplication, Key_Mute, Consumer_VolumeDecrement, Consumer_VolumeIncrement, ___, Key_Backslash, Key_Pipe, \ ___, ___, Key_Enter, ___, \ ___), @@ -160,12 +165,14 @@ const Key keymaps[][ROWS][COLS] PROGMEM = { \ M(MACRO_VERSION_INFO), ___, Key_Keypad7, Key_Keypad8, Key_Keypad9, Key_KeypadSubtract, ___, \ ___, ___, Key_Keypad4, Key_Keypad5, Key_Keypad6, Key_KeypadAdd, ___, \ - ___, Key_Keypad1, Key_Keypad2, Key_Keypad3, Key_Equals, Key_Quote, \ + ___, Key_Keypad1, Key_Keypad2, Key_Keypad3, Key_Equals, Key_Quote, \ ___, ___, Key_Keypad0, Key_KeypadDot, Key_KeypadMultiply, Key_KeypadDivide, Key_Enter, \ ___, ___, ___, ___, \ ___) }; +/* Re-enable astyle's indent enforcement */ +// *INDENT-ON* /** versionInfoMacro handles the 'firmware version info' macro * When a key bound to the macro is pressed, this macro |