This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
qmk_firmware
mirror of
https://github.com/qmk/qmk_firmware/
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
1.6k
Wiki
Activity
Browse Source
Merge pull request
#1004
from jackhumbert/hf/scmd
Adds SCMD and SCMD_T
pull/1002/merge
Erez Zukerman
7 years ago
committed by
GitHub
parent
176b93d08e
7288e5ab9c
commit
0fde5a34e2
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
quantum/quantum_keycodes.h
+ 4
- 0
quantum/quantum_keycodes.h
View File
@ -159,6 +159,8 @@ enum quantum_keycodes {
#
define MEH(kc) (kc | QK_LCTL | QK_LSFT | QK_LALT)
#
define LCAG(kc) (kc | QK_LCTL | QK_LALT | QK_LGUI)
#
define ALTG(kc) (kc | QK_RCTL | QK_RALT)
#
define SCMD(kc) (kc | QK_LGUI | QK_LSFT)
#
define SWIN(kc) SCMD(kc)
#
define MOD_HYPR 0xf
#
define MOD_MEH 0x7
@ -293,6 +295,8 @@ enum quantum_keycodes {
#
define MEH_T(kc) MT((MOD_LCTL | MOD_LSFT | MOD_LALT), kc)
/
/
Meh is a less hyper version of the Hyper key -- doesn't include Win or Cmd, so just alt+shift+ctrl
#
define LCAG_T(kc) MT((MOD_LCTL | MOD_LALT | MOD_LGUI), kc)
/
/
Left control alt and gui
#
define ALL_T(kc) MT((MOD_LCTL | MOD_LSFT | MOD_LALT | MOD_LGUI), kc)
/
/
see http:
/
/
brettterpstra.com
/
2012
/
12
/
08
/
a-useful-caps-lock-key
/
#
define SCMD_T(kc) MT((MOD_LGUI | MOD_LSFT), kc)
#
define SWIN_T(kc) SCMD_T(kc)
/
/
Dedicated
keycode
versions
for
Hyper
and
Meh
,
if
you
want
to
use
them
as
standalone
keys
rather
than
mod
-
tap
#
define KC_HYPR HYPR(KC_NO)
Write
Preview
Loading…
Cancel
Save