summaryrefslogtreecommitdiff
path: root/users/horrortroll/horrortroll.h
diff options
context:
space:
mode:
authorHorrorTroll <sonicvipduc@gmail.com>2023-04-03 05:24:04 +0700
committerGitHub <noreply@github.com>2023-04-03 08:24:04 +1000
commitd3008110096db2ac098db9b5cb47ad77582c01d9 (patch)
treef31fa3ba7481f3621faec10e87ab4eef2fdf9e50 /users/horrortroll/horrortroll.h
parent27e6e27d3a2ff9d91bcf0f189cdc39509bef0335 (diff)
Add user horrortroll in userspace (#19769)
Diffstat (limited to 'users/horrortroll/horrortroll.h')
-rw-r--r--users/horrortroll/horrortroll.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/users/horrortroll/horrortroll.h b/users/horrortroll/horrortroll.h
new file mode 100644
index 0000000000..a251f74d6c
--- /dev/null
+++ b/users/horrortroll/horrortroll.h
@@ -0,0 +1,49 @@
+/* Copyright 2023 HorrorTroll <https://github.com/HorrorTroll>
+ *
+ * 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/>.
+ */
+
+#include "quantum.h"
+
+// Each layer gets a name for readability, which is then used in the keymap matrix below.
+// The underscores don't mean anything - you can have a layer called STUFF or any other name.
+// Layer names don't all need to be of the same length, obviously, and you can also skip them
+// entirely and just use numbers.
+
+enum layer_names {
+ _BASE,
+ _FN,
+};
+
+enum custom_keycodes {
+ //Custom Gradient control keycode
+ G1_HUI = SAFE_RANGE, //Custom gradient color 1 hue increase
+ G1_HUD, //Custom gradient color 1 hue decrease
+ G1_SAI, //Custom gradient color 1 saturation increase
+ G1_SAD, //Custom gradient color 1 saturation decrease
+ G1_VAI, //Custom gradient color 1 value increase
+ G1_VAD, //Custom gradient color 1 value decrease
+ G2_HUI, //Custom gradient color 2 hue increase
+ G2_HUD, //Custom gradient color 2 hue decrease
+ G2_SAI, //Custom gradient color 2 saturation increase
+ G2_SAD, //Custom gradient color 2 saturation decrease
+ G2_VAI, //Custom gradient color 2 value increase
+ G2_VAD, //Custom gradient color 2 value decrease
+ G_PRE, //Gradient presets
+ REF_G, //Toggle between linear and reflected gradient
+ G_FLIP, //Flip the gradient colors
+
+ //Custom led effect keycode
+ RGB_C_E, //Cycle user effect
+};