diff options
| author | Drashna Jaelre <drashna@live.com> | 2020-10-17 11:46:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-17 11:46:57 -0700 |
| commit | 855dd2d218ba875f1fb7bddfbce8bd260e96184e (patch) | |
| tree | 3becfc91270b45aa061f529eb08bd1bf32fc0513 /keyboards | |
| parent | aa1c1c386543a38d47331d17c414f81c8e11cb29 (diff) | |
| download | qmk_firmware-855dd2d218ba875f1fb7bddfbce8bd260e96184e.tar.gz qmk_firmware-855dd2d218ba875f1fb7bddfbce8bd260e96184e.zip | |
[Keymap] Drashna Code Cleanup (#10656)
* Add Launchpad keymap
Note: RGB and Audio won't work when using B pins for audio
* Add support for rgb matrix on launchpad
* Update config for launchpag
* Disable wait on layer change
* Update config for ErgoDox EZ
* Fixup rgb light userspace code
* Move Corne layout to community layouts folder
* Update config for corne to support community layouts
* Add license header to files
* Minor cleanup of userspace config
* Update Pimironi Trackball code
* Increase debounce time on ergodox
* Fix keymap handling
* Enable wait for USB for moonlander
* Update/add license headers
* fix review issues
Diffstat (limited to 'keyboards')
21 files changed, 321 insertions, 623 deletions
diff --git a/keyboards/40percentclub/nano/keymaps/drashna/keymap.c b/keyboards/40percentclub/nano/keymaps/drashna/keymap.c index f5d0787ee..b8947cce7 100644 --- a/keyboards/40percentclub/nano/keymaps/drashna/keymap.c +++ b/keyboards/40percentclub/nano/keymaps/drashna/keymap.c | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 1 | #include "drashna.h" | 17 | #include "drashna.h" |
| 2 | #include "analog.h" | 18 | #include "analog.h" |
| 3 | #include "pointing_device.h" | 19 | #include "pointing_device.h" |
diff --git a/keyboards/c39/keymaps/drashna/config.h b/keyboards/c39/keymaps/drashna/config.h index 789b7cc14..73b0b8acf 100644 --- a/keyboards/c39/keymaps/drashna/config.h +++ b/keyboards/c39/keymaps/drashna/config.h | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 1 | #pragma once | 17 | #pragma once |
| 2 | 18 | ||
| 3 | // place overrides here | 19 | // place overrides here |
diff --git a/keyboards/c39/keymaps/drashna/keymap.c b/keyboards/c39/keymaps/drashna/keymap.c index 882938138..3fd3ef35e 100755 --- a/keyboards/c39/keymaps/drashna/keymap.c +++ b/keyboards/c39/keymaps/drashna/keymap.c | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 1 | #include "drashna.h" | 17 | #include "drashna.h" |
| 2 | 18 | ||
| 3 | /* | 19 | /* |
diff --git a/keyboards/crkbd/keymaps/drashna/config.h b/keyboards/crkbd/keymaps/drashna/config.h deleted file mode 100644 index 26af02957..000000000 --- a/keyboards/crkbd/keymaps/drashna/config.h +++ /dev/null | |||
| @@ -1,78 +0,0 @@ | |||
| 1 | /* | ||
| 2 | This is the c configuration file for the keymap | ||
| 3 | |||
| 4 | Copyright 2012 Jun Wako <wakojun@gmail.com> | ||
| 5 | Copyright 2015 Jack Humbert | ||
| 6 | |||
| 7 | This program is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #pragma once | ||
| 22 | |||
| 23 | /* Select hand configuration */ | ||
| 24 | |||
| 25 | // #define MASTER_LEFT | ||
| 26 | // #define MASTER_RIGHT | ||
| 27 | #define EE_HANDS | ||
| 28 | |||
| 29 | #undef USE_I2C | ||
| 30 | #undef SSD1306OLED | ||
| 31 | |||
| 32 | #define USE_SERIAL_PD2 | ||
| 33 | |||
| 34 | // #define TAPPING_FORCE_HOLD | ||
| 35 | // #define TAPPING_TERM 100 | ||
| 36 | |||
| 37 | #ifdef RGBLIGHT_ENABLE | ||
| 38 | # undef RGBLED_NUM | ||
| 39 | # define RGBLED_NUM 27 | ||
| 40 | |||
| 41 | # define RGBLIGHT_HUE_STEP 8 | ||
| 42 | # define RGBLIGHT_SAT_STEP 8 | ||
| 43 | # define RGBLIGHT_VAL_STEP 5 | ||
| 44 | # define RGBLIGHT_LIMIT_VAL 120 | ||
| 45 | #endif | ||
| 46 | |||
| 47 | #ifdef RGB_MATRIX_ENABLE | ||
| 48 | # define RGB_MATRIX_KEYPRESSES // reacts to keypresses | ||
| 49 | // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | ||
| 50 | // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | ||
| 51 | # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended | ||
| 52 | // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness) | ||
| 53 | // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | ||
| 54 | # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | ||
| 55 | # define RGB_MATRIX_HUE_STEP 8 | ||
| 56 | # define RGB_MATRIX_SAT_STEP 8 | ||
| 57 | # define RGB_MATRIX_VAL_STEP 5 | ||
| 58 | # define RGB_MATRIX_SPD_STEP 10 | ||
| 59 | #endif | ||
| 60 | |||
| 61 | #ifdef AUDIO_ENABLE | ||
| 62 | # define B6_AUDIO | ||
| 63 | # define NO_MUSIC_MODE | ||
| 64 | #endif | ||
| 65 | |||
| 66 | #ifdef HAPTIC_ENABLE | ||
| 67 | # define SOLENOID_PIN B7 | ||
| 68 | #endif | ||
| 69 | |||
| 70 | #undef PRODUCT | ||
| 71 | #define PRODUCT Drashna Hacked Corne Keyboard | ||
| 72 | |||
| 73 | #define OLED_FONT_H "keyboards/crkbd/keymaps/drashna/glcdfont.c" | ||
| 74 | // #define OLED_FONT_WIDTH 5 | ||
| 75 | // #define OLED_FONT_HEIGHT 7 | ||
| 76 | |||
| 77 | #define OLED_DISABLE_TIMEOUT | ||
| 78 | #define TAPPING_TERM_PER_KEY | ||
diff --git a/keyboards/crkbd/keymaps/drashna/glcdfont.c b/keyboards/crkbd/keymaps/drashna/glcdfont.c deleted file mode 100644 index 10ce3b345..000000000 --- a/keyboards/crkbd/keymaps/drashna/glcdfont.c +++ /dev/null | |||
| @@ -1,232 +0,0 @@ | |||
| 1 | #include "progmem.h" | ||
| 2 | |||
| 3 | // Corne 8x6 font with QMK Firmware Logo | ||
| 4 | // Online editor: https://helixfonteditor.netlify.com/ | ||
| 5 | |||
| 6 | // clang-format off | ||
| 7 | const unsigned char font[] PROGMEM = { | ||
| 8 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 9 | 0x3E, 0x5B, 0x4F, 0x5B, 0x3E, 0x00, | ||
| 10 | 0x3E, 0x6B, 0x4F, 0x6B, 0x3E, 0x00, | ||
| 11 | 0x1C, 0x3E, 0x7C, 0x3E, 0x1C, 0x00, | ||
| 12 | 0x18, 0x3C, 0x7E, 0x3C, 0x18, 0x00, | ||
| 13 | 0x1C, 0x57, 0x7D, 0x57, 0x1C, 0x00, | ||
| 14 | 0x1C, 0x5E, 0x7F, 0x5E, 0x1C, 0x00, | ||
| 15 | 0x00, 0x18, 0x3C, 0x18, 0x00, 0x00, | ||
| 16 | 0xFF, 0xE7, 0xC3, 0xE7, 0xFF, 0x00, | ||
| 17 | 0x00, 0x18, 0x24, 0x18, 0x00, 0x00, | ||
| 18 | 0xFF, 0xE7, 0xDB, 0xE7, 0xFF, 0x00, | ||
| 19 | 0x30, 0x48, 0x3A, 0x06, 0x0E, 0x00, | ||
| 20 | 0x26, 0x29, 0x79, 0x29, 0x26, 0x00, | ||
| 21 | 0x40, 0x7F, 0x05, 0x05, 0x07, 0x00, | ||
| 22 | 0x40, 0x7F, 0x05, 0x25, 0x3F, 0x00, | ||
| 23 | 0x5A, 0x3C, 0xE7, 0x3C, 0x5A, 0x00, | ||
| 24 | 0x7F, 0x3E, 0x1C, 0x1C, 0x08, 0x00, | ||
| 25 | 0x08, 0x1C, 0x1C, 0x3E, 0x7F, 0x00, | ||
| 26 | 0x14, 0x22, 0x7F, 0x22, 0x14, 0x00, | ||
| 27 | 0x5F, 0x5F, 0x00, 0x5F, 0x5F, 0x00, | ||
| 28 | 0x06, 0x09, 0x7F, 0x01, 0x7F, 0x00, | ||
| 29 | 0x00, 0x66, 0x89, 0x95, 0x6A, 0x00, | ||
| 30 | 0x60, 0x60, 0x60, 0x60, 0x60, 0x00, | ||
| 31 | 0x94, 0xA2, 0xFF, 0xA2, 0x94, 0x00, | ||
| 32 | 0x08, 0x04, 0x7E, 0x04, 0x08, 0x00, | ||
| 33 | 0x10, 0x20, 0x7E, 0x20, 0x10, 0x00, | ||
| 34 | 0x08, 0x08, 0x2A, 0x1C, 0x08, 0x00, | ||
| 35 | 0x08, 0x1C, 0x2A, 0x08, 0x08, 0x00, | ||
| 36 | 0x1E, 0x10, 0x10, 0x10, 0x10, 0x00, | ||
| 37 | 0x0C, 0x1E, 0x0C, 0x1E, 0x0C, 0x00, | ||
| 38 | 0x30, 0x38, 0x3E, 0x38, 0x30, 0x00, | ||
| 39 | 0x06, 0x0E, 0x3E, 0x0E, 0x06, 0x00, | ||
| 40 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 41 | 0x00, 0x00, 0x5F, 0x00, 0x00, 0x00, | ||
| 42 | 0x00, 0x07, 0x00, 0x07, 0x00, 0x00, | ||
| 43 | 0x14, 0x7F, 0x14, 0x7F, 0x14, 0x00, | ||
| 44 | 0x24, 0x2A, 0x7F, 0x2A, 0x12, 0x00, | ||
| 45 | 0x23, 0x13, 0x08, 0x64, 0x62, 0x00, | ||
| 46 | 0x36, 0x49, 0x56, 0x20, 0x50, 0x00, | ||
| 47 | 0x00, 0x08, 0x07, 0x03, 0x00, 0x00, | ||
| 48 | 0x00, 0x1C, 0x22, 0x41, 0x00, 0x00, | ||
| 49 | 0x00, 0x41, 0x22, 0x1C, 0x00, 0x00, | ||
| 50 | 0x2A, 0x1C, 0x7F, 0x1C, 0x2A, 0x00, | ||
| 51 | 0x08, 0x08, 0x3E, 0x08, 0x08, 0x00, | ||
| 52 | 0x00, 0x80, 0x70, 0x30, 0x00, 0x00, | ||
| 53 | 0x08, 0x08, 0x08, 0x08, 0x08, 0x00, | ||
| 54 | 0x00, 0x00, 0x60, 0x60, 0x00, 0x00, | ||
| 55 | 0x20, 0x10, 0x08, 0x04, 0x02, 0x00, | ||
| 56 | 0x3E, 0x51, 0x49, 0x45, 0x3E, 0x00, | ||
| 57 | 0x00, 0x42, 0x7F, 0x40, 0x00, 0x00, | ||
| 58 | 0x72, 0x49, 0x49, 0x49, 0x46, 0x00, | ||
| 59 | 0x21, 0x41, 0x49, 0x4D, 0x33, 0x00, | ||
| 60 | 0x18, 0x14, 0x12, 0x7F, 0x10, 0x00, | ||
| 61 | 0x27, 0x45, 0x45, 0x45, 0x39, 0x00, | ||
| 62 | 0x3C, 0x4A, 0x49, 0x49, 0x31, 0x00, | ||
| 63 | 0x41, 0x21, 0x11, 0x09, 0x07, 0x00, | ||
| 64 | 0x36, 0x49, 0x49, 0x49, 0x36, 0x00, | ||
| 65 | 0x46, 0x49, 0x49, 0x29, 0x1E, 0x00, | ||
| 66 | 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, | ||
| 67 | 0x00, 0x40, 0x34, 0x00, 0x00, 0x00, | ||
| 68 | 0x00, 0x08, 0x14, 0x22, 0x41, 0x00, | ||
| 69 | 0x14, 0x14, 0x14, 0x14, 0x14, 0x00, | ||
| 70 | 0x00, 0x41, 0x22, 0x14, 0x08, 0x00, | ||
| 71 | 0x02, 0x01, 0x59, 0x09, 0x06, 0x00, | ||
| 72 | 0x3E, 0x41, 0x5D, 0x59, 0x4E, 0x00, | ||
| 73 | 0x7C, 0x12, 0x11, 0x12, 0x7C, 0x00, | ||
| 74 | 0x7F, 0x49, 0x49, 0x49, 0x36, 0x00, | ||
| 75 | 0x3E, 0x41, 0x41, 0x41, 0x22, 0x00, | ||
| 76 | 0x7F, 0x41, 0x41, 0x41, 0x3E, 0x00, | ||
| 77 | 0x7F, 0x49, 0x49, 0x49, 0x41, 0x00, | ||
| 78 | 0x7F, 0x09, 0x09, 0x09, 0x01, 0x00, | ||
| 79 | 0x3E, 0x41, 0x41, 0x51, 0x73, 0x00, | ||
| 80 | 0x7F, 0x08, 0x08, 0x08, 0x7F, 0x00, | ||
| 81 | 0x00, 0x41, 0x7F, 0x41, 0x00, 0x00, | ||
| 82 | 0x20, 0x40, 0x41, 0x3F, 0x01, 0x00, | ||
| 83 | 0x7F, 0x08, 0x14, 0x22, 0x41, 0x00, | ||
| 84 | 0x7F, 0x40, 0x40, 0x40, 0x40, 0x00, | ||
| 85 | 0x7F, 0x02, 0x1C, 0x02, 0x7F, 0x00, | ||
| 86 | 0x7F, 0x04, 0x08, 0x10, 0x7F, 0x00, | ||
| 87 | 0x3E, 0x41, 0x41, 0x41, 0x3E, 0x00, | ||
| 88 | 0x7F, 0x09, 0x09, 0x09, 0x06, 0x00, | ||
| 89 | 0x3E, 0x41, 0x51, 0x21, 0x5E, 0x00, | ||
| 90 | 0x7F, 0x09, 0x19, 0x29, 0x46, 0x00, | ||
| 91 | 0x26, 0x49, 0x49, 0x49, 0x32, 0x00, | ||
| 92 | 0x03, 0x01, 0x7F, 0x01, 0x03, 0x00, | ||
| 93 | 0x3F, 0x40, 0x40, 0x40, 0x3F, 0x00, | ||
| 94 | 0x1F, 0x20, 0x40, 0x20, 0x1F, 0x00, | ||
| 95 | 0x3F, 0x40, 0x38, 0x40, 0x3F, 0x00, | ||
| 96 | 0x63, 0x14, 0x08, 0x14, 0x63, 0x00, | ||
| 97 | 0x03, 0x04, 0x78, 0x04, 0x03, 0x00, | ||
| 98 | 0x61, 0x59, 0x49, 0x4D, 0x43, 0x00, | ||
| 99 | 0x00, 0x7F, 0x41, 0x41, 0x41, 0x00, | ||
| 100 | 0x02, 0x04, 0x08, 0x10, 0x20, 0x00, | ||
| 101 | 0x00, 0x41, 0x41, 0x41, 0x7F, 0x00, | ||
| 102 | 0x04, 0x02, 0x01, 0x02, 0x04, 0x00, | ||
| 103 | 0x40, 0x40, 0x40, 0x40, 0x40, 0x00, | ||
| 104 | 0x00, 0x03, 0x07, 0x08, 0x00, 0x00, | ||
| 105 | 0x20, 0x54, 0x54, 0x78, 0x40, 0x00, | ||
| 106 | 0x7F, 0x28, 0x44, 0x44, 0x38, 0x00, | ||
| 107 | 0x38, 0x44, 0x44, 0x44, 0x28, 0x00, | ||
| 108 | 0x38, 0x44, 0x44, 0x28, 0x7F, 0x00, | ||
| 109 | 0x38, 0x54, 0x54, 0x54, 0x18, 0x00, | ||
| 110 | 0x00, 0x08, 0x7E, 0x09, 0x02, 0x00, | ||
| 111 | 0x18, 0x24, 0x24, 0x1C, 0x78, 0x00, | ||
| 112 | 0x7F, 0x08, 0x04, 0x04, 0x78, 0x00, | ||
| 113 | 0x00, 0x44, 0x7D, 0x40, 0x00, 0x00, | ||
| 114 | 0x20, 0x40, 0x40, 0x3D, 0x00, 0x00, | ||
| 115 | 0x7F, 0x10, 0x28, 0x44, 0x00, 0x00, | ||
| 116 | 0x00, 0x41, 0x7F, 0x40, 0x00, 0x00, | ||
| 117 | 0x7C, 0x04, 0x78, 0x04, 0x78, 0x00, | ||
| 118 | 0x7C, 0x08, 0x04, 0x04, 0x78, 0x00, | ||
| 119 | 0x38, 0x44, 0x44, 0x44, 0x38, 0x00, | ||
| 120 | 0x7C, 0x18, 0x24, 0x24, 0x18, 0x00, | ||
| 121 | 0x18, 0x24, 0x24, 0x18, 0x7C, 0x00, | ||
| 122 | 0x7C, 0x08, 0x04, 0x04, 0x08, 0x00, | ||
| 123 | 0x48, 0x54, 0x54, 0x54, 0x24, 0x00, | ||
| 124 | 0x04, 0x04, 0x3F, 0x44, 0x24, 0x00, | ||
| 125 | 0x3C, 0x40, 0x40, 0x20, 0x7C, 0x00, | ||
| 126 | 0x1C, 0x20, 0x40, 0x20, 0x1C, 0x00, | ||
| 127 | 0x3C, 0x40, 0x30, 0x40, 0x3C, 0x00, | ||
| 128 | 0x44, 0x28, 0x10, 0x28, 0x44, 0x00, | ||
| 129 | 0x4C, 0x90, 0x90, 0x90, 0x7C, 0x00, | ||
| 130 | 0x44, 0x64, 0x54, 0x4C, 0x44, 0x00, | ||
| 131 | 0x00, 0x08, 0x36, 0x41, 0x00, 0x00, | ||
| 132 | 0x00, 0x00, 0x77, 0x00, 0x00, 0x00, | ||
| 133 | 0x00, 0x41, 0x36, 0x08, 0x00, 0x00, | ||
| 134 | 0x02, 0x01, 0x02, 0x04, 0x02, 0x00, | ||
| 135 | 0x3C, 0x26, 0x23, 0x26, 0x3C, 0x00, | ||
| 136 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 137 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 138 | 0x00, 0x00, 0x00, 0x00, 0xC0, 0xE0, | ||
| 139 | 0xF0, 0xF8, 0xF8, 0x18, 0x00, 0xC0, | ||
| 140 | 0xF0, 0xFC, 0xFE, 0xFF, 0xFF, 0xFF, | ||
| 141 | 0xFF, 0xFF, 0xFF, 0xFF, 0x7E, 0x00, | ||
| 142 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 143 | 0x00, 0x00, 0x80, 0xC0, 0xE0, 0xE0, | ||
| 144 | 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, | ||
| 145 | 0xC0, 0x80, 0x00, 0x00, 0x00, 0x00, | ||
| 146 | 0x80, 0xC0, 0xE0, 0xE0, 0xE0, 0xE0, | ||
| 147 | 0xE0, 0xE0, 0xE0, 0xE0, 0xC0, 0x80, | ||
| 148 | 0x00, 0x00, 0x00, 0xE0, 0xE0, 0xC0, | ||
| 149 | 0xC0, 0xE0, 0xE0, 0xE0, 0xE0, 0x00, | ||
| 150 | 0x00, 0xE0, 0xE0, 0xC0, 0xC0, 0xE0, | ||
| 151 | 0xE0, 0xE0, 0xE0, 0xE0, 0xC0, 0x80, | ||
| 152 | 0x00, 0x00, 0x00, 0x00, 0x80, 0xC0, | ||
| 153 | 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, | ||
| 154 | 0xE0, 0xE0, 0xC0, 0x80, 0x00, 0x00, | ||
| 155 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 156 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 157 | 0xE0, 0xF0, 0xF0, 0xF0, 0xE0, 0xEC, | ||
| 158 | 0xEE, 0xF7, 0xF3, 0x70, 0x20, 0x00, | ||
| 159 | 0x7C, 0x7C, 0x7C, 0x7E, 0x00, 0x7E, | ||
| 160 | 0x7E, 0x7E, 0x7F, 0x7F, 0x7F, 0x00, | ||
| 161 | 0x00, 0x80, 0xC0, 0xE0, 0x7E, 0x5B, | ||
| 162 | 0x4F, 0x5B, 0xFE, 0xC0, 0x00, 0x00, | ||
| 163 | 0xC0, 0x00, 0xDC, 0xD7, 0xDE, 0xDE, | ||
| 164 | 0xDE, 0xD7, 0xDC, 0x00, 0xC0, 0x00, | ||
| 165 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 166 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 167 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 168 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 169 | 0x00, 0x00, 0x00, 0xF8, 0xFC, 0xFE, | ||
| 170 | 0xFF, 0xE0, 0x00, 0xFF, 0xFF, 0xFF, | ||
| 171 | 0xFF, 0xFF, 0xFF, 0x80, 0xFF, 0xFF, | ||
| 172 | 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, | ||
| 173 | 0xFF, 0x1F, 0x07, 0x01, 0x00, 0x00, | ||
| 174 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 175 | 0x00, 0xFF, 0xFF, 0xFF, 0x81, 0x00, | ||
| 176 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x81, | ||
| 177 | 0xC3, 0xC3, 0xC3, 0x00, 0x00, 0xFF, | ||
| 178 | 0xFF, 0xFF, 0x81, 0x00, 0x00, 0x00, | ||
| 179 | 0x00, 0x00, 0x00, 0x81, 0xFF, 0xFF, | ||
| 180 | 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0xFF, | ||
| 181 | 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 182 | 0x00, 0xFF, 0xFF, 0xFF, 0x01, 0x00, | ||
| 183 | 0x00, 0x00, 0x00, 0x01, 0xFF, 0xFF, | ||
| 184 | 0xFF, 0x00, 0x00, 0xFF, 0xFF, 0xFF, | ||
| 185 | 0x9D, 0x1C, 0x1C, 0x1C, 0x1C, 0x1C, | ||
| 186 | 0x1C, 0x9D, 0xDF, 0xDF, 0xDF, 0x00, | ||
| 187 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 188 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 189 | 0x0F, 0x1F, 0x3F, 0x7F, 0x7F, 0x7F, | ||
| 190 | 0x7F, 0x7F, 0x3F, 0x1E, 0x0C, 0x00, | ||
| 191 | 0x1F, 0x1F, 0x1F, 0x3F, 0x00, 0x3F, | ||
| 192 | 0x3F, 0x3F, 0x7F, 0x7F, 0x7F, 0x00, | ||
| 193 | 0x30, 0x7B, 0x7F, 0x78, 0x30, 0x20, | ||
| 194 | 0x20, 0x30, 0x78, 0x7F, 0x3B, 0x00, | ||
| 195 | 0x03, 0x00, 0x0F, 0x7F, 0x0F, 0x0F, | ||
| 196 | 0x0F, 0x7F, 0x0F, 0x00, 0x03, 0x00, | ||
| 197 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 198 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 199 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 200 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 201 | 0x00, 0x00, 0x00, 0x03, 0x0F, 0x1F, | ||
| 202 | 0x3F, 0x3F, 0x3F, 0x3F, 0x1F, 0x1F, | ||
| 203 | 0x3F, 0x3F, 0x7F, 0x7F, 0x7F, 0x3F, | ||
| 204 | 0x3F, 0x1F, 0x3F, 0x7F, 0x7F, 0x7F, | ||
| 205 | 0x7F, 0x7C, 0x78, 0x78, 0x38, 0x1C, | ||
| 206 | 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 207 | 0x00, 0x00, 0x01, 0x03, 0x07, 0x07, | ||
| 208 | 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, | ||
| 209 | 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, | ||
| 210 | 0x01, 0x03, 0x07, 0x07, 0x07, 0x07, | ||
| 211 | 0x07, 0x07, 0x07, 0x07, 0x03, 0x01, | ||
| 212 | 0x00, 0x00, 0x00, 0x07, 0x07, 0x07, | ||
| 213 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 214 | 0x00, 0x07, 0x07, 0x07, 0x00, 0x00, | ||
| 215 | 0x00, 0x00, 0x00, 0x00, 0x07, 0x07, | ||
| 216 | 0x07, 0x00, 0x00, 0x00, 0x01, 0x03, | ||
| 217 | 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, | ||
| 218 | 0x07, 0x07, 0x03, 0x01, 0x00, 0x00, | ||
| 219 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 220 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 221 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 222 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 223 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 224 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 225 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 226 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 227 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 228 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 229 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 230 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 231 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 232 | }; | ||
diff --git a/keyboards/crkbd/keymaps/drashna/keymap.c b/keyboards/crkbd/keymaps/drashna/keymap.c deleted file mode 100644 index d9c1605ce..000000000 --- a/keyboards/crkbd/keymaps/drashna/keymap.c +++ /dev/null | |||
| @@ -1,216 +0,0 @@ | |||
| 1 | #include "drashna.h" | ||
| 2 | |||
| 3 | extern uint8_t is_master; | ||
| 4 | |||
| 5 | #ifdef RGBLIGHT_ENABLE | ||
| 6 | // Following line allows macro to read current RGB settings | ||
| 7 | extern rgblight_config_t rgblight_config; | ||
| 8 | #endif | ||
| 9 | |||
| 10 | enum crkbd_keycodes { RGBRST = NEW_SAFE_RANGE }; | ||
| 11 | |||
| 12 | /* | ||
| 13 | * The `LAYOUT_crkbd_base` macro is a template to allow the use of identical | ||
| 14 | * modifiers for the default layouts (eg QWERTY, Colemak, Dvorak, etc), so | ||
| 15 | * that there is no need to set them up for each layout, and modify all of | ||
| 16 | * them if I want to change them. This helps to keep consistency and ease | ||
| 17 | * of use. K## is a placeholder to pass through the individual keycodes | ||
| 18 | */ | ||
| 19 | |||
| 20 | #define LAYOUT_crkbd_base( \ | ||
| 21 | K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, \ | ||
| 22 | K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, \ | ||
| 23 | K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A \ | ||
| 24 | ) \ | ||
| 25 | LAYOUT_wrapper( \ | ||
| 26 | KC_ESC, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, KC_MINS, \ | ||
| 27 | ALT_T(KC_TAB), K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, RALT_T(KC_QUOT), \ | ||
| 28 | OS_LSFT, CTL_T(K21), K22, K23, K24, K25, K26, K27, K28, K29, RCTL_T(K2A), OS_RSFT, \ | ||
| 29 | KC_GRV, KC_SPC, BK_LWER, DL_RAIS, KC_ENT, OS_RGUI \ | ||
| 30 | ) | ||
| 31 | #define LAYOUT_crkbd_base_wrapper(...) LAYOUT_crkbd_base(__VA_ARGS__) | ||
| 32 | |||
| 33 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 34 | [_QWERTY] = LAYOUT_crkbd_base_wrapper( | ||
| 35 | _________________QWERTY_L1_________________, _________________QWERTY_R1_________________, | ||
| 36 | _________________QWERTY_L2_________________, _________________QWERTY_R2_________________, | ||
| 37 | _________________QWERTY_L3_________________, _________________QWERTY_R3_________________ | ||
| 38 | ), | ||
| 39 | |||
| 40 | [_COLEMAK] = LAYOUT_crkbd_base_wrapper( | ||
| 41 | _________________COLEMAK_L1________________, _________________COLEMAK_R1________________, | ||
| 42 | _________________COLEMAK_L2________________, _________________COLEMAK_R2________________, | ||
| 43 | _________________COLEMAK_L3________________, _________________COLEMAK_R3________________ | ||
| 44 | ), | ||
| 45 | |||
| 46 | [_DVORAK] = LAYOUT_crkbd_base_wrapper( | ||
| 47 | _________________DVORAK_L1_________________, _________________DVORAK_R1_________________, | ||
| 48 | _________________DVORAK_L2_________________, _________________DVORAK_R2_________________, | ||
| 49 | _________________DVORAK_L3_________________, _________________DVORAK_R3_________________ | ||
| 50 | ), | ||
| 51 | |||
| 52 | [_WORKMAN] = LAYOUT_crkbd_base_wrapper( | ||
| 53 | _________________WORKMAN_L1________________, _________________WORKMAN_R1________________, | ||
| 54 | _________________WORKMAN_L2________________, _________________WORKMAN_R2________________, | ||
| 55 | _________________WORKMAN_L3________________, _________________WORKMAN_R3________________ | ||
| 56 | ), | ||
| 57 | |||
| 58 | [_NORMAN] = LAYOUT_crkbd_base_wrapper( | ||
| 59 | _________________NORMAN_L1_________________, _________________NORMAN_L1_________________, | ||
| 60 | _________________NORMAN_L2_________________, _________________NORMAN_R2_________________, | ||
| 61 | _________________NORMAN_L3_________________, _________________NORMAN_R3_________________ | ||
| 62 | ), | ||
| 63 | |||
| 64 | [_MALTRON] = LAYOUT_crkbd_base_wrapper( | ||
| 65 | _________________MALTRON_L1________________, _________________MALTRON_R1________________, | ||
| 66 | _________________MALTRON_L2________________, _________________MALTRON_R2________________, | ||
| 67 | _________________MALTRON_L3________________, _________________MALTRON_R3________________ | ||
| 68 | ), | ||
| 69 | |||
| 70 | [_EUCALYN] = LAYOUT_crkbd_base_wrapper( | ||
| 71 | _________________EUCALYN_L1________________, _________________EUCALYN_R1________________, | ||
| 72 | _________________EUCALYN_L2________________, _________________EUCALYN_R2________________, | ||
| 73 | _________________EUCALYN_L3________________, _________________EUCALYN_R3________________ | ||
| 74 | ), | ||
| 75 | |||
| 76 | [_CARPLAX] = LAYOUT_crkbd_base_wrapper( | ||
| 77 | _____________CARPLAX_QFMLWY_L1_____________, _____________CARPLAX_QFMLWY_R1_____________, | ||
| 78 | _____________CARPLAX_QFMLWY_L2_____________, _____________CARPLAX_QFMLWY_R2_____________, | ||
| 79 | _____________CARPLAX_QFMLWY_L3_____________, _____________CARPLAX_QFMLWY_R3_____________ | ||
| 80 | ), | ||
| 81 | |||
| 82 | [_MODS] = LAYOUT_wrapper( | ||
| 83 | _______, ___________________BLANK___________________, ___________________BLANK___________________, _______, | ||
| 84 | _______, ___________________BLANK___________________, ___________________BLANK___________________, _______, | ||
| 85 | KC_LSFT, ___________________BLANK___________________, ___________________BLANK___________________, KC_RSFT, | ||
| 86 | _______, _______, _______, _______, _______, _______ | ||
| 87 | ), | ||
| 88 | |||
| 89 | [_LOWER] = LAYOUT_wrapper( | ||
| 90 | KC_F11, _________________LOWER_L1__________________, _________________LOWER_R1__________________, KC_F11, | ||
| 91 | KC_F12, _________________LOWER_L2__________________, _________________LOWER_R2__________________, KC_PIPE, | ||
| 92 | _______, _________________LOWER_L3__________________, _________________LOWER_R3__________________, _______, | ||
| 93 | _______, _______, _______, _______, _______, _______ | ||
| 94 | ), | ||
| 95 | |||
| 96 | [_RAISE] = LAYOUT_wrapper( \ | ||
| 97 | _______, _________________RAISE_L1__________________, _________________RAISE_R1__________________, _______, | ||
| 98 | _______, _________________RAISE_L2__________________, _________________RAISE_R2__________________, KC_BSLS, | ||
| 99 | _______, _________________RAISE_L3__________________, _________________RAISE_R3__________________, _______, | ||
| 100 | _______, _______, _______, _______, _______, _______ | ||
| 101 | ), | ||
| 102 | |||
| 103 | [_ADJUST] = LAYOUT_wrapper( \ | ||
| 104 | KC_MAKE, _________________ADJUST_L1_________________, _________________ADJUST_R1_________________, KC_RESET, | ||
| 105 | VRSN, _________________ADJUST_L2_________________, _________________ADJUST_R2_________________, EEP_RST, | ||
| 106 | MG_NKRO, _________________ADJUST_L3_________________, _________________ADJUST_R3_________________, RGB_IDL, | ||
| 107 | HPT_TOG, KC_NUKE, _______, _______, TG_MODS, HPT_FBK | ||
| 108 | ) | ||
| 109 | }; | ||
| 110 | // clang-format on | ||
| 111 | |||
| 112 | bool process_record_keymap(uint16_t keycode, keyrecord_t *record) { | ||
| 113 | if (record->event.pressed) { | ||
| 114 | #ifndef SPLIT_KEYBOARD | ||
| 115 | if (keycode == RESET && !is_master) { | ||
| 116 | return false; | ||
| 117 | } | ||
| 118 | #endif | ||
| 119 | } | ||
| 120 | return true; | ||
| 121 | } | ||
| 122 | |||
| 123 | #ifdef OLED_DRIVER_ENABLE | ||
| 124 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { | ||
| 125 | # ifndef SPLIT_KEYBOARD | ||
| 126 | if (is_master) { | ||
| 127 | # endif | ||
| 128 | return OLED_ROTATION_270; | ||
| 129 | # ifndef SPLIT_KEYBOARD | ||
| 130 | } else { | ||
| 131 | return rotation; | ||
| 132 | } | ||
| 133 | # endif | ||
| 134 | } | ||
| 135 | #endif | ||
| 136 | |||
| 137 | uint16_t get_tapping_term(uint16_t keycode, keyrecord_t *record) { | ||
| 138 | switch (keycode) { | ||
| 139 | case ALT_T(KC_A): | ||
| 140 | return TAPPING_TERM + 100; | ||
| 141 | default: | ||
| 142 | return TAPPING_TERM; | ||
| 143 | } | ||
| 144 | } | ||
| 145 | |||
| 146 | #ifdef RGB_MATRIX_ENABLE | ||
| 147 | |||
| 148 | void suspend_power_down_keymap(void) { rgb_matrix_set_suspend_state(true); } | ||
| 149 | |||
| 150 | void suspend_wakeup_init_keymap(void) { rgb_matrix_set_suspend_state(false); } | ||
| 151 | |||
| 152 | void check_default_layer(uint8_t mode, uint8_t type) { | ||
| 153 | switch (get_highest_layer(default_layer_state)) { | ||
| 154 | case _QWERTY: | ||
| 155 | rgb_matrix_layer_helper(HSV_CYAN, mode, rgb_matrix_config.speed, type); | ||
| 156 | break; | ||
| 157 | case _COLEMAK: | ||
| 158 | rgb_matrix_layer_helper(HSV_MAGENTA, mode, rgb_matrix_config.speed, type); | ||
| 159 | break; | ||
| 160 | case _DVORAK: | ||
| 161 | rgb_matrix_layer_helper(HSV_SPRINGGREEN, mode, rgb_matrix_config.speed, type); | ||
| 162 | break; | ||
| 163 | case _WORKMAN: | ||
| 164 | rgb_matrix_layer_helper(HSV_GOLDENROD, mode, rgb_matrix_config.speed, type); | ||
| 165 | break; | ||
| 166 | case _NORMAN: | ||
| 167 | rgb_matrix_layer_helper(HSV_CORAL, mode, rgb_matrix_config.speed, type); | ||
| 168 | break; | ||
| 169 | case _MALTRON: | ||
| 170 | rgb_matrix_layer_helper(HSV_YELLOW, mode, rgb_matrix_config.speed, type); | ||
| 171 | break; | ||
| 172 | case _EUCALYN: | ||
| 173 | rgb_matrix_layer_helper(HSV_PINK, mode, rgb_matrix_config.speed, type); | ||
| 174 | break; | ||
| 175 | case _CARPLAX: | ||
| 176 | rgb_matrix_layer_helper(HSV_BLUE, mode, rgb_matrix_config.speed, type); | ||
| 177 | break; | ||
| 178 | } | ||
| 179 | } | ||
| 180 | |||
| 181 | void rgb_matrix_indicators_user(void) { | ||
| 182 | if (userspace_config.rgb_layer_change && | ||
| 183 | # ifdef RGB_DISABLE_WHEN_USB_SUSPENDED | ||
| 184 | !g_suspend_state && | ||
| 185 | # endif | ||
| 186 | # if defined(RGBLIGHT_ENABLE) | ||
| 187 | (!rgblight_config.enable && rgb_matrix_config.enable) | ||
| 188 | # else | ||
| 189 | rgb_matrix_config.enable | ||
| 190 | # endif | ||
| 191 | ) { | ||
| 192 | switch (get_highest_layer(layer_state)) { | ||
| 193 | case _GAMEPAD: | ||
| 194 | rgb_matrix_layer_helper(HSV_ORANGE, 0, rgb_matrix_config.speed, LED_FLAG_UNDERGLOW); | ||
| 195 | break; | ||
| 196 | case _DIABLO: | ||
| 197 | rgb_matrix_layer_helper(HSV_RED, 0, rgb_matrix_config.speed, LED_FLAG_UNDERGLOW); | ||
| 198 | break; | ||
| 199 | case _RAISE: | ||
| 200 | rgb_matrix_layer_helper(HSV_YELLOW, 0, rgb_matrix_config.speed, LED_FLAG_UNDERGLOW); | ||
| 201 | break; | ||
| 202 | case _LOWER: | ||
| 203 | rgb_matrix_layer_helper(HSV_GREEN, 0, rgb_matrix_config.speed, LED_FLAG_UNDERGLOW); | ||
| 204 | break; | ||
| 205 | case _ADJUST: | ||
| 206 | rgb_matrix_layer_helper(HSV_RED, 0, rgb_matrix_config.speed, LED_FLAG_UNDERGLOW); | ||
| 207 | break; | ||
| 208 | default: { | ||
| 209 | check_default_layer(IS_LAYER_ON(_MODS), LED_FLAG_UNDERGLOW); | ||
| 210 | break; | ||
| 211 | } | ||
| 212 | } | ||
| 213 | check_default_layer(0, LED_FLAG_MODIFIER); | ||
| 214 | } | ||
| 215 | } | ||
| 216 | #endif | ||
diff --git a/keyboards/crkbd/keymaps/drashna/rules.mk b/keyboards/crkbd/keymaps/drashna/rules.mk deleted file mode 100644 index 492c17e20..000000000 --- a/keyboards/crkbd/keymaps/drashna/rules.mk +++ /dev/null | |||
| @@ -1,27 +0,0 @@ | |||
| 1 | |||
| 2 | # Build Options | ||
| 3 | # change to "no" to disable the options, or define them in the Makefile in | ||
| 4 | # the appropriate keymap folder that will get included automatically | ||
| 5 | # | ||
| 6 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | ||
| 7 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | ||
| 8 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | ||
| 9 | CONSOLE_ENABLE = no # Console for debug(+400) | ||
| 10 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 11 | NKRO_ENABLE = yes # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 12 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 13 | MIDI_ENABLE = no # MIDI controls | ||
| 14 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 15 | UNICODE_ENABLE = no # Unicode | ||
| 16 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 17 | RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. | ||
| 18 | SWAP_HANDS_ENABLE = no # Enable one-hand typing | ||
| 19 | RGB_MATRIX_ENABLE = WS2812 | ||
| 20 | |||
| 21 | HAPTIC_ENABLE = SOLENOID | ||
| 22 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 23 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 24 | |||
| 25 | BOOTLOADER = qmk-dfu | ||
| 26 | |||
| 27 | OLED_DRIVER_ENABLE = yes | ||
diff --git a/keyboards/gergo/keymaps/drashna/keymap.c b/keyboards/gergo/keymaps/drashna/keymap.c index d1e622406..7258d350d 100644 --- a/keyboards/gergo/keymaps/drashna/keymap.c +++ b/keyboards/gergo/keymaps/drashna/keymap.c | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 1 | #include "drashna.h" | 17 | #include "drashna.h" |
| 2 | 18 | ||
| 3 | /* | 19 | /* |
diff --git a/keyboards/keebio/iris/keymaps/drashna/config.h b/keyboards/keebio/iris/keymaps/drashna/config.h index 49381b60a..63f87b7c4 100644 --- a/keyboards/keebio/iris/keymaps/drashna/config.h +++ b/keyboards/keebio/iris/keymaps/drashna/config.h | |||
| @@ -1,19 +1,18 @@ | |||
| 1 | /* | 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> |
| 2 | Copyright 2017 Danny Nguyen <danny@keeb.io> | 2 | * |
| 3 | 3 | * This program is free software: you can redistribute it and/or modify | |
| 4 | This program is free software: you can redistribute it and/or modify | 4 | * it under the terms of the GNU General Public License as published by |
| 5 | it under the terms of the GNU General Public License as published by | 5 | * the Free Software Foundation, either version 2 of the License, or |
| 6 | the Free Software Foundation, either version 2 of the License, or | 6 | * (at your option) any later version. |
| 7 | (at your option) any later version. | 7 | * |
| 8 | 8 | * This program is distributed in the hope that it will be useful, | |
| 9 | This program is distributed in the hope that it will be useful, | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | * GNU General Public License for more details. |
| 12 | GNU General Public License for more details. | 12 | * |
| 13 | 13 | * You should have received a copy of the GNU General Public License | |
| 14 | You should have received a copy of the GNU General Public License | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | */ |
| 16 | */ | ||
| 17 | 16 | ||
| 18 | #pragma once | 17 | #pragma once |
| 19 | 18 | ||
diff --git a/keyboards/keebio/iris/keymaps/drashna/keymap.c b/keyboards/keebio/iris/keymaps/drashna/keymap.c index edfcd23e7..bc34ba822 100644 --- a/keyboards/keebio/iris/keymaps/drashna/keymap.c +++ b/keyboards/keebio/iris/keymaps/drashna/keymap.c | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 1 | #include "drashna.h" | 17 | #include "drashna.h" |
| 2 | 18 | ||
| 3 | /* | 19 | /* |
diff --git a/keyboards/keebio/iris/keymaps/drashna_lp/config.h b/keyboards/keebio/iris/keymaps/drashna_lp/config.h index 5370d88ed..414acab84 100644 --- a/keyboards/keebio/iris/keymaps/drashna_lp/config.h +++ b/keyboards/keebio/iris/keymaps/drashna_lp/config.h | |||
| @@ -1,19 +1,18 @@ | |||
| 1 | /* | 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> |
| 2 | Copyright 2017 Danny Nguyen <danny@keeb.io> | 2 | * |
| 3 | 3 | * This program is free software: you can redistribute it and/or modify | |
| 4 | This program is free software: you can redistribute it and/or modify | 4 | * it under the terms of the GNU General Public License as published by |
| 5 | it under the terms of the GNU General Public License as published by | 5 | * the Free Software Foundation, either version 2 of the License, or |
| 6 | the Free Software Foundation, either version 2 of the License, or | 6 | * (at your option) any later version. |
| 7 | (at your option) any later version. | 7 | * |
| 8 | 8 | * This program is distributed in the hope that it will be useful, | |
| 9 | This program is distributed in the hope that it will be useful, | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | * GNU General Public License for more details. |
| 12 | GNU General Public License for more details. | 12 | * |
| 13 | 13 | * You should have received a copy of the GNU General Public License | |
| 14 | You should have received a copy of the GNU General Public License | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | */ |
| 16 | */ | ||
| 17 | 16 | ||
| 18 | #pragma once | 17 | #pragma once |
| 19 | 18 | ||
diff --git a/keyboards/keebio/iris/keymaps/drashna_old/config.h b/keyboards/keebio/iris/keymaps/drashna_old/config.h index 5adf014e3..f08b22dca 100644 --- a/keyboards/keebio/iris/keymaps/drashna_old/config.h +++ b/keyboards/keebio/iris/keymaps/drashna_old/config.h | |||
| @@ -1,19 +1,18 @@ | |||
| 1 | /* | 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> |
| 2 | Copyright 2017 Danny Nguyen <danny@keeb.io> | 2 | * |
| 3 | 3 | * This program is free software: you can redistribute it and/or modify | |
| 4 | This program is free software: you can redistribute it and/or modify | 4 | * it under the terms of the GNU General Public License as published by |
| 5 | it under the terms of the GNU General Public License as published by | 5 | * the Free Software Foundation, either version 2 of the License, or |
| 6 | the Free Software Foundation, either version 2 of the License, or | 6 | * (at your option) any later version. |
| 7 | (at your option) any later version. | 7 | * |
| 8 | 8 | * This program is distributed in the hope that it will be useful, | |
| 9 | This program is distributed in the hope that it will be useful, | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | * GNU General Public License for more details. |
| 12 | GNU General Public License for more details. | 12 | * |
| 13 | 13 | * You should have received a copy of the GNU General Public License | |
| 14 | You should have received a copy of the GNU General Public License | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | */ |
| 16 | */ | ||
| 17 | 16 | ||
| 18 | #pragma once | 17 | #pragma once |
| 19 | 18 | ||
diff --git a/keyboards/keebio/viterbi/keymaps/drashna/config.h b/keyboards/keebio/viterbi/keymaps/drashna/config.h index 40a5bbd0e..5d7ffa8a1 100644 --- a/keyboards/keebio/viterbi/keymaps/drashna/config.h +++ b/keyboards/keebio/viterbi/keymaps/drashna/config.h | |||
| @@ -1,19 +1,18 @@ | |||
| 1 | /* | 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> |
| 2 | Copyright 2017 Danny Nguyen <danny@hexwire.com> | 2 | * |
| 3 | 3 | * This program is free software: you can redistribute it and/or modify | |
| 4 | This program is free software: you can redistribute it and/or modify | 4 | * it under the terms of the GNU General Public License as published by |
| 5 | it under the terms of the GNU General Public License as published by | 5 | * the Free Software Foundation, either version 2 of the License, or |
| 6 | the Free Software Foundation, either version 2 of the License, or | 6 | * (at your option) any later version. |
| 7 | (at your option) any later version. | 7 | * |
| 8 | 8 | * This program is distributed in the hope that it will be useful, | |
| 9 | This program is distributed in the hope that it will be useful, | 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 | * GNU General Public License for more details. |
| 12 | GNU General Public License for more details. | 12 | * |
| 13 | 13 | * You should have received a copy of the GNU General Public License | |
| 14 | You should have received a copy of the GNU General Public License | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | */ |
| 16 | */ | ||
| 17 | 16 | ||
| 18 | #pragma once | 17 | #pragma once |
| 19 | 18 | ||
diff --git a/keyboards/keebio/viterbi/keymaps/drashna/keymap.c b/keyboards/keebio/viterbi/keymaps/drashna/keymap.c index 3b213418d..99e06b4de 100644 --- a/keyboards/keebio/viterbi/keymaps/drashna/keymap.c +++ b/keyboards/keebio/viterbi/keymaps/drashna/keymap.c | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 1 | #include "drashna.h" | 17 | #include "drashna.h" |
| 2 | 18 | ||
| 3 | // Fillers to make layering more clear | 19 | // Fillers to make layering more clear |
diff --git a/keyboards/kyria/keymaps/drashna/config.h b/keyboards/kyria/keymaps/drashna/config.h index 5e9d8b010..1af947e73 100644 --- a/keyboards/kyria/keymaps/drashna/config.h +++ b/keyboards/kyria/keymaps/drashna/config.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* Copyright 2019 Thomas Baart <thomas@splitkb.com> | 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> |
| 2 | * | 2 | * |
| 3 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
diff --git a/keyboards/kyria/keymaps/drashna/keymap.c b/keyboards/kyria/keymaps/drashna/keymap.c index 98afff19f..08f32812e 100644 --- a/keyboards/kyria/keymaps/drashna/keymap.c +++ b/keyboards/kyria/keymaps/drashna/keymap.c | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 1 | #include "drashna.h" | 17 | #include "drashna.h" |
| 2 | 18 | ||
| 3 | uint8_t is_master; | 19 | uint8_t is_master; |
diff --git a/keyboards/launchpad/keymaps/drashna/config.h b/keyboards/launchpad/keymaps/drashna/config.h new file mode 100644 index 000000000..212b1da80 --- /dev/null +++ b/keyboards/launchpad/keymaps/drashna/config.h | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | /* Underlight Configuration */ | ||
| 20 | #undef RGB_DI_PIN | ||
| 21 | #define RGB_DI_PIN F5 | ||
| 22 | #define RGBLIGHT_ANIMATIONS | ||
| 23 | #undef RGBLED_NUM | ||
| 24 | #define RGBLED_NUM 8 // Number of LEDs | ||
| 25 | #define RGBLIGHT_HUE_STEP 10 | ||
| 26 | #define RGBLIGHT_SAT_STEP 17 | ||
| 27 | #define RGBLIGHT_VAL_STEP 17 | ||
| 28 | |||
| 29 | #define DRIVER_LED_TOTAL RGBLED_NUM | ||
| 30 | #define B7_AUDIO | ||
| 31 | #define AUDIO_CLICKY | ||
diff --git a/keyboards/launchpad/keymaps/drashna/keymap.c b/keyboards/launchpad/keymaps/drashna/keymap.c new file mode 100644 index 000000000..f8e4d1a41 --- /dev/null +++ b/keyboards/launchpad/keymaps/drashna/keymap.c | |||
| @@ -0,0 +1,107 @@ | |||
| 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | enum local_layers { | ||
| 20 | _QWERTY, | ||
| 21 | _RGB, | ||
| 22 | _FUNC, | ||
| 23 | }; | ||
| 24 | |||
| 25 | // Defines for task manager and such | ||
| 26 | #define CALTDEL LCTL(LALT(KC_DEL)) | ||
| 27 | #define TSKMGR LCTL(LSFT(KC_ESC)) | ||
| 28 | |||
| 29 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 30 | |||
| 31 | /* Qwerty | ||
| 32 | * ,-------------. | ||
| 33 | * | 1 | 2 | | ||
| 34 | * |------+------| | ||
| 35 | * | 3 | 4 | | ||
| 36 | * |------+------| | ||
| 37 | * | 5 | 6 | | ||
| 38 | * |------+------| | ||
| 39 | * | FUNC | RGB | | ||
| 40 | * `-------------' | ||
| 41 | */ | ||
| 42 | [_QWERTY] = LAYOUT( \ | ||
| 43 | KC_1, KC_2, \ | ||
| 44 | KC_3, KC_4, \ | ||
| 45 | KC_5, KC_6, \ | ||
| 46 | MO(_FUNC), TG(_RGB) \ | ||
| 47 | ), | ||
| 48 | |||
| 49 | /* RGB | ||
| 50 | * ,-------------. | ||
| 51 | * | Mode-| Mode+| | ||
| 52 | * |------+------| | ||
| 53 | * | HUE- | HUE+ | | ||
| 54 | * |------+------| | ||
| 55 | * | SAT- | SAT+ | | ||
| 56 | * |------+------| | ||
| 57 | * |RGBTOG| | | ||
| 58 | * `-------------' | ||
| 59 | */ | ||
| 60 | [_RGB] = LAYOUT( \ | ||
| 61 | RGB_RMOD, RGB_MOD, \ | ||
| 62 | RGB_HUD, RGB_HUI, \ | ||
| 63 | RGB_SAD, RGB_SAI, \ | ||
| 64 | RGB_TOG, KC_TRNS \ | ||
| 65 | ), | ||
| 66 | |||
| 67 | /* Function | ||
| 68 | * ,-------------. | ||
| 69 | * | Q |CALDEL| | ||
| 70 | * |------+------| | ||
| 71 | * | A |TSKMGR| | ||
| 72 | * |------+------| | ||
| 73 | * | Z | X | | ||
| 74 | * |------+------| | ||
| 75 | * | | C | | ||
| 76 | * `-------------' | ||
| 77 | */ | ||
| 78 | [_FUNC] = LAYOUT( \ | ||
| 79 | KC_Q, CALTDEL, \ | ||
| 80 | KC_A, TSKMGR, \ | ||
| 81 | KC_Z, KC_X, \ | ||
| 82 | _______, RESET \ | ||
| 83 | ) | ||
| 84 | |||
| 85 | }; | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | #ifdef RGB_MATRIX_ENABLE | ||
| 91 | led_config_t g_led_config = { | ||
| 92 | { | ||
| 93 | { 7, 0 }, | ||
| 94 | { 6, 1 }, | ||
| 95 | { 5, 2 }, | ||
| 96 | { 4, 3 }, | ||
| 97 | },{ | ||
| 98 | { 121, 2 }, { 121, 23 }, | ||
| 99 | { 121, 41 }, { 121, 60 }, | ||
| 100 | { 103, 2 }, { 103, 23 }, | ||
| 101 | { 103, 41 }, { 103, 60 }, | ||
| 102 | },{ | ||
| 103 | 1, 1, 1, 1, | ||
| 104 | 1, 1, 1, 1, | ||
| 105 | } | ||
| 106 | }; | ||
| 107 | #endif | ||
diff --git a/keyboards/launchpad/keymaps/drashna/rules.mk b/keyboards/launchpad/keymaps/drashna/rules.mk new file mode 100644 index 000000000..463b85599 --- /dev/null +++ b/keyboards/launchpad/keymaps/drashna/rules.mk | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | BOOTLOADER = atmel-dfu | ||
| 2 | |||
| 3 | RGBLIGHT_ENABLE = no | ||
| 4 | AUDIO_ENABLE = no | ||
| 5 | BOOTMAGIC_ENABLE = lite | ||
| 6 | RGB_MATRIX_ENABLE = WS2812 | ||
diff --git a/keyboards/moonlander/keymaps/drashna/config.h b/keyboards/moonlander/keymaps/drashna/config.h index dd49eaf4b..e022722fe 100644 --- a/keyboards/moonlander/keymaps/drashna/config.h +++ b/keyboards/moonlander/keymaps/drashna/config.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* Copyright 2020 Drashna Jael're <drashna@live.com> | 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> |
| 2 | * | 2 | * |
| 3 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
| @@ -15,7 +15,8 @@ | |||
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | |||
| 19 | #pragma once | 18 | #pragma once |
| 20 | 19 | ||
| 21 | #define TAPPING_TERM_PER_KEY | 20 | #define TAPPING_TERM_PER_KEY |
| 21 | #define WAIT_FOR_USB | ||
| 22 | // #define NO_USB_STARTUP_CHECK | ||
diff --git a/keyboards/moonlander/keymaps/drashna/keymap.c b/keyboards/moonlander/keymaps/drashna/keymap.c index b8754673b..7daa5248f 100644 --- a/keyboards/moonlander/keymaps/drashna/keymap.c +++ b/keyboards/moonlander/keymaps/drashna/keymap.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* Copyright 2020 Drashna Jael're <drashna@live.com> | 1 | /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com> |
| 2 | * | 2 | * |
| 3 | * This program is free software: you can redistribute it and/or modify | 3 | * This program is free software: you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License as published by | 4 | * it under the terms of the GNU General Public License as published by |
| @@ -14,8 +14,6 @@ | |||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | |||
| 18 | |||
| 19 | #include "drashna.h" | 17 | #include "drashna.h" |
| 20 | 18 | ||
| 21 | #ifndef UNICODE_ENABLE | 19 | #ifndef UNICODE_ENABLE |
