瀏覽代碼

Keymap: fix conditionals in userspace rules.mk (#3726)

* fix conditionals in rules.mk

* minor keymap change
wanleg 6 年之前
父節點
當前提交
6d1536db1d
共有 2 個文件被更改,包括 1 次插入6 次删除
  1. 1 1
      layouts/community/ortho_4x12/wanleg/keymap.c
  2. 0 5
      users/wanleg/rules.mk

+ 1 - 1
layouts/community/ortho_4x12/wanleg/keymap.c

@@ -13,7 +13,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
   _______________Qwerty_Row__0_______________,
   _______________Qwerty_Row__1_______________,
   _______________Qwerty_Row__2_______________,
-  KC_LCTL, KC_LGUI, KC_LALT, GHERKIN, SUBTER, SH_T(KC_SPC), KC_SPC, SUPRA, KC_RGUI, KC_RALT, KC_RGUI, KC_RCTL
+  KC_LCTL, KC_LGUI, KC_LALT, GHERKIN, SUBTER, SH_T(KC_SPC), KC_SPC, SUPRA, KC_RGUI, KC_RALT, KC_DEL, KC_RCTL
 ),
 #else
 [_GK] = LAYOUT_ortho_4x12_wrapper(

+ 0 - 5
users/wanleg/rules.mk

@@ -4,13 +4,8 @@ endif
 
 SRC += wanleg.c tapdances.c 
 
-ifndef TAP_DANCE_ENABLE
 TAP_DANCE_ENABLE = yes
-endif
-
-ifndef MOUSEKEY_ENABLE
 MOUSEKEY_ENABLE = yes
-endif
 
 #If using a ProMicro and it has the QMK DFU bootloader instead of Caterina,
 #run "make <keyboard>:<keymap> dfu=qmk" when compiling to ensure it is flagged properly after being flashed