MissionControl icon indicating copy to clipboard operation
MissionControl copied to clipboard

[Controller Request]: Amazon Fire Game Controller

Open EnjoyJazz opened this issue 11 months ago • 6 comments

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

  • [x] Rumble/Vibration
  • [ ] Motion Controls
  • [x] Player Number Indicator
  • [x] 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 avatar Jan 22 '25 16:01 EnjoyJazz

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

ndeadly avatar Jan 23 '25 19:01 ndeadly

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

EnjoyJazz avatar Jan 23 '25 21:01 EnjoyJazz

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.

ndeadly avatar Jan 30 '25 20:01 ndeadly

Hi I tried using the btdb app but unfortunately it crashed while starting. Is there any other way to get the name of the controller? By connecting it to a computer maybe?

EnjoyJazz avatar Feb 07 '25 13:02 EnjoyJazz

On newer firmwares (17.0.0+) you need to disable Mission Control in order to load btdb. There are not enough free handles available for accessing one of the services it requires with Mission Control claiming one.

ndeadly avatar Feb 07 '25 13:02 ndeadly

Okay great, that worked. Thank you for the explanation. btdb gave me the following output for the controller:

10:ae:60:4d:af:c6 1949:0402 Amazon Fire Game Controller

EnjoyJazz avatar Feb 13 '25 20:02 EnjoyJazz

@ndeadly is there any information from my side still missing? would love to have this controller available :)

EnjoyJazz avatar Sep 09 '25 17:09 EnjoyJazz

Oh sorry, I totally forgot about this one. I think if all the buttons were working it just needs a workaround to stop it being detected as an ipega controller. Try this

MissionControl-0.13.5-amazon-fire-dfc95e22.zip

ndeadly avatar Sep 09 '25 19:09 ndeadly

I just got around to testing: This works! Thank you

EnjoyJazz avatar Sep 14 '25 13:09 EnjoyJazz