mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Added super modifier bit.
Edited during merge.
This commit is contained in:
committed by
Camilla Berglund
parent
3bcffba24a
commit
eff85f9500
@@ -70,6 +70,8 @@ int translateState(int state)
|
||||
mods |= GLFW_MOD_CONTROL;
|
||||
if (state & Mod1Mask)
|
||||
mods |= GLFW_MOD_ALT;
|
||||
if (state & Mod4Mask)
|
||||
mods |= GLFW_MOD_SUPER;
|
||||
|
||||
return mods;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user