I've read thru that, but I'm still having trouble getting it working...
INPUT MANAGER (dumpsys input)
Event Hub State:
BuiltInKeyboardId: -2
Devices:
-1: Virtual
Classes: 0x40000023
Path: <virtual>
Descriptor: a718a782d34bc767f4689c232d64d527998ea7fd
Location:
ControllerNumber: 0
UniqueId: <virtual>
Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
KeyLayoutFile: /system/usr/keylayout/Generic.kl
KeyCharacterMapFile: /system/usr/keychars/Virtual.kcm
ConfigurationFile:
HaveKeyboardLayoutOverlay: false
1: ImExPS/2 Generic Explorer Mouse
Classes: 0x00000008
Path: /dev/input/event6
Descriptor: 6aa284bb39ab042267f19eb6334dcf88b2e54153
Location: isa0060/serio1/input0
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0011, vendor=0x0002, product=0x0006, version=0x0000
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile:
HaveKeyboardLayoutOverlay: false
2: Android Power Button
Classes: 0x00000001
Path: /dev/input/event5
Descriptor: 121a35665e29ab67eb240e688adc943dd337ad5c
Location:
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
KeyLayoutFile: /system/usr/keylayout/Generic.kl
KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
ConfigurationFile:
HaveKeyboardLayoutOverlay: false
3: Sleep Button
Classes: 0x00000001
Path: /dev/input/event1
Descriptor: 954faadc99bb5a7c1d0537b923e0490c90b47e98
Location: LNXSLPBN/button/input0
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0019, vendor=0x0000, product=0x0003, version=0x0000
KeyLayoutFile: /system/usr/keylayout/Generic.kl
KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
ConfigurationFile:
HaveKeyboardLayoutOverlay: false
5: AT Translated Set 2 keyboard
Classes: 0x00000003
Path: /dev/input/event4
Descriptor: 485d69228e24f5e46da1598745890b214130dbc4
Location: isa0060/serio0/input0
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0011, vendor=0x0001, product=0x0001, version=0xab41
KeyLayoutFile: /system/usr/keylayout/Generic.kl
KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
ConfigurationFile:
HaveKeyboardLayoutOverlay: false
6: QEMU 0.10.2 QEMU USB Tablet
Classes: 0x80000004
Path: /dev/input/event2
Descriptor: 1a121864461dff60a332e399a9a594b35df6f221
Location: usb-0000:00:01.2-2/input0
ControllerNumber: 0
UniqueId: 1
Identifier: bus=0x0003, vendor=0x0627, product=0x0001, version=0x0001
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile:
HaveKeyboardLayoutOverlay: false
Input Reader State:
Device -1: Virtual
Generation: 2
IsExternal: false
Sources: 0x00000301
KeyboardType: 2
Keyboard Input Mapper:
Parameters:
HasAssociatedDisplay: false
OrientationAware: false
HandlesKeyRepeat: false
KeyboardType: 2
Orientation: 0
KeyDowns: 0 keys currently down
MetaState: 0x0
DownTime: 0
Device 1: ImExPS/2 Generic Explorer Mouse
Generation: 15
IsExternal: false
Sources: 0x00002002
KeyboardType: 0
Motion Ranges:
X: source=0x00002002, min=0.000, max=799.000, flat=0.000, fuzz=0.000, resolution=0.000
Y: source=0x00002002, min=0.000, max=599.000, flat=0.000, fuzz=0.000, resolution=0.000
PRESSURE: source=0x00002002, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
VSCROLL: source=0x00002002, min=-1.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
HSCROLL: source=0x00002002, min=-1.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
Cursor Input Mapper:
Parameters:
HasAssociatedDisplay: true
Mode: pointer
OrientationAware: false
XScale: 1.000
YScale: 1.000
XPrecision: 1.000
YPrecision: 1.000
HaveVWheel: true
HaveHWheel: true
VWheelScale: 1.000
HWheelScale: 1.000
Orientation: 0
ButtonState: 0x00000000
Down: false
DownTime: 0
Device 2: Android Power Button
Generation: 10
IsExternal: false
Sources: 0x00000101
KeyboardType: 1
Keyboard Input Mapper:
Parameters:
HasAssociatedDisplay: false
OrientationAware: false
HandlesKeyRepeat: false
KeyboardType: 1
Orientation: 0
KeyDowns: 0 keys currently down
MetaState: 0x0
DownTime: 0
Device 3: Sleep Button
Generation: 8
IsExternal: false
Sources: 0x00000101
KeyboardType: 1
Keyboard Input Mapper:
Parameters:
HasAssociatedDisplay: false
OrientationAware: false
HandlesKeyRepeat: false
KeyboardType: 1
Orientation: 0
KeyDowns: 0 keys currently down
MetaState: 0x0
DownTime: 0
Device 5: AT Translated Set 2 keyboard
Generation: 6
IsExternal: false
Sources: 0x00000101
KeyboardType: 2
Keyboard Input Mapper:
Parameters:
HasAssociatedDisplay: false
OrientationAware: false
HandlesKeyRepeat: false
KeyboardType: 2
Orientation: 0
KeyDowns: 0 keys currently down
MetaState: 0x0
DownTime: 377096679000
Device 6: QEMU 0.10.2 QEMU USB Tablet
Generation: 16
IsExternal: true
Sources: 0x00002002
KeyboardType: 0
Motion Ranges:
X: source=0x00002002, min=0.000, max=799.000, flat=0.000, fuzz=0.000, resolution=0.000
Y: source=0x00002002, min=0.000, max=599.000, flat=0.000, fuzz=0.000, resolution=0.000
PRESSURE: source=0x00002002, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
VSCROLL: source=0x00002002, min=-1.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
Touch Input Mapper:
Parameters:
GestureMode: spots
DeviceType: pointer
AssociatedDisplay: hasAssociatedDisplay=true, isExternal=false
OrientationAware: false
Raw Touch Axes:
X: min=0, max=32767, flat=0, fuzz=0, resolution=0
Y: min=0, max=32767, flat=0, fuzz=0, resolution=0
Pressure: unknown range
TouchMajor: unknown range
TouchMinor: unknown range
ToolMajor: unknown range
ToolMinor: unknown range
Orientation: unknown range
Distance: unknown range
TiltX: unknown range
TiltY: unknown range
TrackingId: unknown range
Slot: unknown range
Calibration:
touch.size.calibration: none
touch.pressure.calibration: none
touch.orientation.calibration: none
touch.distance.calibration: none
touch.coverage.calibration: none
Affine Transformation:
X scale: 1.000
X ymix: 0.000
X offset: 0.000
Y xmix: 0.000
Y scale: 1.000
Y offset: 0.000
Viewport: displayId=0, orientation=0, logicalFrame=[0, 0, 800, 600], physicalFrame=[0, 0, 800, 600], deviceSize=[800, 600]
SurfaceWidth: 800px
SurfaceHeight: 600px
SurfaceLeft: 0
SurfaceTop: 0
SurfaceOrientation: 0
Translation and Scaling Factors:
XTranslate: 0.000
YTranslate: 0.000
XScale: 0.024
YScale: 0.018
XPrecision: 40.960
YPrecision: 54.613
GeometricScale: 0.021
PressureScale: 0.000
SizeScale: 0.000
OrientationScale: 0.000
DistanceScale: 0.000
HaveTilt: false
TiltXCenter: 0.000
TiltXScale: 0.000
TiltYCenter: 0.000
TiltYScale: 0.000
Last Button State: 0x00000000
Last Raw Touch: pointerCount=0
Last Cooked Touch: pointerCount=0
Pointer Gesture Detector:
XMovementScale: 0.017
YMovementScale: 0.017
XZoomScale: 0.006
YZoomScale: 0.006
MaxSwipeWidth: 11585.237305
Configuration:
ExcludedDeviceNames: [Power Button]
VirtualKeyQuietTime: 0.0ms
PointerVelocityControlParameters: scale=3.364, lowThreshold=500.000, highThreshold=3000.000, acceleration=3.000
WheelVelocityControlParameters: scale=1.000, lowThreshold=15.000, highThreshold=50.000, acceleration=4.000
PointerGesture:
Enabled: true
QuietInterval: 100.0ms
DragMinSwitchSpeed: 50.0px/s
TapInterval: 150.0ms
TapDragInterval: 300.0ms
TapSlop: 20.0px
MultitouchSettleInterval: 100.0ms
MultitouchMinDistance: 15.0px
SwipeTransitionAngleCosine: 0.3
SwipeMaxWidthRatio: 0.2
MovementSpeedRatio: 0.8
ZoomSpeedRatio: 0.3
Input Dispatcher State:
DispatchEnabled: 1
DispatchFrozen: 0
FocusedApplication: name='AppWindowToken{23e7070a token=Token{1c4d9b75 ActivityRecord{25762ac u0 com.icecoldapps.serversultimate/.viewStart1 t23}}}', dispatchingTimeout=5000.000ms
FocusedWindow: name='Window{67f9093 u0 com.android.launcher3/com.android.launcher3.Launcher}'
TouchStatesByDisplay:
0: down=false, split=false, deviceId=6, source=0x00002002
Windows: <none>
Windows:
0: name='Window{1085a176 u0 SearchPanel}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01820100, type=0x000007e8, layer=211000, frame=[0,0][800,600], scale=1.000000, touchableRegion=[0,0][800,600], inputFeatures=0x00000000, ownerPid=1760, ownerUid=10018, dispatchingTimeout=5000.000ms
1: name='Window{16784be4 u0 NavigationBar}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=true, canReceiveKeys=false, flags=0x01840048, type=0x000007e3, layer=201000, frame=[0,561][800,600], scale=1.000000, touchableRegion=[0,561][800,600], inputFeatures=0x00000000, ownerPid=1760, ownerUid=10018, dispatchingTimeout=5000.000ms
2: name='Window{1c8f337c u0 Heads Up}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01820328, type=0x000007de, layer=161000, frame=[0,0][800,0], scale=1.000000, touchableRegion=<empty>, inputFeatures=0x00000000, ownerPid=1760, ownerUid=10018, dispatchingTimeout=5000.000ms
3: name='Window{321ceb95 u0 StatusBar}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=true, canReceiveKeys=false, flags=0x81840048, type=0x000007d0, layer=151000, frame=[0,0][800,20], scale=1.000000, touchableRegion=[0,0][800,20], inputFeatures=0x00000000, ownerPid=1760, ownerUid=10018, dispatchingTimeout=5000.000ms
4: name='Window{169cca23 u0 KeyguardScrim}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01110900, type=0x000007ed, layer=131000, frame=[0,0][800,561], scale=1.000000, touchableRegion=[0,0][800,561], inputFeatures=0x00000000, ownerPid=1666, ownerUid=1000, dispatchingTimeout=5000.000ms
5: name='Window{67f9093 u0 com.android.launcher3/com.android.launcher3.Launcher}', displayId=0, paused=false, hasFocus=true, hasWallpaper=true, visible=true, canReceiveKeys=true, flags=0x81910120, type=0x00000001, layer=21015, frame=[0,0][800,600], scale=1.000000, touchableRegion=[0,0][800,600], inputFeatures=0x00000000, ownerPid=1868, ownerUid=10044, dispatchingTimeout=5000.000ms
6: name='Window{2d0944a2 u0 com.icecoldapps.serversultimate/com.icecoldapps.serversultimate.viewStart1}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01820022, type=0x00000002, layer=21010, frame=[164,152][635,428], scale=1.000000, touchableRegion=[0,0][800,600], inputFeatures=0x00000000, ownerPid=3315, ownerUid=10062, dispatchingTimeout=5000.000ms
7: name='Window{b75ec04 u0 com.icecoldapps.serversultimate/com.icecoldapps.serversultimate.viewStart1}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01810120, type=0x00000001, layer=21005, frame=[0,0][800,561], scale=1.000000, touchableRegion=[0,0][800,600], inputFeatures=0x00000000, ownerPid=3315, ownerUid=10062, dispatchingTimeout=5000.000ms
8: name='Window{11bc8ebd u0 com.android.systemui.ImageWallpaper}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=true, canReceiveKeys=false, flags=0x00000318, type=0x000007dd, layer=21000, frame=[0,0][1920,1280], scale=1.000000, touchableRegion=[0,0][1920,1280], inputFeatures=0x00000000, ownerPid=1760, ownerUid=10018, dispatchingTimeout=5000.000ms
MonitoringChannels:
0: 'WindowManager (server)'
RecentQueue: length=10
MotionEvent(deviceId=6, source=0x00002002, action=2, flags=0x00000000, metaState=0x00000000, buttonState=0x00000001, edgeFlags=0x00000000, xPrecision=0.0, yPrecision=0.0, displayId=0, pointers=[0: (685.4, 264.1)]), policyFlags=0x62000000, age=31522.9ms
MotionEvent(deviceId=6, source=0x00002002, action=1, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, edgeFlags=0x00000000, xPrecision=0.0, yPrecision=0.0, displayId=0, pointers=[0: (685.4, 264.1)]), policyFlags=0x62000000, age=31247.2ms
MotionEvent(deviceId=6, source=0x00002002, action=7, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, edgeFlags=0x00000000, xPrecision=0.0, yPrecision=0.0, displayId=0, pointers=[0: (685.4, 264.1)]), policyFlags=0x62000000, age=31247.2ms
MotionEvent(deviceId=6, source=0x00002002, action=0, flags=0x00000000, metaState=0x00000000, buttonState=0x00000001, edgeFlags=0x00000000, xPrecision=0.0, yPrecision=0.0, displayId=0, pointers=[0: (685.4, 264.1)]), policyFlags=0x62000001, age=31129.2ms
MotionEvent(deviceId=6, source=0x00002002, action=1, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, edgeFlags=0x00000000, xPrecision=0.0, yPrecision=0.0, displayId=0, pointers=[0: (685.4, 264.1)]), policyFlags=0x62000000, age=31005.6ms
MotionEvent(deviceId=6, source=0x00002002, action=7, flags=0x00000000, metaState=0x00000000, buttonState=0x00000000, edgeFlags=0x00000000, xPrecision=0.0, yPrecision=0.0, displayId=0, pointers=[0: (685.4, 264.1)]), policyFlags=0x62000000, age=31005.6ms
KeyEvent(deviceId=5, source=0x00000101, action=0, flags=0x00000008, keyCode=61, scanCode=15, metaState=0x00000000, repeatCount=0), policyFlags=0x62000000, age=21955.6ms
KeyEvent(deviceId=5, source=0x00000101, action=1, flags=0x00000008, keyCode=61, scanCode=15, metaState=0x00000000, repeatCount=0), policyFlags=0x62000000, age=21837.5ms
KeyEvent(deviceId=5, source=0x00000101, action=0, flags=0x00000008, keyCode=3, scanCode=125, metaState=0x00000000, repeatCount=0), policyFlags=0x62000000, age=18464.2ms
KeyEvent(deviceId=5, source=0x00000101, action=1, flags=0x00000008, keyCode=3, scanCode=125, metaState=0x00000000, repeatCount=0), policyFlags=0x62000000, age=18464.1ms
PendingEvent: <none>
InboundQueue: <empty>
ReplacedKeys: <empty>
Connections:
0: channelName='WindowManager (server)', windowName='monitor', status=NORMAL, monitor=true, inputPublisherBlocked=false
OutboundQueue: <empty>
WaitQueue: <empty>
1: channelName='169cca23 KeyguardScrim (server)', windowName='Window{169cca23 u0 KeyguardScrim}', status=NORMAL, monitor=false, inputPublisherBlocked=false
OutboundQueue: <empty>
WaitQueue: <empty>
2: channelName='1c8f337c Heads Up (server)', windowName='Window{1c8f337c u0 Heads Up}', status=NORMAL, monitor=false, inputPublisherBlocked=false
OutboundQueue: <empty>
WaitQueue: <empty>
3: channelName='321ceb95 StatusBar (server)', windowName='Window{321ceb95 u0 StatusBar}', status=NORMAL, monitor=false, inputPublisherBlocked=false
OutboundQueue: <empty>
WaitQueue: <empty>
4: channelName='1085a176 SearchPanel (server)', windowName='Window{1085a176 u0 SearchPanel}', status=NORMAL, monitor=false, inputPublisherBlocked=false
OutboundQueue: <empty>
WaitQueue: <empty>
5: channelName='16784be4 NavigationBar (server)', windowName='Window{16784be4 u0 NavigationBar}', status=NORMAL, monitor=false, inputPublisherBlocked=false
OutboundQueue: <empty>
WaitQueue: <empty>
6: channelName='11bc8ebd com.android.systemui.ImageWallpaper (server)', windowName='Window{11bc8ebd u0 com.android.systemui.ImageWallpaper}', status=NORMAL, monitor=false, inputPublisherBlocked=false
OutboundQueue: <empty>
WaitQueue: <empty>
7: channelName='2d0944a2 com.icecoldapps.serversultimate/com.icecoldapps.serversultimate.viewStart1 (server)', windowName='Window{2d0944a2 u0 com.icecoldapps.serversultimate/com.icecoldapps.serversultimate.viewStart1}', status=NORMAL, monitor=false, inputPublisherBlocked=false
OutboundQueue: <empty>
WaitQueue: <empty>
8: channelName='67f9093 com.android.launcher3/com.android.launcher3.Launcher (server)', windowName='Window{67f9093 u0 com.android.launcher3/com.android.launcher3.Launcher}', status=NORMAL, monitor=false, inputPublisherBlocked=false
OutboundQueue: <empty>
WaitQueue: <empty>
9: channelName='b75ec04 com.icecoldapps.serversultimate/com.icecoldapps.serversultimate.viewStart1 (server)', windowName='Window{b75ec04 u0 com.icecoldapps.serversultimate/com.icecoldapps.serversultimate.viewStart1}', status=NORMAL, monitor=false, inputPublisherBlocked=false
OutboundQueue: <empty>
WaitQueue: <empty>
AppSwitch: not pending
Configuration:
KeyRepeatDelay: 50.0ms
KeyRepeatTimeout: 500.0ms
Here is the file I tried creating as /system/usr/idc/Vendor_0002_Product_0006.idc
# touch.deviceType = pointer | touchPad | pointer | default
touch.deviceType = pointer
# orientationAware
# touch.orientationAware = 0 or 1
touch.orientationAware = 0
# gestureMode
# Definition: touch.gestureMode = pointer | spots | default
touch.gestureMode = pointer
# Definition: device.internal = 0 | 1
device.internal = 1
It still gives me the "draggable circle touch thingy" and not a standard cursor like before. PS: this is from 5.1