AGM A9 32Gb+4Gb Dual LTE [76/118] Sensors

AGM A9 32Gb+4Gb Dual LTE [76/118] Sensors
D-pad right
1
Left shoulder button
1
0x09 0x0007 KEYCODE_BUTTON_L1 (102)
Right shoulder button
1
0x09 0x0008 KEYCODE_BUTTON_R1 (103)
Left stick click
1
0x09 0x000E KEYCODE_BUTTON_THUMBL (106)
Right stick click
1
0x09 0x000F KEYCODE_BUTTON_THUMBR (107)
Home
1
0x0c 0x0223 KEYCODE_HOME (3)
Back
1
0x0c 0x0224 KEYCODE_BACK (4)
1 KeyEvent
2 The above HID usages must be declared within a Game pad CA (0x01 0x0005).
3 This usage must have a Logical Minimum of 0, a Logical Maximum of 7, a Physical Minimum of 0, a Physical
Maximum of 315, Units in Degrees, and a Report Size of 4. The logical value is defined to be the clockwise
rotation away from the vertical axis; for example, a logical value of 0 represents no rotation and the up button
being pressed, while a logical value of 1 represents a rotation of 45 degrees and both the up and left keys
being pressed.
4 MotionEvent
Analog Controls
1
HID Usage Android Button
Left Trigger 0x02 0x00C5 AXIS_LTRIGGER
Right Trigger 0x02 0x00C4 AXIS_RTRIGGER
Left Joystick
0x01 0x0030
0x01 0x0031
AXIS_X
AXIS_Y
Right Joystick
0x01 0x0032
0x01 0x0035
AXIS_Z
AXIS_RZ
1 MotionEvent
7.2.7. Remote Control
See Section 2.3.1 for device-specific requirements.
7.3. Sensors
If device implementations include a particular sensor type that has a corresponding API for third-
party developers, the device implementation MUST implement that API as described in the Android
SDK documentation and the Android Open Source documentation on sensors .
Device implementations:
[C-0-1] MUST accurately report the presence or absence of sensors per the
android.content.pm.PackageManager class.
[C-0-2] MUST return an accurate list of supported sensors via the
SensorManager.getSensorList() and similar methods.
[C-0-3] MUST behave reasonably for all other sensor APIs (for example, by returning true
or false as appropriate when applications attempt to register listeners, not calling sensor
listeners when the corresponding sensors are not present; etc.).
If device implementations include a particular sensor type that has a corresponding API for third-
party developers, they:
Page 76 of 118

Содержание

Похожие устройства

Скачать