File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
src/main/kotlin/com/lambda/util Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -59,13 +59,6 @@ object InputUtils : Loadable {
5959 .also { lastPressedKeys.clear() }
6060 .onEach { (key, state) -> lastPressedKeys[key] = state }
6161
62- // FixMe: If you are pressing two or more keys considered 'modifier' keys, you must release both of them at the
63- // same time in order to receive an update stipulating that the last key (not actually a modifier) was released alongside its modifiers.
64- // For the time being, I will allow this as players can still bind unique 'modifier' keys with no issues.
65-
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-
6962 val mods = pressedKeys.keys
7063 .filter { it in GLFW_KEY_LEFT_SHIFT .. GLFW_KEY_RIGHT_SUPER && lastPressedKeys.keys.firstOrNull()?.equals(it) == false }
7164 .foldRight(0 ) { v, acc -> acc or modMap.getValue(v) }
You can’t perform that action at this time.
0 commit comments