I have a USB gamepad, which is working *almost* perfectly. It's a 2 axis (just X and y on a D-pad, no joysticks), 10-button gamepad, and I've listed everything from usbview below.
The only problem this device is having is that what should be the X and Y axes are instead axes 3 and 4, respectively.
Basically, I need to switch around the axes. I use KDE
Does anyone know of a way to do this?
I tried using the X11 joystick module, using the MapAxisX options to try to convince X to switch the axes around, but X11 decided not to like the joystick at all:
(**) Option "Device" "/dev/input/js0"
(**) Option "SendCoreEvents"
(**) GamePad: always reports core events
(**) Option "MapAxis3" "axis=x"
(**) Option "MapAxis4" "axis=y"
(II) evaluating device (GamePad)
(II) XINPUT: Adding extended input device "GamePad" (type: MOUSE)
(II) evaluating device (Mouse0)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
(II) evaluating device (Keyboard0)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(EE) Joystick: ioctl EVIOCGVERSION on '/dev/input/js0' failed: Invalid argument
(II) Joystick: GreenAsia Inc. USB Joystick . 6 axes, 10 buttons
(II) Mouse0: ps2EnableDataReporting: succeeded
Fatal server error:
Bad valuators reported for device GamePad
Info from usbview:
Manufacturer: GreenAsia Inc.
Speed: 1.5Mb/s (low)
USB Version: 1.00
Device Class: 00(>ifc )
Device Subclass: 00
Device Protocol: 00
Maximum Default Endpoint Size: 8
Number of Configurations: 1
Vendor Id: 0e8f
Product Id: 0002
Revision Number: 1.07
Config Number: 1
Number of Interfaces: 1
MaxPower Needed: 500mA
Interface Number: 0
Alternate Number: 0
Class: 03(HID )
Sub Class: 00
Number of Endpoints: 1
Endpoint Address: 81
Max Packet Size: 8