summaryrefslogtreecommitdiff
path: root/keyboards/keychron/q1/rev_0102/keymaps/kubahorak/keymap_user.h
diff options
context:
space:
mode:
authorJakub HorĂ¡k <jakub@horak.io>2021-12-27 02:42:01 +0000
committerGitHub <noreply@github.com>2021-12-27 13:42:01 +1100
commit743f78022127ad15e8ad4c736375516735469d63 (patch)
tree9caecae80bc341295890e1f85576c3712a651ce7 /keyboards/keychron/q1/rev_0102/keymaps/kubahorak/keymap_user.h
parent093d5c9991c42ec428d89aeec24c6df2200ff7b3 (diff)
[Keymap] Add keymap for the Keychron Q1 ISO layout (#14853)
* Add keymap for the Keychron Q1 ISO layout - The rightest key column is: Ins, Home, PgUp, PgDn, which differs from the default. - RGB lighting turns off when the computer sleeps - Caps Lock and alpha keys turn red to indicate when Caps Lock is on - When the Fn layer is active, RGB lighting turns off for keys that are not assigned * Update keyboards/keychron/q1/rev_0102/keymaps/kubahorak/rgb_matrix_user.c Suggestion from review Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/keychron/q1/rev_0102/keymaps/kubahorak/keymap_user.h')
-rw-r--r--keyboards/keychron/q1/rev_0102/keymaps/kubahorak/keymap_user.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/keychron/q1/rev_0102/keymaps/kubahorak/keymap_user.h b/keyboards/keychron/q1/rev_0102/keymaps/kubahorak/keymap_user.h
new file mode 100644
index 0000000000..728114d556
--- /dev/null
+++ b/keyboards/keychron/q1/rev_0102/keymaps/kubahorak/keymap_user.h
@@ -0,0 +1,28 @@
+/* Copyright 2021 @ Grayson Carr
+ *
+ * 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/>.
+ */
+
+#pragma once
+
+// clang-format off
+
+enum layers {
+ MAC_BASE,
+ MAC_FN,
+ WIN_BASE,
+ WIN_FN
+};
+
+// clang-format on