diff options
Diffstat (limited to 'keyboards/orthodox/keymaps/drashna/config.h')
| -rw-r--r-- | keyboards/orthodox/keymaps/drashna/config.h | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/keyboards/orthodox/keymaps/drashna/config.h b/keyboards/orthodox/keymaps/drashna/config.h index 4719c2269..585c91640 100644 --- a/keyboards/orthodox/keymaps/drashna/config.h +++ b/keyboards/orthodox/keymaps/drashna/config.h | |||
| @@ -34,41 +34,40 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 34 | 34 | ||
| 35 | /* key combination for magic key command */ | 35 | /* key combination for magic key command */ |
| 36 | #undef IS_COMMAND | 36 | #undef IS_COMMAND |
| 37 | #define IS_COMMAND() ( \ | 37 | #define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LALT))) |
| 38 | get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_LALT)) \ | ||
| 39 | ) | ||
| 40 | 38 | ||
| 41 | #ifdef RGBLIGHT_ENABLE | 39 | #ifdef RGBLIGHT_ENABLE |
| 42 | # define RGB_DI_PIN D3 | 40 | # define RGB_DI_PIN D3 |
| 43 | # define RGBLED_NUM 16 // Number of LEDs | 41 | # define RGBLED_NUM 16 // Number of LEDs |
| 44 | # define RGBLED_SPLIT { 8, 8 } | 42 | # define RGBLED_SPLIT \ |
| 45 | 43 | { 8, 8 } | |
| 46 | # define RGBLIGHT_HUE_STEP 12 | 44 | |
| 47 | # define RGBLIGHT_SAT_STEP 12 | 45 | # define RGBLIGHT_HUE_STEP 12 |
| 48 | # define RGBLIGHT_VAL_STEP 12 | 46 | # define RGBLIGHT_SAT_STEP 12 |
| 49 | # define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2 | 47 | # define RGBLIGHT_VAL_STEP 12 |
| 50 | # define RGBLIGHT_EFFECT_SNAKE_LENGTH 2 | 48 | # define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2 |
| 51 | #endif // RGBLIGHT_ENABLE | 49 | # define RGBLIGHT_EFFECT_SNAKE_LENGTH 2 |
| 50 | #endif // RGBLIGHT_ENABLE | ||
| 52 | 51 | ||
| 53 | #ifdef AUDIO_ENABLE | 52 | #ifdef AUDIO_ENABLE |
| 54 | # define C6_AUDIO | 53 | # define C6_AUDIO |
| 55 | # ifdef RGBLIGHT_ENABLE | 54 | # ifdef RGBLIGHT_ENABLE |
| 56 | # define NO_MUSIC_MODE | 55 | # define NO_MUSIC_MODE |
| 57 | # endif | 56 | # endif |
| 58 | #endif //AUDIO_ENABLE | 57 | #endif // AUDIO_ENABLE |
| 59 | 58 | ||
| 60 | #undef PRODUCT | 59 | #undef PRODUCT |
| 61 | #ifdef KEYBOARD_orthodox_rev1 | 60 | #ifdef KEYBOARD_orthodox_rev1 |
| 62 | # define PRODUCT Drashna Hacked Orthodox Rev.1 | 61 | # define PRODUCT Drashna Hacked Orthodox Rev .1 |
| 63 | #elif KEYBOARD_orthodox_rev3 | 62 | #elif KEYBOARD_orthodox_rev3 |
| 64 | # define PRODUCT Drashna Hacked Orthodox Rev.3 | 63 | # define PRODUCT Drashna Hacked Orthodox Rev .3 |
| 65 | #endif | 64 | #endif |
| 66 | 65 | ||
| 67 | #define QMK_ESC_OUTPUT D7 // usually COL | 66 | #define QMK_ESC_OUTPUT D7 // usually COL |
| 68 | #ifdef KEYBOARD_orthodox_rev1 | 67 | #ifdef KEYBOARD_orthodox_rev1 |
| 69 | # define QMK_ESC_INPUT D4 // usually ROW | 68 | # define QMK_ESC_INPUT D4 // usually ROW |
| 70 | #else | 69 | #else |
| 71 | # define QMK_ESC_INPUT D2 // usually ROW | 70 | # define QMK_ESC_INPUT D2 // usually ROW |
| 72 | #endif | 71 | #endif |
| 73 | #define QMK_LED B0 | 72 | #define QMK_LED B0 |
| 74 | #define QMK_SPEAKER C6 | 73 | #define QMK_SPEAKER C6 |
