diff options
| author | xton <cmdpix@mac.com> | 2018-08-28 19:54:17 -0400 |
|---|---|---|
| committer | Drashna Jaelre <drashna@live.com> | 2018-08-28 16:54:17 -0700 |
| commit | 3892829d74119b1fe771b4b51c665448a433da1e (patch) | |
| tree | 7c871491e2ffd3dd0fc3adcf1fa83b2cce859cd4 /users/xtonhasvim/fancylighting.h | |
| parent | 3c209830558c5911ed7446c026ba4d38fdbfe83e (diff) | |
| download | qmk_firmware-3892829d74119b1fe771b4b51c665448a433da1e.tar.gz qmk_firmware-3892829d74119b1fe771b4b51c665448a433da1e.zip | |
Keymap: xtonhasvim updates (#3768)
* cherrypicking file changes just for updates
* removed unused heat foo
* avoid defining own min/max
* add license
* formatting
Diffstat (limited to 'users/xtonhasvim/fancylighting.h')
| -rw-r--r-- | users/xtonhasvim/fancylighting.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/users/xtonhasvim/fancylighting.h b/users/xtonhasvim/fancylighting.h new file mode 100644 index 000000000..982010d3d --- /dev/null +++ b/users/xtonhasvim/fancylighting.h | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | p /* Copyright 2015-2017 Christon DeWan | ||
| 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 | #ifndef _fancy_lighting_h | ||
| 18 | #define _fancy_lighting_h | ||
| 19 | #ifdef RGBLIGHT_ENABLE | ||
| 20 | |||
| 21 | #include "xtonhasvim.h" | ||
| 22 | |||
| 23 | extern uint8_t user_rgb_mode; | ||
| 24 | extern LED_TYPE shadowed_led[]; | ||
| 25 | |||
| 26 | void start_firey_return(void); | ||
| 27 | |||
| 28 | #endif //_fancy_lighting_h | ||
| 29 | |||
| 30 | enum xtonhasvim_rgbmodes { | ||
| 31 | BREATH_FIRE = 1, | ||
| 32 | FADE_BACK | ||
| 33 | }; | ||
| 34 | |||
| 35 | #endif //RGBLIGHT_ENABLE | ||
