You are not logged in.

#1 2014-10-29 02:09:13

droideparanoico
Member
Registered: 2014-10-29
Posts: 1

Logitech Dual Action and xboxdrv

I can't make it work. It is recognized, here's lsusb output:

Bus 006 Device 007: ID 046d:c216 Logitech, Inc. Dual Action Gamepad

I followed the wiki to mimic the Xbox 360 controller: https://wiki.archlinux.org/index.php/joystick

So I determined my gamepad's input with evtest and then I tried to map it with:

sudo xboxdrv --evdev /dev/input/event1 \
     --evdev-absmap ABS_X=x1,ABS_Y=y1,ABS_RZ=x2,ABS_Z=y2,ABS_HAT0X=dpad_x,ABS_HAT0Y=dpad_y \
     --axismap -Y1=Y1,-Y2=Y2 \
     --evdev-keymap BTN_TRIGGER=x,BTN_TOP=y,BTN_THUMB=a,BTN_THUMB2=b,BTN_BASE3=back,BTN_BASE4=start,BTN_BASE=lt,BTN_BASE2=rt,BTN_TOP2=lb,BTN_PINKIE=rb,BTN_BASE5=tl,BTN_BASE6=tr \
     --mimic-xpad --silent

Getting this output:

xboxdrv 0.8.5 - http://pingus.seul.org/~grumbel/xboxdrv/ 
Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmx.de> 
Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 
This program comes with ABSOLUTELY NO WARRANTY. 
This is free software, and you are welcome to redistribute it under certain 
conditions; see the file COPYING for details. 


Your Xbox/Xbox360 controller should now be available as:
  /dev/input/js2
  /dev/input/event17

Press Ctrl-c to quit

But no new input device is created, no matter if I reboot. Am I missing something?

Offline

Board footer

Powered by FluxBB