aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/kyria/keymaps/gotham/keycodes.h
diff options
context:
space:
mode:
authorGautham Yerroju <gautham.yerroju@gmail.com>2020-06-13 01:24:13 -0700
committerGitHub <noreply@github.com>2020-06-13 01:24:13 -0700
commit4057d44989e2ee83ca3b171bdb1a29bc9f3ae0cd (patch)
treef74840f3af9af8ed245748fb430e363594a3d8c3 /keyboards/kyria/keymaps/gotham/keycodes.h
parent2bfcb6bfc5766ede2b63041af3a163408caa6ad9 (diff)
downloadfirmware-4057d44989e2ee83ca3b171bdb1a29bc9f3ae0cd.tar.gz
firmware-4057d44989e2ee83ca3b171bdb1a29bc9f3ae0cd.tar.bz2
firmware-4057d44989e2ee83ca3b171bdb1a29bc9f3ae0cd.zip
[Keymap] Add Kyria keymap (#9224)
* Add Kyria keymap * clean split hand detection code * rename "joystick" to "thumbstick" * thumbstick overhaul * removed angle correction, seems buggy * save some memory * Remove deprecated config option * Use the correct types for getting host led states * Fix include path * Made .h files for encoder and oled code * Increase speed cap on thumbstick
Diffstat (limited to 'keyboards/kyria/keymaps/gotham/keycodes.h')
-rw-r--r--keyboards/kyria/keymaps/gotham/keycodes.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/keyboards/kyria/keymaps/gotham/keycodes.h b/keyboards/kyria/keymaps/gotham/keycodes.h
new file mode 100644
index 000000000..0730d4925
--- /dev/null
+++ b/keyboards/kyria/keymaps/gotham/keycodes.h
@@ -0,0 +1,16 @@
+#pragma once
+
+#include "quantum.h"
+
+enum layers { _QWERTY = 0, _LOWER, _RAISE, _ADJUST };
+
+enum custom_keycodes {
+ ENC_MODE_L = SAFE_RANGE,
+ ENC_MODE_R,
+ TMB_MODE,
+};
+
+#define ESC_RAISE LT(_RAISE, KC_ESC)
+#define BSLS_RAISE LT(_RAISE, KC_BSLS)
+#define SFT_QUOT MT(MOD_RSFT, KC_QUOT)
+#define CTL_MINS MT(MOD_RCTL, KC_MINS)