hybridgroup/gobot

joystick: stadio bluetooth

gedw99 opened this issue · 1 comments

gedw99 commented

gobot.io/x/gobot/platforms/joystick does not work with stadia.

I tried ps3 and ps4


joystickAdaptor := joystick.NewAdaptor()
stick := joystick.NewDriver(joystickAdaptor, "dualshock4")

stadia has bluetooth and works fine with MAC and other desktops.

It works with IOS, but is buggy and boot loops the bluetooth controller in the ios device. anyways, dont need it for mobile.

I am on dev branch btw.

If someone has any tips on how to write an adapter for stadia, please shout and i can start and pr it back upstream.

Hi @gedw99 , I have no experience with joysticks, but IMO you can start with a json file, created with the help of the scanner.go file. If this works a PR would be wonderful. Good luck!