shortcuts treat lgui/rgui as ctrl key

This commit is contained in:
airstruck
2016-01-25 16:46:09 -05:00
parent c8197bf1db
commit 01f958fb6c

View File

@@ -21,7 +21,7 @@ end
function Input:getModifierFlags ()
local alt = Backend.isKeyDown('lalt', 'ralt') and 1 or 0
local ctrl = Backend.isKeyDown('lctrl', 'rctrl') and 2 or 0
local ctrl = Backend.isKeyDown('lctrl', 'rctrl', 'lgui', 'rgui') and 2 or 0
local shift = Backend.isKeyDown('lshift', 'rshift') and 4 or 0
return alt + ctrl + shift