Help With Dosbox "xboxdrv" Driver
i also made an
and made a pc.cfg
inside that xdrive folder
with this located inside the pc.cfg
[xboxdrv] silent=true deadzone=4000 deadzone-trigger=15% dpad-as-button=false trigger-as-button=true detach-kernel-driver=true #force-feedback=true mimic-xpad=true [evdev-absmap] ABS_X=x1 ABS_Y=y1 ABS_Z=x2 ABS_RZ=y2 ABS_HAT0X=dpad_x ABS_HAT0Y=dpad_y [evdev-keymap] BTN_SOUTH=a BTN_EAST=b BTN_NORTH=x BTN_WEST=y BTN_TL=lb BTN_TL2=lt BTN_TR=rb BTN_TR2=rt BTN_SELECT=back BTN_START=start BTN_THUMBL=tl BTN_THUMBR=tr [ui-axismap] x1=KEY_LEFT:KEY_RIGHT y1=KEY_DOWN:KEY_UP dpad_x=REL_X:10 dpad_y=REL_Y:10 [ui-buttonmap] a=BTN_LEFT b=KEY_LEFTCTRL x=KEY_ENTER y=KEY_R lb=KEY_C lt=KEY_A rb=KEY_SPACE rt=KEY_D back=KEY_F5 start=KEY_ESC tr=KEY_K tl=KEY_Y # EOF #
the left button works like a left click
the right button works as well
d pad does not worki as a mouse (pointer does not move)
any help ?
escc1986 last edited by escc1986
ExarKunIv last edited by
@escc1986 everything looks good and as far as i know it should work as is.
i was going to be messing with a few dos game myself today with my xboxdrv.
so ill let you know what i find
yeah the controller dpad doest work , weird ...
please let me know your results , Thank you
"dpad does not work " sorry for the misspell
i got it to work in dosbox here is what i did
place this in roms/pc/+Start DOSBox.sh
sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv >> /dev/shm/runcommand.log 2>&1 --evdev /dev/input/event0 --config /opt/retropie/configs/all//xdrive/pc.cfg &
place this in pc.cfg
[xboxdrv] silent=true deadzone=4000 deadzone-trigger=15% dpad-as-button=false trigger-as-button=true detach-kernel-driver=true #force-feedback=true mimic-xpad=true [evdev-absmap] ABS_X=x1 ABS_Y=y1 [ui-axismap] x1=REL_X:5 y1=REL_Y:-5 [evdev-keymap] BTN_SOUTH=b BTN_EAST=a [ui-buttonmap] a=BTN_LEFT b=BTN_RIGHT # EOF #
Thanks for all your help before when you were helping me with the Scummvm mouse pointer ...
with all that info i put the use toward this
your great !!!
ExarKunIv last edited by
@escc1986 glad you got it all squared away.
i just my dosbox working again and was about to start messing with it.
im still going to but now its no rush. lol
lol no problem
You helped me get my set up for my controller and helped me with the keys ... i have struggled with this for 4 days lol ... glad it works and i hope others can see this and get the idea how it works :)