I released a new version of contrib.glfw3 with a workaround/bug fix. I wanted to point out that there is the same issue that was created on 10/22 for the built-in implementation. That was never addressed. I also wanted to point out that SDL2 also suffers from the same issue...
I found this issue while working on a project using ImGui.
Release notes:
Implemented workaround for #4: Using Super + "Key" on macOS results in "Key" not being released.
Due to the broken state of javascript handling the Super/Meta key, there is no good solution. The workaround implemented, releases all keys when Super is released. Although not a perfect solution, it guarantees that the state is eventually consistent:
if "Key" was released while "Super" was held, then when "Super" gets released, "Key" is released (later than when actually released, final state is consistent: "Key" in Release state)
if "Key" is still held when "Super" is released, "Key" is released when "Super" gets released, but immediately gets a down event (Up/Down event, final state is consistent": "Key" in Pressed state)
I released a new version of contrib.glfw3 with a workaround/bug fix. I wanted to point out that there is the same issue that was created on 10/22 for the built-in implementation. That was never addressed. I also wanted to point out that SDL2 also suffers from the same issue...
I found this issue while working on a project using ImGui.
Release notes:
Super/Meta
key, there is no good solution. The workaround implemented, releases all keys whenSuper
is released. Although not a perfect solution, it guarantees that the state is eventually consistent:Release
state)Pressed
state)