webos-gamepad icon indicating copy to clipboard operation
webos-gamepad copied to clipboard

Gamepads sometimes gets input sometimes not

Open Superd22 opened this issue 3 years ago • 1 comments

Gamepads seem finicky with bluetooth2. They always register in /proc/bus/input/devices but not in their /dev/input/eventN ...

Probably same issue than originally reported at https://github.com/webosbrew/apps-repo/issues/20#issuecomment-1133489660

Superd22 avatar Aug 11 '22 00:08 Superd22

/dev/hidrawN is always working

On first connect /input/eventN is set and gamepad works. On subsequent connect /input/eventN does not work anymore.

rm -rf /input/eventN allows reconnection. But event recreated with wrong permission, changing chmod+chown and relaunching native apps solves the issue.

Still don't know what the underlying issue is, but could be used as an automated workaround.

Superd22 avatar Aug 11 '22 17:08 Superd22