Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

joystick: stadio bluetooth #909

Open
gedw99 opened this issue Mar 11, 2023 · 1 comment
Open

joystick: stadio bluetooth #909

gedw99 opened this issue Mar 11, 2023 · 1 comment

Comments

@gedw99
Copy link

gedw99 commented Mar 11, 2023

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.

@gen2thomas gen2thomas changed the title stadio bluetooth joystick: stadio bluetooth Mar 13, 2023
@gen2thomas
Copy link
Collaborator

gen2thomas commented Mar 13, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants