Xiaomi Pocophone F1 128Gb+6Gb Dual LTE [75/118] Game controller support

Xiaomi Pocophone F1 128Gb+6Gb Dual LTE [75/118] Game controller support
If device implementations declare support for android.hardware.faketouch , they:
[C-1-1] MUST report the absolute X and Y screen positions of the pointer location and
display a visual pointer on the screen.
[C-1-2] MUST report touch event with the action code that specifies the state change that
occurs on the pointer going down or up on the screen .
[C-1-3] MUST support pointer down and up on an object on the screen, which allows users
to emulate tap on an object on the screen.
[C-1-4] MUST support pointer down, pointer up, pointer down then pointer up in the same
place on an object on the screen within a time threshold, which allows users to emulate
double tap on an object on the screen.
[C-1-5] MUST support pointer down on an arbitrary point on the screen, pointer move to
any other arbitrary point on the screen, followed by a pointer up, which allows users to
emulate a touch drag.
[C-1-6] MUST support pointer down then allow users to quickly move the object to a
different position on the screen and then pointer up on the screen, which allows users to
fling an object on the screen.
[C-1-7] MUST report TOUCHSCREEN_NOTOUCH for the Configuration.touchscreen API field.
If device implementations declare support for android.hardware.faketouch.multitouch.distinct , they:
[C-2-1] MUST declare support for android.hardware.faketouch .
[C-2-2] MUST support distinct tracking of two or more independent pointer inputs.
If device implementations declare support for android.hardware.faketouch.multitouch.jazzhand , they:
[C-3-1] MUST declare support for android.hardware.faketouch .
[C-3-2] MUST support distinct tracking of 5 (tracking a hand of fingers) or more pointer
inputs fully independently.
7.2.6. Game Controller Support
7.2.6.1. Button Mappings
If device implementations declare the android.hardware.gamepad feature flag, they: [C-1-1] MUST have
embed a controller or ship with a separate controller in the box, that would provide means to input all
the events listed in the below tables. [C-1-2] MUST be capable to map HID events to it's associated
Android view.InputEvent constants as listed in the below tables. The upstream Android implementation
includes implementation for game controllers that satisfies this requirement.
Button
HID Usage
2
Android Button
A
1
0x09 0x0001 KEYCODE_BUTTON_A (96)
B
1
0x09 0x0002 KEYCODE_BUTTON_B (97)
X
1
0x09 0x0004 KEYCODE_BUTTON_X (99)
Y
1
0x09 0x0005 KEYCODE_BUTTON_Y (100)
D-pad up
1
D-pad down
1
0x01 0x0039
3
AXIS_HAT_Y
4
D-pad left 1
0x01 0x0039
3
AXIS_HAT_X
4
Page 75 of 118

Содержание

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

Скачать