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

[Feature Request] Add keyboard gamepad emulation #59

Open
12buntu opened this issue Mar 20, 2021 · 2 comments
Open

[Feature Request] Add keyboard gamepad emulation #59

12buntu opened this issue Mar 20, 2021 · 2 comments

Comments

@12buntu
Copy link

12buntu commented Mar 20, 2021

Hey, I'm not sure if this is even technically possible, I haven't really looked at the code, but it would be really cool if the keyboard could emulate gamepad button presses when viewing FTC dashboard.

@Sam948-byte
Copy link

Sam948-byte commented Nov 23, 2021

I think it should be since all you would have to do is map some of the gamepad keys to the controller values. I'm going to take a look and see what I can find.

Edit: I might be wrong, but I think what you would have to do is add a new case on gamepadMiddleware.ts There's probably some other stuff you would have to change as well, but that would be where I would start.

@wangxdflight
Copy link

That would be a very cool feature if it is available. Most of the time of my working with FTC SW, I just use an android phone and dashboard (to launch opModes). The only limitation I feel has been the lack of gamepad.
I thought of adding a customized gamepad implementation in FTC teamcode, and it can receive commands via network socket from another JAVA GUI app. It would be much better if gamepad inputs can be directly generated from buttons on the dashboard.

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

No branches or pull requests

3 participants