tweak modifier keys to include 'shift'
This commit is contained in:
parent
0fab1b499d
commit
f4235a1741
|
@ -17,8 +17,11 @@ function App.combine_modifiers(key)
|
||||||
if down('lalt') or down('ralt') then
|
if down('lalt') or down('ralt') then
|
||||||
result = result..'M-'
|
result = result..'M-'
|
||||||
end
|
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
|
if down('lgui') or down('rgui') then
|
||||||
result = result..'S-'
|
result = result..'s-'
|
||||||
end
|
end
|
||||||
result = result..key
|
result = result..key
|
||||||
return result
|
return result
|
||||||
|
|
Loading…
Reference in New Issue