View Issue Details

IDProjectCategoryView StatusLast Update
0019848Runner[All Projects] Input DevicesPublic2019-08-16 14:26
ReporterStewart BishopAssigned ToCoreTech 
PriorityMediumSeverityB - MajorReproducibility100%
Status AssignedResolutionOpen 
Product Version 
Target VersionFixed in Version 
Summary0019848: Input Devices: Amazon Gamepad needs more support for its custom features
DescriptionAt current if you wish to use the Amazon Gamepad you'll find that it works if you use the system_event to find the correct pad_index and if you get the description of it then it will return the correct name however it will show that it has 40 Buttons if you check the button count which would make it seem like a generic device rather than being properly implemeneted to use all 21 Buttons (19 only required as two return you to the home screen).

We also don't have any way to call constants on the Amazon specific buttons also these seem to differ per controller so I'll list them per controller:

"Amazon Fire Game Controller"

gp_AmazonBack
gp_AmazonHome
gp_AmazonGamesCentre
gp_AmazonMenu
gp_AmazonMediaBack
gp_AmazonMediaPlayPause
gp_AmazonMediaForward

"Amazon Pro Controller" - This provides the same description as the dev controller even though they are clearly different

gp_AmazonBack
gp_AmazonHome
gp_AmazonMicrophone
gp_AmazonMenu

"Amazon Remote" - This doesn't have a description

This has the circle pad which I'm assuming should just map to the D-Pad or left Axis?

gp_AmazonBack
gp_AmazonHome
gp_AmazonMenu
gp_AmazonMicrophone
gp_AmazonMediaBack
gp_AmazonMediaPlayPause
gp_AmazonMediaForward

I'm not sure if these can overwrite the default functionality but if they can we should provide functionality to allow users to do so so that they can use a generic start and select button found on most controllers for example.
Steps To Reproduce1) Run the attached sample
2) On screen information shows the above information
3) Press the buttons to get some debug information in your ADB log to see these work
4) Move the analog sticks to see the object move and rotate
TagsAmazonFire, android, Gamepad, Runner
1.4 Found In1.4.1682
2.x Runtime Found In
2.x Runtime Verified In

Activities

Stewart Bishop

2015-12-03 10:32

Adminstrator  

Input.gmz (18,999 bytes)

Dan

2015-12-03 11:24

Adminstrator   ~0041086

You can also lose the gamepad if you press one of the system buttons - no system event fires when the game resumes, so you won't detect the pad after that point.