File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
src/main/kotlin/com/lambda/util Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,9 @@ object InputUtils : Loadable {
6363 // same time in order to receive an update stipulating that the last key (not actually a modifier) was released alongside its modifiers.
6464 // For the time being, I will allow this as players can still bind unique 'modifier' keys with no issues.
6565
66+ // FixMe: The order in which modifier keys are ordered is wrong. When a user presses Left Control + Left Alt, the user must
67+ // press Left Alt + Left Control as the modifier key in order for the event to satisfies the bind
68+
6669 val mods = pressedKeys.keys
6770 .filter { it in GLFW_KEY_LEFT_SHIFT .. GLFW_KEY_RIGHT_SUPER && lastPressedKeys.keys.firstOrNull()?.equals(it) == false }
6871 .foldRight(0 ) { v, acc -> acc or modMap.getValue(v) }
You can’t perform that action at this time.
0 commit comments