summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/impossible
diff options
context:
space:
mode:
authorStephen Christie <undersampled@live.com>2016-07-26 17:29:19 -0400
committerStephen Christie <undersampled@live.com>2016-07-26 17:29:19 -0400
commitfb2a7d787a6818ea9aefcff5ce36bac3fc48fa6c (patch)
treec877c33ebbc85704808223bae4310e275f71b517 /keyboards/planck/keymaps/impossible
parent723857bf8a59a4d9a779bfb1a0acd049bb4702d0 (diff)
Removed unused layers (left QWERTY for later use/reference)
Diffstat (limited to 'keyboards/planck/keymaps/impossible')
-rw-r--r--keyboards/planck/keymaps/impossible/keymap.c50
1 files changed, 3 insertions, 47 deletions
diff --git a/keyboards/planck/keymaps/impossible/keymap.c b/keyboards/planck/keymaps/impossible/keymap.c
index 6c22423fff..ddf4e2feb7 100644
--- a/keyboards/planck/keymaps/impossible/keymap.c
+++ b/keyboards/planck/keymaps/impossible/keymap.c
@@ -17,18 +17,12 @@ extern keymap_config_t keymap_config;
#define _ALPHA 0
#define _FN 1
-#define _QWERTY 3
-#define _COLEMAK 4
-#define _DVORAK 5
-#define _LOWER 6
-#define _RAISE 7
-#define _PLOVER 8
-#define _ADJUST 16
+#define _QWERTY 2
+#define _PLOVER 3
+#define _ADJUST 4
enum planck_keycodes {
QWERTY = SAFE_RANGE,
- COLEMAK,
- DVORAK,
PLOVER,
LOWER,
RAISE,
@@ -242,44 +236,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
}
return false;
break;
- case COLEMAK:
- if (record->event.pressed) {
- #ifdef AUDIO_ENABLE
- PLAY_NOTE_ARRAY(tone_colemak, false, 0);
- #endif
- persistant_default_layer_set(1UL<<_COLEMAK);
- }
- return false;
- break;
- case DVORAK:
- if (record->event.pressed) {
- #ifdef AUDIO_ENABLE
- PLAY_NOTE_ARRAY(tone_dvorak, false, 0);
- #endif
- persistant_default_layer_set(1UL<<_DVORAK);
- }
- return false;
- break;
- case LOWER:
- if (record->event.pressed) {
- layer_on(_LOWER);
- update_tri_layer(_LOWER, _RAISE, _ADJUST);
- } else {
- layer_off(_LOWER);
- update_tri_layer(_LOWER, _RAISE, _ADJUST);
- }
- return false;
- break;
- case RAISE:
- if (record->event.pressed) {
- layer_on(_RAISE);
- update_tri_layer(_LOWER, _RAISE, _ADJUST);
- } else {
- layer_off(_RAISE);
- update_tri_layer(_LOWER, _RAISE, _ADJUST);
- }
- return false;
- break;
case BACKLIT:
if (record->event.pressed) {
register_code(KC_RSFT);