mirror of
https://github.com/airstruck/luigi.git
synced 2025-11-18 12:25:06 +00:00
shortcuts treat lgui/rgui as ctrl key
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user