diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-05-27 23:34:20 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-05-27 23:34:20 -0700 |
commit | f4235a1741ef7927147d53adae1adf8584fdfe0d (patch) | |
tree | 0530aa1bb3db5a607ee1ef4427fdd13b35b2026f | |
parent | 0fab1b499df3eb887786526b4c38827c2027a1e8 (diff) | |
download | text.love-f4235a1741ef7927147d53adae1adf8584fdfe0d.tar.gz |
tweak modifier keys to include 'shift'
-rw-r--r-- | keychord.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/keychord.lua b/keychord.lua index 07e34cb..323c028 100644 --- a/keychord.lua +++ b/keychord.lua @@ -17,8 +17,11 @@ function App.combine_modifiers(key) if down('lalt') or down('ralt') then result = result..'M-' end + if down('lshift') or down('rshift') then + result = result..'S-' -- don't try to use this with letters/digits + end if down('lgui') or down('rgui') then - result = result..'S-' + result = result..'s-' end result = result..key return result |