summaryrefslogtreecommitdiff
path: root/keyboards/bigswitch/keymaps
diff options
context:
space:
mode:
authorwanleg <32079073+wanleg@users.noreply.github.com>2018-10-19 11:01:40 -0700
committerDrashna Jaelre <drashna@live.com>2018-10-19 11:01:40 -0700
commit6f6d28fa8d81063691d2fd11540675eaa5b6989c (patch)
tree6a80736f959e9b4029bc180304b790c06d391e12 /keyboards/bigswitch/keymaps
parent9ca73a9edcb8cfaeba13baae16b8c8cc5c9fafe6 (diff)
Big Switch and 5x5 edits (#4168)
* 4x4 - pro micro version * pro-micro setup on 4x4 * tap dance LCTL/RESET key * remove test file * more research * revert a couple un-intended edits * opt_defs version of adding custom rules.mk variables * cleanup * cleanup * cleanup * cleanup * layout edits * layout edits * keymap edit * numpad layout change * got tap dance layer-switch working * keymap changes * temporary revert * restore previous settings * misc fixes * layer order change * fix layout matrix * Update tapdances.c * playing around with triple tap dance * sync with upstream * quick edit * tapdance cleanup * mod tap interrupt * tapping term edit * tapping term adjust * 5x5 board edits * set gherkin tapping term * big switch tap dance edit * tapping term refinements * 5x10 layout setup * add audio for bigswitch * keymap change * keymap change & created testing board * sound setup for big_switch * more big switch size testing * bigswitch testing finished * final touch-ups
Diffstat (limited to 'keyboards/bigswitch/keymaps')
-rw-r--r--keyboards/bigswitch/keymaps/wanleg/config.h11
-rw-r--r--keyboards/bigswitch/keymaps/wanleg/keymap.c9
-rw-r--r--keyboards/bigswitch/keymaps/wanleg/rules.mk15
3 files changed, 20 insertions, 15 deletions
diff --git a/keyboards/bigswitch/keymaps/wanleg/config.h b/keyboards/bigswitch/keymaps/wanleg/config.h
index f1e1693457..8ac82f40d9 100644
--- a/keyboards/bigswitch/keymaps/wanleg/config.h
+++ b/keyboards/bigswitch/keymaps/wanleg/config.h
@@ -21,7 +21,6 @@
#define MATRIX_ROW_PINS { B4 }
#undef MATRIX_COL_PINS
#define MATRIX_COL_PINS { B6 }
-//#define UNUSED_PINS
/* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
#undef DIODE_DIRECTION
@@ -32,14 +31,12 @@
#define BACKLIGHT_LEVELS 3
#define BREATHING_PERIOD 5
-/* for Tap Dance */
-#undef TAPPING_TERM
-#define TAPPING_TERM 700
-
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
-//#define DEBOUNCING_DELAY 5
#undef DEBOUNCING_DELAY
-#define DEBOUNCING_DELAY 2
+#define DEBOUNCING_DELAY 5
// set flashing LED with QMK DFU
#define QMK_LED B0
+
+// set audio pin
+#define C6_AUDIO
diff --git a/keyboards/bigswitch/keymaps/wanleg/keymap.c b/keyboards/bigswitch/keymaps/wanleg/keymap.c
index 7f4150e581..76d0808fda 100644
--- a/keyboards/bigswitch/keymaps/wanleg/keymap.c
+++ b/keyboards/bigswitch/keymaps/wanleg/keymap.c
@@ -20,8 +20,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT( /* Base */
TD(CAD_TD) \
),
-};
-
-void led_set_user(uint8_t usb_led) {
-
-}
+[1] = LAYOUT( /*Secondary*/
+TD(BSW_TAP_DANCE) \
+),
+}; \ No newline at end of file
diff --git a/keyboards/bigswitch/keymaps/wanleg/rules.mk b/keyboards/bigswitch/keymaps/wanleg/rules.mk
index bc4a1873f8..a6c7d1d3f0 100644
--- a/keyboards/bigswitch/keymaps/wanleg/rules.mk
+++ b/keyboards/bigswitch/keymaps/wanleg/rules.mk
@@ -1,7 +1,16 @@
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality on B7 by default
-
#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
ifeq ($(strip $(dfu)), qmk)
BOOTLOADER = qmk-dfu
-endif \ No newline at end of file
+endif
+
+AUDIO_ENABLE = yes # Audio output on port C6
+BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality on B7 by default
+CONSOLE_ENABLE = no # Console for debug(+400)
+COMMAND_ENABLE = no # Commands for debug and configuration
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
+UNICODE_ENABLE = no # Unicode
+BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
+FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
+HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400) \ No newline at end of file