summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSalt-Peanuts <hajimeokuda@gmail.com>2018-09-01 12:22:21 -0400
committerDrashna Jaelre <drashna@live.com>2018-09-01 09:22:21 -0700
commitdedffb5f6dcf3519f787692aca69851cb4049708 (patch)
tree391ab18bcaee0d03c4d57daa497549274124ea58
parent2aa27f0c78871ebea58559bb847d97d09de01078 (diff)
Keymap: Cleaned up Rorschach keymap (#3823)
-rw-r--r--keyboards/rorschach/keymaps/insertsnideremarks/keymap.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/keyboards/rorschach/keymaps/insertsnideremarks/keymap.c b/keyboards/rorschach/keymaps/insertsnideremarks/keymap.c
index 5f4c26415d..5d93e2f057 100644
--- a/keyboards/rorschach/keymaps/insertsnideremarks/keymap.c
+++ b/keyboards/rorschach/keymaps/insertsnideremarks/keymap.c
@@ -10,8 +10,6 @@ enum rorschach_layers {
_FUNCTION, // Function
_FUNCTION2, // Function 2 (identical as _FUNCTION; used to allow for easier use of space and backspace while using function layer arrows)
_NUMPAD, // Numpad
-// _COLEMAKGM, // Colemak gaming/vanilla (no dual-role keys with layer access)
-// _QWERTYGM, // QWERTY gaming/vanilla (no dual-role keys with layer access)
_ADJUST, // Adjust layer, accessed via tri-layer feature)
_ADJUST2 // Second Adjust layer, accessed outside of tri-layer feature)
};
@@ -19,8 +17,6 @@ enum rorschach_layers {
enum rorschach_keycodes {
COLEMAK = SAFE_RANGE,
QWERTY,
-// COLEMAKGM,
-// QWERTYGM,
NUMPAD = TG(_NUMPAD),
ADJUST = MO(_ADJUST2),
SPCFN = LT(_FUNCTION, KC_SPC),
@@ -269,8 +265,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
layer_off ( _FUNCTION);
layer_off ( _FUNCTION2);
layer_off ( _NUMPAD);
-// layer_off ( _COLEMAKGM);
-// layer_off ( _QWERTYGM);
layer_off ( _ADJUST);
layer_off ( _ADJUST2);
}
@@ -285,46 +279,11 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
layer_off ( _FUNCTION);
layer_off ( _FUNCTION2);
layer_off ( _NUMPAD);
-// layer_off ( _COLEMAKGM);
-// layer_off ( _QWERTYGM);
layer_off ( _ADJUST);
layer_off ( _ADJUST2);
}
return false;
break;
-/* case COLEMAKGM:
- if (record->event.pressed) {
- default_layer_set(1UL << _COLEMAKGM);
- layer_off ( _QWERTY);
- layer_off ( _COLEMAK);
- layer_off ( _NUMBERS);
- layer_off ( _NUMBERS2);
- layer_off ( _FUNCTION);
- layer_off ( _FUNCTION2);
- layer_off ( _NUMPAD);
- layer_off ( _QWERTYGM);
- layer_off ( _ADJUST);
- layer_off ( _ADJUST2);
- }
- return false;
- break;
- case QWERTYGM:
- if (record->event.pressed) {
- default_layer_set(1UL << _QWERTYGM);
- layer_off ( _QWERTY);
- layer_off ( _COLEMAK);
- layer_off ( _NUMBERS);
- layer_off ( _NUMBERS2);
- layer_off ( _FUNCTION);
- layer_off ( _FUNCTION2);
- layer_off ( _NUMPAD);
- layer_off ( _COLEMAKGM);
- layer_off ( _ADJUST);
- layer_off ( _ADJUST2);
- }
- return false;
- break;
-*/
}
return true;
} \ No newline at end of file