diff options
| author | Drashna Jaelre <drashna@live.com> | 2019-10-16 13:11:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-16 13:11:22 -0700 |
| commit | e3a21348c3879c11072c7c42d3b4d04b022f4fe2 (patch) | |
| tree | b4b007bce3d0b9167dfe651a537df330dbf7bead /keyboards/c39/keymaps | |
| parent | 7662ee71f0d1df7cee03a563f52dba21854fd0be (diff) | |
| download | qmk_firmware-e3a21348c3879c11072c7c42d3b4d04b022f4fe2.tar.gz qmk_firmware-e3a21348c3879c11072c7c42d3b4d04b022f4fe2.zip | |
[Keymap] Drashna's Hardware Features Experimentations (#6920)
* Change RGBLight pin for Planck Light
Move it to A0, so that the SPI? pins are available for BT hackery
* Add QMK DFU bootloader info
* Add Solenoid
* Disable annoying white LED on bottom
* Enable Solenoid on Corne
* Remove bounds for animations
* Increase debounce for Ergodox EZ to reduce repeat key issues
* Set swap hands key to be a hold-tap key
This way, it's not ANNOYING and doesn't swap the hands inteniontally
* Move MT Alt in Corne keymap
* Re-Add fine tuned control of secrets
* Squash mods to single row
* Add LRA settings to haptic feedback settings for Rev6
* Fix issue with non-Planck EZ keymaps
* Add 40 Percent Nano with Analog Joystick
* Add Collide39 keymap
* Fix OLED printing to be more flavorful
* Fix up Iris GamePad and come cleanup
* Expand OLED char map further
* Add modded characters to keylogger
* Here be dragons
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
* Fix up rules for community layouts
* Some more OLED tweaks
* Add mod mask check function
* Change QMK DFU Audio pin to be correct
* Use manual STM config instead of CTPC for Collide 39
Diffstat (limited to 'keyboards/c39/keymaps')
| -rwxr-xr-x | keyboards/c39/keymaps/drashna/config.h | 7 | ||||
| -rwxr-xr-x | keyboards/c39/keymaps/drashna/keymap.c | 45 | ||||
| -rwxr-xr-x | keyboards/c39/keymaps/drashna/readme.md | 3 | ||||
| -rw-r--r-- | keyboards/c39/keymaps/drashna/rules.mk | 18 |
4 files changed, 73 insertions, 0 deletions
diff --git a/keyboards/c39/keymaps/drashna/config.h b/keyboards/c39/keymaps/drashna/config.h new file mode 100755 index 000000000..361f68a78 --- /dev/null +++ b/keyboards/c39/keymaps/drashna/config.h | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | // place overrides here | ||
| 4 | #undef MATRIX_COL_PINS | ||
| 5 | #define MATRIX_COL_PINS { A3, A2, A1, A0, B13, B14, B15, B9, B3, B2, B4, A10, A9 } | ||
| 6 | #undef MATRIX_ROW_PINS | ||
| 7 | #define MATRIX_ROW_PINS { B7, B1, B0 } | ||
diff --git a/keyboards/c39/keymaps/drashna/keymap.c b/keyboards/c39/keymaps/drashna/keymap.c new file mode 100755 index 000000000..9de75190d --- /dev/null +++ b/keyboards/c39/keymaps/drashna/keymap.c | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | // Each layer gets a name for readability, which is then used in the keymap matrix below. | ||
| 4 | // The underscores don't mean anything - you can have a layer called STUFF or any other name. | ||
| 5 | // Layer names don't all need to be of the same length, obviously, and you can also skip them | ||
| 6 | // entirely and just use numbers. | ||
| 7 | #define _QWERTY 0 | ||
| 8 | #define _FN1 1 | ||
| 9 | |||
| 10 | // Defines for task manager and such | ||
| 11 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
| 12 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
| 13 | |||
| 14 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 15 | |||
| 16 | /* Qwerty | ||
| 17 | * ,----------------------------------------------------------------------------. ,-------------. | ||
| 18 | * | Q | W | E | R | T | Bksp | Y | U | I | O | P | | M1 | M2 | | ||
| 19 | * |------+------+------+------+------+------+------+------+------+------+------+ |------+------| | ||
| 20 | * | A | S | D | F | G | Enter| H | J | K | L | ; | | M3 | M4 | | ||
| 21 | * |------+------+------+------+------+------+------+------+------+------+------+ |------+------| | ||
| 22 | * | Z | X | C | V | B | FN1 | N | M | , | . | / | | M5 | M6 | | ||
| 23 | * `----------------------------------------------------------------------------' `-------------' | ||
| 24 | */ | ||
| 25 | [_QWERTY] = LAYOUT( | ||
| 26 | KC_Q, KC_W, KC_E, KC_R, KC_T, KC_BSPC, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_1, KC_2, | ||
| 27 | KC_A, KC_S, KC_D, KC_F, KC_G, MT(MOD_LSFT, KC_ENT), KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_3, KC_4, | ||
| 28 | KC_Z, KC_X, KC_C, KC_V, KC_B, LT(_FN1, KC_SPC), KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_5, KC_6 | ||
| 29 | ), | ||
| 30 | |||
| 31 | /* FN1 | ||
| 32 | * ,----------------------------------------------------------------------------. ,-------------. | ||
| 33 | * | 1 | 2 | 3 | 4 | 5 | Bksp | 6 | 7 | 8 | 9 | 0 | | M1 | M2 | | ||
| 34 | * |------+------+------+------+------+------+------+------+------+------+------+ |------+------| | ||
| 35 | * | 4 | 5 | 6 | + | | Enter| | | | | | | M3 | M4 | | ||
| 36 | * |------+------+------+------+------+------+------+------+------+------+------+ |------+------| | ||
| 37 | * | 7 | 8 | 9 | 0 | | FN1 | | | | | | | M5 | M6 | | ||
| 38 | * `----------------------------------------------------------------------------' `-------------' | ||
| 39 | */ | ||
| 40 | [_FN1] = LAYOUT( | ||
| 41 | KC_1, KC_2, KC_3, KC_4, KC_5, KC_BSPC, KC_6, KC_7, KC_8, KC_9, KC_0, KC_1, KC_2, | ||
| 42 | KC_4, KC_5, KC_6, KC_PLUS, _______, KC_ENT, _______, _______, _______, _______, _______, KC_3, KC_4, | ||
| 43 | KC_7, KC_8, KC_9, KC_0, _______, _______, _______, _______, _______, _______, _______, KC_5, KC_6 | ||
| 44 | ), | ||
| 45 | }; | ||
diff --git a/keyboards/c39/keymaps/drashna/readme.md b/keyboards/c39/keymaps/drashna/readme.md new file mode 100755 index 000000000..a8efbaa5f --- /dev/null +++ b/keyboards/c39/keymaps/drashna/readme.md | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | # @drashna's keymap for the C39 | ||
| 2 | |||
| 3 | HERE BE DRAGONS | ||
diff --git a/keyboards/c39/keymaps/drashna/rules.mk b/keyboards/c39/keymaps/drashna/rules.mk new file mode 100644 index 000000000..ae0cc9efe --- /dev/null +++ b/keyboards/c39/keymaps/drashna/rules.mk | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | MCU = STM32F303 | ||
| 2 | BOOTLOADER = | ||
| 3 | |||
| 4 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000) | ||
| 5 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) | ||
| 6 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 7 | CONSOLE_ENABLE = yes # Console for debug(+400) | ||
| 8 | COMMAND_ENABLE = yes # Commands for debug and configuration | ||
| 9 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 10 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 11 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 12 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 13 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default | ||
| 14 | MIDI_ENABLE = no # MIDI controls | ||
| 15 | UNICODE_ENABLE = yes # Unicode | ||
| 16 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 17 | AUDIO_ENABLE = yes # Audio output on port C6 | ||
| 18 | RGBLIGHT_ENABLE = no # RGB Enable / Disable | ||
