summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Grunert <sgrunert@suse.com>2018-12-21 17:33:36 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2018-12-21 17:33:36 +0100
commitf0863286ccde082475d9cb483354f19a4e4de67c (patch)
tree7b52fd4b8bdc36eb11c1a2650b0663d927862137
parentb21c592f1e42b016f020821ae2879d1681ee3321 (diff)
downloadqmk_firmware-f0863286ccde082475d9cb483354f19a4e4de67c.tar.gz
qmk_firmware-f0863286ccde082475d9cb483354f19a4e4de67c.tar.xz
Update keymap for planck/rev6 (#4701)
* Update keymap.c * Update rules and keymap * Update keymap rules
-rw-r--r--keyboards/planck/keymaps/sascha/keymap.c4
-rw-r--r--keyboards/planck/keymaps/sascha/rules.mk11
2 files changed, 12 insertions, 3 deletions
diff --git a/keyboards/planck/keymaps/sascha/keymap.c b/keyboards/planck/keymaps/sascha/keymap.c
index 93787599c..684b61f36 100644
--- a/keyboards/planck/keymaps/sascha/keymap.c
+++ b/keyboards/planck/keymaps/sascha/keymap.c
@@ -26,13 +26,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* ├──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
* │ SINS │ ♥ │ ≈ │ ✓ │ ✗ │ ← │ → │ € │ ß │ Ü │ Ö │ Ä │
* ├──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
- * │ Powr │ Rset │ BLSt │ Home │ End │ PgUp │ PgDn │ Left │ Down │ Up │ Rght │ │
+ * │ Rset │ BLSt │ F1 │ Home │ End │ PgUp │ PgDn │ Left │ Down │ Up │ Rght │ │
* └──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┴──────┘
*/
KC_TILD , KC_1 , KC_2 , KC_3 , KC_4 , KC_5 , KC_6 , KC_7 , KC_8 , KC_9 , KC_0 , KC_DEL,
KC_GRV , KC_EXLM , KC_AT , KC_HASH , KC_DLR , KC_PERC , KC_CIRC , KC_AMPR , KC_ASTR , UC(L'ü') , UC(L'ö') , UC(L'ä'),
S(KC_INS) , UC(L'♥') , UC(L'≈') , UC(L'✓') , UC(L'✗') , UC(L'←') , UC(L'→') , UC(L'€') , UC(L'ß') , UC(L'Ü') , UC(L'Ö') , UC(L'Ä'),
- KC_PWR , RESET , BL_STEP , KC_HOME , KC_END , KC_PGUP , KC_PGDN , KC_LEFT , KC_DOWN , KC_UP , KC_RGHT , KC_TRNS
+ RESET , BL_STEP , KC_F1 , KC_HOME , KC_END , KC_PGUP , KC_PGDN , KC_LEFT , KC_DOWN , KC_UP , KC_RGHT , KC_TRNS
)
};
diff --git a/keyboards/planck/keymaps/sascha/rules.mk b/keyboards/planck/keymaps/sascha/rules.mk
index d3918164d..276b71daa 100644
--- a/keyboards/planck/keymaps/sascha/rules.mk
+++ b/keyboards/planck/keymaps/sascha/rules.mk
@@ -1,5 +1,14 @@
AUTO_SHIFT_ENABLE = yes
AUTO_SHIFT_MODIFIERS = yes
+UNICODE_ENABLE = yes
+
+ifeq ($(strip $(KEYBOARD)), planck/rev5)
BACKLIGHT_ENABLE = yes
+CONSOLE_ENABLE = no
+endif
+ifeq ($(strip $(KEYBOARD)), planck/rev6)
+BACKLIGHT_ENABLE = no
+CONSOLE_ENABLE = yes
+EXTRALDFLAGS = -Wl,--build-id=none
UNICODE_ENABLE = yes
-DEFAULT_FOLDER = planck/rev5
+endif