summaryrefslogtreecommitdiffstats
path: root/users/xtonhasvim/fancylighting.h
diff options
context:
space:
mode:
authorxton <cmdpix@mac.com>2018-08-28 19:54:17 -0400
committerDrashna Jaelre <drashna@live.com>2018-08-28 16:54:17 -0700
commit3892829d74119b1fe771b4b51c665448a433da1e (patch)
tree7c871491e2ffd3dd0fc3adcf1fa83b2cce859cd4 /users/xtonhasvim/fancylighting.h
parent3c209830558c5911ed7446c026ba4d38fdbfe83e (diff)
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.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/users/xtonhasvim/fancylighting.h b/users/xtonhasvim/fancylighting.h
new file mode 100644
index 0000000000..982010d3d5
--- /dev/null
+++ b/users/xtonhasvim/fancylighting.h
@@ -0,0 +1,35 @@
+p /* Copyright 2015-2017 Christon DeWan
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef _fancy_lighting_h
+#define _fancy_lighting_h
+#ifdef RGBLIGHT_ENABLE
+
+#include "xtonhasvim.h"
+
+extern uint8_t user_rgb_mode;
+extern LED_TYPE shadowed_led[];
+
+void start_firey_return(void);
+
+#endif //_fancy_lighting_h
+
+enum xtonhasvim_rgbmodes {
+ BREATH_FIRE = 1,
+ FADE_BACK
+};
+
+#endif //RGBLIGHT_ENABLE