summaryrefslogtreecommitdiffstats
path: root/users/byungyoonc/byungyoonc.h
diff options
context:
space:
mode:
authorChoi Byungyoon <byungyoonc@gmail.com>2022-01-13 13:59:45 +0900
committerGitHub <noreply@github.com>2022-01-12 20:59:45 -0800
commitaa9577b3714d2f0630c809df74b0a08623a9acda (patch)
tree5568d8dc155e47286e87719214dd30f7f5c03959 /users/byungyoonc/byungyoonc.h
parent731072fc5c280bb2da257b0ab2a9b601cebeb756 (diff)
[Keymap] Add personal keymap to GMMK Pro ANSI (#15314)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'users/byungyoonc/byungyoonc.h')
-rw-r--r--users/byungyoonc/byungyoonc.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/users/byungyoonc/byungyoonc.h b/users/byungyoonc/byungyoonc.h
new file mode 100644
index 0000000000..6d82370a01
--- /dev/null
+++ b/users/byungyoonc/byungyoonc.h
@@ -0,0 +1,27 @@
+/* Copyright 2021 Choi Byungyoon <byungyoonc@gmail.com>
+ *
+ * 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
+
+enum custom_keycodes {
+ KC_SEC1 = SAFE_RANGE,
+ KC_SEC2
+};
+
+#define KC_TASK LCTL(LSFT(KC_ESC))
+#define KC_MMUT LSG(KC_A)
+
+bool process_record_user_kb(uint16_t keycode, keyrecord_t *record);