question

T. Scott avatar image
T. Scott asked

Kindle Fire HDX 7" input sources problem

I'm preparing to release a game to the Amazon App Store. I have the following test devices: Kindle Fire 1st gen: works fine Kindle Fire HD 7: works fine Kindle Fire HDX 7: works fine, BUT the application is detecting that the device has a gamepad. In the last case, because the game detects a gamepad, it puts up extra controls and provides a "Controls" page which shows a standard gamepad with callouts for what the different buttons do. This will obviously confuse players if they don't have an actual gamepad connected to the device. My code for detecting gamepad presence is this: InputDevice currDevice = InputDevice.getDevice(currDeviceId); int nDeviceSourceBits = currDevice.getSources(); On the Kindle Fire HDX 7, nDeviceSourceBits is reporting the value 0x80000501. According to: http://developer.android.com/reference/android/view/InputDevice.html ...that value indicates the presence of a SOURCE_GAMEPAD and SOURCE_KEYBOARD. The topmost bit (0x80000000) doesn't correlate to anything on that Android page. So, I'm confused on two counts: 1) Why is the Kindle Fire HDX 7 reporting that it has a gamepad (SOURCE_GAMEPAD) 2) What does the topmost bit (0x80000000) indicate? This value is not documented on the Google API site. Thanks, --tim
fire tablet
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

T. Scott avatar image
T. Scott answered
Forgot to mention, the Kindle Fire HDX has this version of software on it: 13.3.1.0_user_310079820. --tim
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Scott, Thank you for writing to us. I have forwarded this to the appropriate team. I will post back after getting response from them.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

T. Scott avatar image
T. Scott answered
It's been two weeks. Any updates on this?
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Sorry for too late response. The input device in question is msm8974-taiko-tablet-snd-card, which is the Snapdragon 800 chipset. We will fix the issue in subsequent OS updates.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.