Closed ghost closed 3 years ago
is the total silence for a month because of an obscure target? maybe someone could point me to relevant files? is fixing this at all possible? are there workarounds for this?
i am sorry for pestering with this comment, but i really need this functionality.
This is a hobby project, maintained by only a single person. One month is nothing. The code is here: https://github.com/Kode/Kinc/blob/master/Backends/System/Linux/Sources/kinc/backend/input/gamepad.cpp
Well i got something working, but i'm not sure if solution is at all acceptable.
should i make a PR or is it better to just continue investigating?
Sounds more complicated than I expected but please always feel free to send pull-requests even if something isn't necessarily ready to be merged yet - that way I can help figuring things out.
Describe the bug After calling Gamepad.notifyOnConnect(), listeners specified are never called, even though Gamepad.get() with hardcoded indices returns working Gamepad instances.
To Reproduce Steps to reproduce the behavior:
Expected behavior calling Gamepad.notifyOnConnect() causes specified listeners to be called when gamepad is connected or disconnected
Execution Environment:
Additional context I would settle for Gamepad.get() with hardcoded indices, but they do not reconnect when gamepad connection is restored after disconnect