You are not logged in.

#1 2019-08-18 14:22:02

Annjue
Member
Registered: 2019-08-18
Posts: 1

Wrong input device detection

I have a Logitech F510 gamepad and would like to use it in games. However, most of the games use /dev/input/js0 as default gamepad, which I can't change. Also I have a Huion Tablet and an internal laptop accelerometer (HP Pavillion 15p-107nr) which are handled as gamepads too. As seen in /proc/bus/input/devices/ they both have js* input handlers:

I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="ST LIS3LV02DL Accelerometer"
P: Phys=lis3lv02d/input0
S: Sysfs=/devices/platform/lis3lv02d/input/input13
U: Uniq=
H: Handlers=event10 js1
B: PROP=0
B: EV=9
B: ABS=7

I: Bus=0003 Vendor=256c Product=006e Version=010b
N: Name="TABLET Pen Tablet Pad"
P: Phys=usb-0000:00:10.0-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:10.0/usb1/1-2/1-2:1.0/0003:256C:006E.000E/input/input39
U: Uniq=
H: Handlers=event8 js0
B: PROP=0
B: EV=1b
B: KEY=800 30000000003ff 0 0 0 0
B: ABS=3
B: MSC=10

What I want to achieve is to force my Logitech gamepad to js0, either by somehow removing joystick handlers from these two devices or by something else.
Any help appreciated!

Last edited by Annjue (2019-08-18 14:23:11)

Offline

#2 2019-08-18 14:41:06

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,093

Offline

Board footer

Powered by FluxBB