2 Copyright 2017 Christopher Courtney <drashna@live.com> @drashna
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 #include "song_list.h"
44 #define MODS_SHIFT_MASK (MOD_BIT(KC_LSHIFT)|MOD_BIT(KC_RSHIFT))
45 #define MODS_CTRL_MASK (MOD_BIT(KC_LCTL)|MOD_BIT(KC_RCTRL))
46 #define MODS_ALT_MASK (MOD_BIT(KC_LALT)|MOD_BIT(KC_RALT))
47 #define MODS_GUI_MASK (MOD_BIT(KC_LGUI)|MOD_BIT(KC_RGUI))
49 #ifdef RGBLIGHT_ENABLE
50 #define rgblight_set_blue rgblight_sethsv (0xFF, 0xFF, 0xFF);
51 #define rgblight_set_red rgblight_sethsv (0x00, 0xFF, 0xFF);
52 #define rgblight_set_green rgblight_sethsv (0x78, 0xFF, 0xFF);
53 #define rgblight_set_orange rgblight_sethsv (0x1E, 0xFF, 0xFF);
54 #define rgblight_set_teal rgblight_sethsv (0xC3, 0xFF, 0xFF);
55 #define rgblight_set_magenta rgblight_sethsv (0x12C, 0xFF, 0xFF);
56 #define rgblight_set_yellow rgblight_sethsv (0x3C, 0xFF, 0xFF);
57 #define rgblight_set_purple rgblight_sethsv (0x10E, 0xFF, 0xFF);
60 extern bool is_overwatch;
61 extern bool rgb_layer_change;
63 enum userrpace_custom_keycodes {
64 PLACEHOLDER = SAFE_RANGE, // can always be here
95 NEW_SAFE_RANGE //use "NEWPLACEHOLDER for keymap specific codes
98 #ifdef TAP_DANCE_ENABLE
108 #define QMK_KEYS_PER_SCAN 4
110 #ifdef RGBLIGHT_ENABLE
111 #define RGBLIGHT_SLEEP