Updated tri-layer block in keymap file. (#2827)

* Updated info and fixed minor errors

* Updated folder name; overdue updates to keymap and readme files

Updated folder name; overdue updates to keymap and readme files

* Updated tri-layer feature

* Revert "Updated tri-layer feature"

This reverts commit 59b8b85761740e24f671e10fceea869f06a33ade.

* Updated tri-layer on keymap

* Fixed typos
This commit is contained in:
Salt-Peanuts 2018-04-27 18:16:13 -04:00 committed by Drashna Jaelre
parent 17223166ce
commit 34ce1ed016
2 changed files with 6 additions and 20 deletions

View File

@ -571,6 +571,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
uint32_t layer_state_set_user(uint32_t state) {
return update_tri_layer_state(state, _NUMBERS, _NUMBERS2, _ADJUST);
}
void persistent_default_layer_set(uint16_t default_layer) {
eeconfig_update_default_layer(default_layer);
default_layer_set(default_layer);
@ -658,24 +662,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return false;
break;
case ENTNS:
if (record->event.pressed) {
layer_on(_NUMBERS);
update_tri_layer(_NUMBERS, _NUMBERS2, _ADJUST);
} else {
layer_off(_NUMBERS);
update_tri_layer(_NUMBERS, _NUMBERS2, _ADJUST);
}
break;
case DELNS:
if (record->event.pressed) {
layer_on(_NUMBERS2);
update_tri_layer(_NUMBERS, _NUMBERS2, _ADJUST);
} else {
layer_off(_NUMBERS2);
update_tri_layer(_NUMBERS, _NUMBERS2, _ADJUST);
}
break;
}
return true;
}

View File

@ -10,9 +10,9 @@ Changes to the thumb clusters include:
* Backspace have been duplicated on both clusters.
* The 2u keys serve dual function as momentary layer switchers.
I've largely left the function keys untouched, with the intension of not using them. They are neither easy to use nor reach due to their locations and size, and, prior to Advantage2, particularly terrible rubber domes were used for them. They have since updated the keys with Cherry ML switches on Advantage2, but did not resolve the issues of size or location. Additionally, leaving the function keys unused here makes it easier for me to adapt the keymaps to my other keyboards, most of which do not have physical function keys.
I've largely left the function keys untouched, with the intension of not using them. They are neither easy to use nor reach due to their locations and size, and, prior to Advantage2, particularly terrible rubber domes were used. They have since updated the keys with Cherry ML switches on Advantage2, but did not resolve the issues of size or location. Additionally, leaving the function keys unused here makes it easier for me to adapt the keymaps to my other keyboards, most of which do not have physical function keys.
I use Colemak Mod-DH Matrix as my default layout. There QWERTY and Colemak layouts as well.
I use Colemak Mod-DH Matrix as my default layout. There are QWERTY and regular Colemak layouts as well.
Additionally, I've added gaming/vanilla version of Colemak Mod-DH Matrix and QWERTY layouts. These layouts have no access to the Function or Numbers layers, thus no dual-role keys with layer access, and are mainly used for gaming.