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

[Controller Request]: Amazon Fire Game Controller #907

Open
3 of 4 tasks
EnjoyJazz opened this issue Jan 22, 2025 · 3 comments
Open
3 of 4 tasks

[Controller Request]: Amazon Fire Game Controller #907

EnjoyJazz opened this issue Jan 22, 2025 · 3 comments

Comments

@EnjoyJazz
Copy link

Controller Name

Amazon Fire Game Controller

Current Controller Behaviour

Controller successfully pairs with the console but doesn't respond to inputs

Controller vendor and product ID

0x1949:0x0402

Supported Features

  • Rumble/Vibration
  • Motion Controls
  • Player Number Indicator
  • Battery Level Reporting

Input Report Format

01 80 7f 80 7f 00 00 00 00 00 5a 00 Default

01 80 7f 80 7f 00 00 01 00 00 5a 00 A
01 80 7f 80 7f 00 00 02 00 00 5a 00 B
01 80 7f 80 7f 00 00 08 00 00 5a 00 X
01 80 7f 80 7f 00 00 10 00 00 5a 00 Y

01 80 7f 80 7f 00 00 40 00 00 5a 00 L1
01 80 7f 80 7f 00 00 80 00 00 5a 00 R1
01 80 7f 80 7f ff 00 00 00 00 5a 00 L2
01 80 7f 80 7f 00 ff 00 00 00 5a 00 R2

01 80 7f 80 7f 00 00 00 00 01 5a 00 Dpad Up
01 80 7f 80 7f 00 00 00 00 05 5a 00 Dpad Down
01 80 7f 80 7f 00 00 00 00 07 5a 00 Dpad Left
01 80 7f 80 7f 00 00 00 00 03 5a 00 Dpad Right

01 80 00 80 7f 00 00 00 00 00 5a 00 Left Stick Up
01 80 ff 80 7f 00 00 00 00 00 5a 00 Left Stick Down
01 00 7f 80 7f 00 00 00 00 00 5a 00 Left Stick Left
01 ff 7f 80 7f 00 00 00 00 00 5a 00 Left Stick Right

01 80 7f 80 00 00 00 00 00 00 5a 00 Right Stick Up
01 80 7f 80 ff 00 00 00 00 00 5a 00 Right Stick Down
01 80 7f 00 7f 00 00 00 00 00 5a 00 Right Stick Left
01 80 7f ff 7f 00 00 00 00 00 5a 00 Right Stick Right

01 80 7f 80 7f 00 00 00 04 00 5a 00 Back button
01 80 7f 80 7f 00 00 00 08 00 5a 00 Menu Button
01 80 7f 80 7f 00 00 00 10 00 5a 00 Middle Button

Additional Details

Image

@EnjoyJazz EnjoyJazz changed the title [Controller Request]: [Controller Request]: Amazon Fire Game Controller Jan 22, 2025
@ndeadly
Copy link
Owner

ndeadly commented Jan 23, 2025

I will add a handler for this controller. Quick question: there are possibly few inputs missing, does the controller have analog stick buttons (ie. L3/R3) and is there anything else that changes for L2/R2 other than the `ff`` values (these are analog, but there is also often a digital value)? Also, which is the "middle" button you've noted above? In the picture I see a home button, and another one below it. One of these is missing from your transcription

@EnjoyJazz
Copy link
Author

EnjoyJazz commented Jan 23, 2025

Thanks for getting back so quickly.
To answer your questions:

  1. The analog sticks do indeed have buttons. I totally forgot about them.
  • 01 80 7F 80 7F 00 00 00 20 00 5a 00 Left Stick Button
  • 01 80 7F 80 7F 00 00 00 40 00 5a 00 Right Stick Button
  1. I did not see other values change for L2/R2.
  2. The "middle" button is the one below the home button. The home button (as well as the media control buttons) did not show any changes when pressed in your application so I omitted them in the report. When checking with hidapitester on a computer the home button gives me the following value (don't know if this is of much use to you):
  • 02 10 00 00 00 00 00 00 00 00 00 00 Home Button

@ndeadly
Copy link
Owner

ndeadly commented Jan 30, 2025

Ok, I've added these missing mappings. Next issue: the controller uses the same ID as another controller (ipega), so we need some other identifying feature to differentiate them. Can you find the name the controller is using? IIRC my btdb app will show that.

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