Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
79f2fca1f9
12 changed files with 203 additions and 77 deletions
|
@ -24,6 +24,10 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
set_single_persistent_default_layer(_QWERTY);
|
||||
}
|
||||
return false;
|
||||
case COLEMAK:
|
||||
if (record->event.pressed) {
|
||||
set_single_persistent_default_layer(_COLEMAK);
|
||||
}
|
||||
case LOWER:
|
||||
if (record->event.pressed) {
|
||||
layer_on(_LOWER);
|
||||
|
@ -157,12 +161,14 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
break;
|
||||
case M_MODE:
|
||||
if (record->event.pressed) {
|
||||
SEND_STRING("PC");
|
||||
send_string("PC ");
|
||||
send_string(get_highest_layer(default_layer_state) == _COLEMAK ? "COLEMAK" : "QWERTY");
|
||||
}
|
||||
break;
|
||||
case M_MODE_MAC:
|
||||
if (record->event.pressed) {
|
||||
SEND_STRING("OSX");
|
||||
send_string("OSX ");
|
||||
send_string(get_highest_layer(default_layer_state) == _COLEMAK ? "COLEMAK" : "QWERTY");
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
enum ajp10304_layers {
|
||||
_QWERTY,
|
||||
_COLEMAK,
|
||||
_MAC,
|
||||
_LOWER,
|
||||
_MLWR,
|
||||
|
@ -34,6 +35,7 @@ enum ajp10304_layers {
|
|||
|
||||
enum ajp10304_keycodes {
|
||||
QWERTY = SAFE_RANGE,
|
||||
COLEMAK,
|
||||
MAC,
|
||||
FUNC,
|
||||
MFNC,
|
||||
|
|
|
@ -37,6 +37,15 @@ Refer to the README.md of the keyboard you want to flash.
|
|||
| Shft | Z | X | C | V | B | N | M | ,< | .> | /? | Shft |
|
||||
| Fn | Ctrl | Alt | GUI |Lower | Bksp |Space |Raise | Shift| MENU | Ctrl | Fn2 |
|
||||
|
||||
##### Main Colemak-DHm Layer
|
||||
|
||||
| | | | | | | | | | | | |
|
||||
| ---- |:----:| :---:|:---:|:-----:|:----:|:-----:|:-----:|:-----:|:----:|:----:| ----:|
|
||||
| Esc | Q | W | F | P | B | J | L | U | Y | ;: | Bksp |
|
||||
| Tab | A | R | S | T | G | M | N | E | I | O | Enter|
|
||||
| Shft | Z | X | C | D | V | K | H | ,< | .> | /? | Shft |
|
||||
| Fn | Ctrl | Alt | GUI | Lower | Bksp | Space | Raise | Shift | MENU | Ctrl | Fn2 |
|
||||
|
||||
##### Function Layer
|
||||
Activated when `fn` held in the above `qwerty` layer.
|
||||
|
||||
|
@ -88,12 +97,12 @@ To finish the recording, press STOP. To replay the macro, press either PLAY1 or
|
|||
* MAC: Toggle MAC OS extensions to layers. This allows MLWR to be enabled with LOWER,
|
||||
MRSE with RAISE, MFNC with FUNC and MFNC2 with FUNC2 respectively.
|
||||
|
||||
| | | | | | | | | | | | |
|
||||
| :---: |:----:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:|
|
||||
| ???? | Reset|Qwerty| | | REC1 | REC2 | | | | | Del |
|
||||
| CAPS | | | | | PLAY1|PLAY2 | Mute | Vol+ | Play | | |
|
||||
| MAC | | | | | STOP1|STOP2 | Prev | Vol- | Next | | |
|
||||
| | | | | | | | | DYN | | | |
|
||||
| | | | | | | | | | | | |
|
||||
| :---: |:----:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:| :---:|:-------:|
|
||||
| ???? | Reset|Qwerty| | | REC1 | REC2 | | | | | Del |
|
||||
| CAPS | | | | | PLAY1|PLAY2 | Mute | Vol+ | Play | | Qwerty |
|
||||
| MAC | | | | | STOP1|STOP2 | Prev | Vol- | Next | | Colemak |
|
||||
| | | | | | | | | DYN | | | |
|
||||
|
||||
##### Function 2 Layer
|
||||
Activated when `fn` held in the above `qwerty` layer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue