summaryrefslogtreecommitdiff
path: root/tmk_core
diff options
context:
space:
mode:
authorKonstantin Đorđević <vomindoraan@gmail.com>2020-04-12 20:37:55 +0200
committerGitHub <noreply@github.com>2020-04-12 11:37:55 -0700
commit370577e4ed1a714e818bf11cc870e4915f82e93b (patch)
tree86d7ebc5a59caaa2de0576279727ff8dda43c76b /tmk_core
parent6e84247ec2289b66ecbe5ad51643344145587558 (diff)
Add *OPT aliases for *ALT keycodes and macros (#8714)
Diffstat (limited to 'tmk_core')
-rw-r--r--tmk_core/common/keycode.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/common/keycode.h b/tmk_core/common/keycode.h
index e1059fadf0..5c8ba8fe60 100644
--- a/tmk_core/common/keycode.h
+++ b/tmk_core/common/keycode.h
@@ -152,11 +152,13 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Modifiers */
#define KC_LCTL KC_LCTRL
#define KC_LSFT KC_LSHIFT
+#define KC_LOPT KC_LALT
#define KC_LCMD KC_LGUI
#define KC_LWIN KC_LGUI
#define KC_RCTL KC_RCTRL
#define KC_RSFT KC_RSHIFT
#define KC_ALGR KC_RALT
+#define KC_ROPT KC_RALT
#define KC_RCMD KC_RGUI
#define KC_RWIN KC_RGUI