Android-x86 5.1-rc1 - How to get the mouse pointer back?

3,370 views
Skip to first unread message

ma...@xemi.net

unread,
Oct 11, 2015, 9:46:35 PM10/11/15
to Android-x86
On Android-x86 5.1-rc1, I noticed the mouse pointer is still there but it does not allow you to directly click on the screen.  Instead there is a draggable circular cursor that you have to drag with the mouse to use to navigate/touch the screen.

On Previous versions (kit-kat) the mouse pointer was clicking stuff directly (and no draggable cursor existed), but now in lollipop, it's different.

Does anyone know how to get the mouse to be able to click without using the draggable cursor?

If not, I'll investigate later tonight....possibly the way lollipop determines the input type from driver has changed.

Chih-Wei Huang

unread,
Oct 11, 2015, 10:48:43 PM10/11/15
to Android-x86
What device did you test?
I didn't see any mouse pointer changed
on the devices I developed.

And what previous kitkat versions did you mean?

If possible, please provide the output of
'dumpsys input' of both versions.

--
Chih-Wei
Android-x86 project
http://www.android-x86.org

Jose Bonilla

unread,
Oct 13, 2015, 9:19:52 AM10/13/15
to Android-x86
I have also noticed the circular cursor which emulates finger gesture. The mouse cursor has been gone for me since 4.4 r2.

rvn...@gmail.com

unread,
Oct 14, 2015, 12:54:01 PM10/14/15
to Android-x86
Hello I have the same trouble, and i found a fix!

Doing dumpsys input

*** under Kitkat 4.4.4 ***

Event Hub State:
BuiltInKeyboardId: -2
Devices:
4: Touch Screen
Classes: 0x00000004
Path: /dev/input/event5
Descriptor: 5f5b3e1cf8d8ee2481e355172b5e4ed8b38f965d
Location: usb-0000:00:1d.0-1.3.2/input0
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0003, vendor=0x10c4, product=0xde03, version=0x0111
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile: /system/usr/idc/GenericTouch.idc
HaveKeyboardLayoutOverlay: false
....
Input Reader State:
Device 4: Touch Screen
Generation: 32
IsExternal: false
Sources: 0x00001002
KeyboardType: 0
Motion Ranges:
X: source=0x00001002, min=0.000, max=799.000, flat=0.000, fuzz=0.000, resolution=0.000
Y: source=0x00001002, min=0.000, max=479.000, flat=0.000, fuzz=0.000, resolution=0.000
PRESSURE: source=0x00001002, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
Touch Input Mapper:
Parameters:
GestureMode: spots
DeviceType: touchScreen
AssociatedDisplay: hasAssociatedDisplay=true, isExternal=false
OrientationAware: true
Raw Touch Axes:
X: min=0, max=1023, flat=0, fuzz=0, resolution=0
Y: min=0, max=1023, 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
Viewport: displayId=0, orientation=0, logicalFrame=[0, 0, 800, 480], physicalFrame=[0, 0, 800, 480], deviceSize=[800, 480]
SurfaceWidth: 800px
SurfaceHeight: 480px
SurfaceLeft: 0
SurfaceTop: 0
SurfaceOrientation: 0
Translation and Scaling Factors:
XTranslate: 0.000
YTranslate: 0.000
XScale: 0.781
YScale: 0.469
XPrecision: 1.280
YPrecision: 2.133
GeometricScale: 0.625
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

*** under Lollipop 5.1.1 ***
Event Hub State:
BuiltInKeyboardId: -2
Devices:
4: Touch Screen
Classes: 0x80000004
Path: /dev/input/event5
Descriptor: 5f5b3e1cf8d8ee2481e355172b5e4ed8b38f965d
Location: usb-0000:00:1d.0-1.3.2/input0
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0003, vendor=0x10c4, product=0xde03, version=0x0111
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile:
HaveKeyboardLayoutOverlay: false
...
Input Reader State:
Device 4: Touch Screen
Generation: 32
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=479.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
Touch Input Mapper:
Parameters:
GestureMode: spots
DeviceType: pointer
AssociatedDisplay: hasAssociatedDisplay=true, isExternal=false
OrientationAware: false
Raw Touch Axes:
X: min=0, max=1023, flat=0, fuzz=0, resolution=0
Y: min=0, max=1023, 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, 480], physicalFrame=[0, 0, 800, 480], deviceSize=[800, 480]
SurfaceWidth: 800px
SurfaceHeight: 480px
SurfaceLeft: 0
SurfaceTop: 0
SurfaceOrientation: 0
Translation and Scaling Factors:
XTranslate: 0.000
YTranslate: 0.000
XScale: 0.781
YScale: 0.469
XPrecision: 1.280
YPrecision: 2.133
GeometricScale: 0.625
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.515
YMovementScale: 0.515
XZoomScale: 0.193
YZoomScale: 0.193
MaxSwipeWidth: 362.038666

Lollipop detect the Devicetype as: pointer and Kitkat as: touchscreen

If you take a look at:
https://source.android.com/devices/input/input-device-configuration-files.html

I just copy the GenericTouch.idc file (from Kitkat) in /system/usr/idc/ and rename it to Vendor_10c4_Product_de03.idc and it solved the problem in my case.

Don't forget to change the Vendor and product id according to your hardware...


Plamen Dimitrov

unread,
Jul 24, 2016, 10:39:28 PM7/24/16
to Android-x86
Great fix!

Mário Almeida

unread,
Jul 27, 2016, 11:54:29 PM7/27/16
to Android-x86
What were you using to virtualize Android x86? Qemu/VB/..?

I tried a similar fix in Qemu 2.6 with no success.

Thanks!

Plamen Dimitrov

unread,
Jul 30, 2016, 6:05:06 AM7/30/16
to Android-x86
In my case it worked fine with Qemu 2.3.1-16. As pointed out, don't forget to check your vendor and product id which in my case let to

Vendor_0627_Product_0001.idc

as the file name.

Raphael Beer

unread,
Dec 1, 2016, 12:10:26 PM12/1/16
to Android-x86
VBoxManage modifyvm <name|uuid> --mouse ps2

did the trick for me. The VM was for some reason set to --mouse usbtablet.

android-x86_64-6.0-r1
VirtualBox 5.1.10

For Qemu might -usbdevice <devname> be interesting.
http://wiki.qemu.org/download/qemu-doc.html#usb_005fdevices

On Monday, October 12, 2015 at 3:46:35 AM UTC+2, ma...@xemi.net wrote:
>
Reply all
Reply to author
Forward
0 new messages