u3d-community / U3D

Open-source, cross-platform 2D and 3D game engine built in C++
https://u3d.io
MIT License
191 stars 30 forks source link

Fix web gamepads #58

Open SirNate0 opened 12 months ago

SirNate0 commented 12 months ago
SirNate0 commented 11 months ago

I just realized, my changes seem to have broken key press detection (key down works fine, but key presses seem to be missed \~99% of the time).

Correction: I think key-presses are triggering twice, which would toggle the DebugHud on and off with the same key press. (It also broke my jumping code, but that is a separate issue). Interestingly, there is still something different going on with the 1% of cases, so more investigation is needed.