Hello.
I have a Logitech Cordless Rumblepad 2.
The system is Debian GNU/Linux Jessie/Testing X64.
According to evtest, my gamepad has the following event tags :
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x46d product 0xc219 version 0x110
Input device name: "Logitech Logitech Cordless RumblePad 2"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 304 (BTN_SOUTH)
Event code 305 (BTN_EAST)
Event code 306 (BTN_C)
Event code 307 (BTN_NORTH)
Event code 308 (BTN_WEST)
Event code 309 (BTN_Z)
Event code 310 (BTN_TL)
Event code 311 (BTN_TR)
Event code 312 (BTN_TL2)
Event code 313 (BTN_TR2)
Event code 314 (BTN_SELECT)
Event code 315 (BTN_START)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 0
Min 0
Max 255
Flat 15
Event code 1 (ABS_Y)
Value 0
Min 0
Max 255
Flat 15
Event code 2 (ABS_Z)
Value 0
Min 0
Max 255
Flat 15
Event code 5 (ABS_RZ)
Value 0
Min 0
Max 255
Flat 15
Event code 16 (ABS_HAT0X)
Value 0
Min -1
Max 1
Event code 17 (ABS_HAT0Y)
Value 0
Min -1
Max 1
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Event type 21 (EV_FF)
Event code 80 (FF_RUMBLE)
Event code 81 (FF_PERIODIC)
Event code 88 (FF_SQUARE)
Event code 89 (FF_TRIANGLE)
Event code 90 (FF_SINE)
Event code 96 (FF_GAIN)
Given the button position I made the following remap config file :
# Xboxdrv configuration for the Logitech Cordless RumblePad 2 USB controller
# xboxdrv --config rumblepad2.xboxdrv
[xboxdrv]
evdev = /dev/input/by-id/usb-Logitech_Logitech_Cordless_RumblePad_2-
event-joystick
evdev-grab = true
mimic-xpad = true
silent = true
[axismap]
-Y1 = Y1
-Y2 = Y2
[evdev-absmap]
ABS_X = DPAD_X
ABS_Y = DPAD_Y
ABS_HAT0X = X1
ABS_HAT0Y = Y1
ABS_Z = X2
ABS_RZ = Y2
[evdev-keymap]
BTN_EAST = A
BTN_C = B
BTN_SOUTH = X
BTN_NORTH = Y
BTN_Z = RB
BTN_TR = RT
BTN_WEST = LB
BTN_TL = LT
BTN_TR2 = START
BTN_TL2 = BACK
BTN_SELECT = TL
BTN_START = TR
Running "xboxdrv --config rumblepad2.xboxdrv" shows me the following error :
-- [ ERROR ] ------------------------------------------------------
couldn't convert 'BTN_EAST' to enum, not a member of EV_KEY
Yes, "xboxdrv --help-key | grep BTN_EAST" shows an empty line.
I downloaded the 0.8.5 source code.
In the file key_list.x that button tag didn't exist.
I updated it running gem_event_lists.rb script. Now the file has the tags I
need.
I then build the xboxdrv binary.
But after running "./xboxdrv --help-key | grep BTN_EAST" it still show me
an empty line.
Any suggestions on how I can add support for my pad?
Thanks for reading.
--
You received this message because you are subscribed to the Google Groups
"xboxdrv" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/xboxdrv.
For more options, visit https://groups.google.com/d/optout.