How to prevent left analog stick of joystick from being recognized as mouse?

226 views
Skip to first unread message

Wing Chun Lau

unread,
Sep 15, 2019, 9:02:24 PM9/15/19
to Android-x86
Hi all,

I was able to pair up my ipega 9083 joystick via bluetooth on my Surface Go on Android x86 8.1 r2 k49. The control works fine but there is one thing that bothers me: the left analog stick was recognized as mouse and it moves the cursor on the screen. I paired this same controller in the same mode to my Galaxy S8 and it doesn't show similar behavior.

Is there a way for me to suppress the left analog stick from being recognized as mouse, while still able to use the buttons like a joystick?

Thanks!

Below are my device details:

I: Bus=0005 Vendor=1949 Product=0402 Version=011b

N: Name="PG-9083"

P: Phys=

S: Sysfs=/devices/virtual/misc/uhid/0005:1949:0402.0010/input/input44

U: Uniq=36:9E:DD:E9:B6:98

H: Handlers=kbd mouse0 event2 js0

B: PROP=0

B: EV=1f

B: KEY=ffff000000070000 0 103a40000c00 c000000000000 0

B: REL=103

B: ABS=30627

B: MSC=10

Chih-Wei Huang

unread,
Sep 16, 2019, 3:10:50 AM9/16/19
to Android-x86
You may need to provide logcat for details about
the input devices. Also get the logcat of S8
for comparison.

Wing Chun Lau <johnn...@gmail.com> 於 2019年9月16日 週一 上午9:02寫道:
> --
> You received this message because you are subscribed to the Google Groups "Android-x86" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to android-x86...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/android-x86/db773077-ddaf-480c-b0c2-476020cee444%40googlegroups.com.



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

Wing Chun Lau

unread,
Oct 6, 2019, 2:13:26 AM10/6/19
to Android-x86
1. When i tried adb logcat to my Surface Go, no log messages appear even when I try to move the joystick. Any specific commands I may use?

2. I found the left analog stick is treated as mouse cursor under 8.1-r2-k49. However, the left analog stick works fine under 8.1-r2.
Would this give a hint on what might be the difference? 

On Monday, September 16, 2019 at 3:10:50 PM UTC+8, Chih-Wei Huang wrote:
You may need to provide logcat for details about
the input devices. Also get the logcat of S8
for comparison.

Wing Chun Lau <johnn...@gmail.com> 於 2019年9月16日 週一 上午9:02寫道:
>
> Hi all,
>
> I was able to pair up my ipega 9083 joystick via bluetooth on my Surface Go on Android x86 8.1 r2 k49. The control works fine but there is one thing that bothers me: the left analog stick was recognized as mouse and it moves the cursor on the screen. I paired this same controller in the same mode to my Galaxy S8 and it doesn't show similar behavior.
>
> Is there a way for me to suppress the left analog stick from being recognized as mouse, while still able to use the buttons like a joystick?
>
> Thanks!
>
> Below are my device details:
>
> I: Bus=0005 Vendor=1949 Product=0402 Version=011b
>
> N: Name="PG-9083"
>
> P: Phys=
>
> S: Sysfs=/devices/virtual/misc/uhid/0005:1949:0402.0010/input/input44
>
> U: Uniq=36:9E:DD:E9:B6:98
>
> H: Handlers=kbd mouse0 event2 js0
>
> B: PROP=0
>
> B: EV=1f
>
> B: KEY=ffff000000070000 0 103a40000c00 c000000000000 0
>
> B: REL=103
>
> B: ABS=30627
>
> B: MSC=10
>
> --
> You received this message because you are subscribed to the Google Groups "Android-x86" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to andro...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages