Bug fixes and more tuning

- Add new lines so multi line layer defines will work
- Changed TR_MINS to KC_MINS on number layer for F12 override
- Added more overrides for print screen and file explorer
- Added grave and semicolon back to number layer
- Moved media keys to config layer
This commit is contained in:
Victor 2024-05-10 09:06:52 -05:00
parent 6e9fb9373a
commit 3dff7013f0
Failed to generate hash of commit
5 changed files with 31 additions and 22 deletions

View file

@ -96,14 +96,16 @@ Enables additional keys to be mapped by pressing multiple keys simultaneously. P
Enables us to customize the result of applying certain mods to keycodes. For example, Shift + Backspace will give Delete. Primarily used to minimize the number of layers required and the layout itself Enables us to customize the result of applying certain mods to keycodes. For example, Shift + Backspace will give Delete. Primarily used to minimize the number of layers required and the layout itself
| Shortcut | Result | Comment | | Shortcut | Result | Comment |
| ----------------------- | ----------- | ----------------------------------------------------------------------------- | | --------------------- | -------------------- | ----------------------------------------------------------------------------- |
| `Shift` + `Backspace` | `Delete` | Backspace is a combo. There are no dedicated backspace and delete keys mapped | | `Shift` + `Backspace` | `Delete` | Backspace is a combo. There are no dedicated backspace and delete keys mapped |
| `Shift` + `Next Song` | `Prev Song` | Only works on `NAVIGATION` layer | | `Shift` + `Next Song` | `Prev Song` | Only works on `NAVIGATION` layer |
| `Meh` + `numbers 1...9` | `F1...F9` | Only works on `NUMBER` layer. Meh is Shift + Ctrl + Alt. | | `Meh` + `1...9` | `F1...F9` | Only works on `NUMBER` layer. Meh is Shift + Ctrl + Alt. |
| `Meh` + `Comma` | `F10` | Only works on `NUMBER` layer | | `Meh` + `Comma` | `F10` | Only works on `NUMBER` layer |
| `Meh` + `Dot` | `F11` | Only works on `NUMBER` layer | | `Meh` + `Dot` | `F11` | Only works on `NUMBER` layer |
| `Meh` + `Minus` | `F12` | Only works on `NUMBER` layer | | `Meh` + `Minus` | `F12` | Only works on `NUMBER` layer |
| `Alt` + `Mouse 3` | `Print Screen` | Only works on `NUMBER` layer |
| `Ctrl` + `Mouse 2` | `Open File Explorer` | Only works on `NUMBER` layer. Keyboard Shortcut `GUI` + `E` |
## Optional Features ## Optional Features

View file

@ -33,9 +33,9 @@ layers:
- {h: "NAV", t: "0"} - {h: "NAV", t: "0"}
- {t: Mute, type: ghost} - {t: Mute, type: ghost}
NAV: NAV:
- [Esc, Home, ▲, End, Page Up, Vol+, Next, Play Pause, null, CONFIG ] - [Esc, Home, ▲, End, Page Up, null, null, null, null, CONFIG ]
- [null, ◄, ▼, ►, Page Down, Vol-, Shift, Ctrl, Alt, Gui ] - [null, ◄, ▼, ►, Page Down, null, Shift, Ctrl, Alt, Gui ]
- [Undo, Cut, Copy, Paste, Redo, Mute, App, Sniper Toggle, Sniper DPI, Pointer DPI ] - [Undo, Cut, Copy, Paste, Redo, null, App, Sniper Toggle, Sniper DPI, Pointer DPI ]
- {t: Zoom Reset, type: ghost} - {t: Zoom Reset, type: ghost}
- NUM - NUM
- Ent - Ent
@ -43,8 +43,8 @@ layers:
- {type: held} - {type: held}
- null - null
NUM: NUM:
- [Esc, Mouse 3, Mouse 2, Mouse 1, Print Screen, null, "7", "8" ,"9", {s: "<", t: ","} ] - [Esc, Mouse 3, Mouse 2, Mouse 1, {h: "~", t: "`"}, null, "7", "8" ,"9", {s: "<", t: ","} ]
- [Gui, Alt, Ctrl, Shift, null, null, "4", "5" ,"6", {s: ">", t: "."}] - [Gui, Alt, Ctrl, Shift, {h: ":", t: ";"}, null, "4", "5" ,"6", {s: ">", t: "."}]
- [Undo, Cut, Copy, Paste, Redo, null, "1", "2" ,"3", {s: "_", t: "-"}] - [Undo, Cut, Copy, Paste, Redo, null, "1", "2" ,"3", {s: "_", t: "-"}]
- {type: ghost} - {type: ghost}
- {type: held} - {type: held}
@ -65,7 +65,7 @@ layers:
CONFIG: CONFIG:
- [null, null, null, null, null, null, null, EEPROM Clear, Boot Loader, {type: held}] - [null, null, null, null, null, null, null, EEPROM Clear, Boot Loader, {type: held}]
- [null, null, null, null, null, null, Shift, null, null, RGB Mode] - [null, null, null, null, null, null, Shift, null, null, RGB Mode]
- [null, null, null, null, null, RGB Toggle, RGB Hue, RGB Sat, RGB Vib, RGB Spd] - [Mute, Vol-, Vol+, Next Song, Play Pause, RGB Toggle, RGB Hue, RGB Sat, RGB Vib, RGB Spd]
- {t: Base Layer, type: ghost} - {t: Base Layer, type: ghost}
- null - null
- null - null

Binary file not shown.

Before

Width:  |  Height:  |  Size: 132 KiB

After

Width:  |  Height:  |  Size: 132 KiB

Before After
Before After

View file

@ -27,7 +27,11 @@ const key_override_t f8_override = ko_make_with_layers(MOD_MASK_CSA, K
const key_override_t f9_override = ko_make_with_layers(MOD_MASK_CSA, KC_9, KC_F9, 1<<_NUMBER); const key_override_t f9_override = ko_make_with_layers(MOD_MASK_CSA, KC_9, KC_F9, 1<<_NUMBER);
const key_override_t f10_override = ko_make_with_layers(MOD_MASK_CSA, KC_COMM, KC_F10, 1<<_NUMBER); const key_override_t f10_override = ko_make_with_layers(MOD_MASK_CSA, KC_COMM, KC_F10, 1<<_NUMBER);
const key_override_t f11_override = ko_make_with_layers(MOD_MASK_CSA, KC_DOT, KC_F11, 1<<_NUMBER); const key_override_t f11_override = ko_make_with_layers(MOD_MASK_CSA, KC_DOT, KC_F11, 1<<_NUMBER);
const key_override_t f12_override = ko_make_with_layers(MOD_MASK_CSA, TR_MINS, KC_F12, 1<<_NUMBER); const key_override_t f12_override = ko_make_with_layers(MOD_MASK_CSA, KC_MINS, KC_F12, 1<<_NUMBER);
const key_override_t mb2_override = ko_make_with_layers(MOD_MASK_ALT, KC_BTN3, KC_PSCR, 1<<_NUMBER);
const key_override_t mb3_override = ko_make_with_layers(MOD_MASK_CTRL, KC_BTN2, SC_FILE, 1<<_NUMBER);
const key_override_t **key_overrides = (const key_override_t *[]) { const key_override_t **key_overrides = (const key_override_t *[]) {
@ -45,6 +49,8 @@ const key_override_t **key_overrides = (const key_override_t *[]) {
&f10_override, &f10_override,
&f11_override, &f11_override,
&f12_override, &f12_override,
&mb2_override,
&mb3_override,
NULL // Null terminate the array of overrides! NULL // Null terminate the array of overrides!
}; };

View file

@ -194,15 +194,15 @@ enum keycodes {
#define LAYER_NAVIGATION \ #define LAYER_NAVIGATION \
KC_ESC, KC_HOME, KC_UP, KC_END, KC_PGUP, KC_VOLU, KC_MNXT, KC_MPLY, ___x___, CONFIG, \ KC_ESC, KC_HOME, KC_UP, KC_END, KC_PGUP, ___x___, ___x___, ___x___, ___x___, CONFIG, \
___x___, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, KC_VOLD, _SCAG_MODS________________________, \ ___x___, KC_LEFT, KC_DOWN, KC_RGHT, KC_PGDN, ___x___, _SCAG_MODS________________________, \
_UCCPR_L___________________________________, KC_MUTE, KC_APP, TR_SNIP, TR_SDPI, TR_PDPI, \ _UCCPR_L___________________________________, ___x___, KC_APP, TR_SNIP, TR_SDPI, TR_PDPI, \
ZOOMRST, NUM, KC_ENT, _LAYER_TRANS_____________ ZOOMRST, NUM, KC_ENT, _LAYER_TRANS_____________
#define LAYER_NUMBER \ #define LAYER_NUMBER \
KC_ESC, KC_BTN3, KC_BTN2, KC_BTN1, KC_PSCR, ___x___, KC_7, KC_8, KC_9, KC_COMM, \ KC_ESC, KC_BTN3, KC_BTN2, KC_BTN1, TR_GRV, ___x___, KC_7, KC_8, KC_9, KC_COMM, \
_GACS_MODS________________________, ___x___, ___x___, KC_4, KC_5, KC_6, KC_DOT, \ _GACS_MODS________________________, TR_SCLN, ___x___, KC_4, KC_5, KC_6, KC_DOT, \
_UCCPR_L___________________________________, ___x___, KC_1, KC_2, KC_3, KC_MINS, \ _UCCPR_L___________________________________, ___x___, KC_1, KC_2, KC_3, KC_MINS, \
_LAYER_TRANS_____________, _BASE_R4_ZERO____________ _LAYER_TRANS_____________, _BASE_R4_ZERO____________
@ -217,5 +217,6 @@ enum keycodes {
#define LAYER_CONFIG \ #define LAYER_CONFIG \
_NONE_5____________________________________, ___x___, ___x___, EE_CLR, QK_BOOT, _______, \ _NONE_5____________________________________, ___x___, ___x___, EE_CLR, QK_BOOT, _______, \
_NONE_5____________________________________, ___x___, TR_LSFT, ___x___, ___x___, TR_RMOD, \ _NONE_5____________________________________, ___x___, TR_LSFT, ___x___, ___x___, TR_RMOD, \
_NONE_5____________________________________, TR_RTOG, TR_RHUI, TR_RSAI, TR_RVAI, TR_RSPI, \ KC_MUTE, KC_VOLD, KC_VOLU, KC_MNXT, KC_MPLY, TR_RTOG, TR_RHUI, TR_RSAI, TR_RVAI, TR_RSPI, \
BASELYR, ___x___, ___x___, TR_DMP1, TR_DMR1, TR_RTOG BASELYR, TR_DMR1, TR_DMP1, ___x___, ___x___, TR_RTOG