Superd22 / webos-gamepad

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gamepads sometimes gets input sometimes not

Superd22 opened this issue · comments

commented

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 webosbrew/apps-repo#20 (comment)

commented

/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.