ScummVM Controlller Issues
-
yeah the f5 button is very importyant , your right
i just dont see how f5 is mapped to the
R Button
i didnt map
R button
or
L button
do you know why they are mapped .. and the other button are not mapped
TL2 = SELECT
TR2 = START
on my controller under test menu (evtest /dev/input/event0)
-
video of showing you
-
--ui-buttonmap a=BTN_LEFT,b=BTN_RIGHT,start=KEY_F5,back=KEY_ESC \
this came from my setup, since you need these for play anywaysthe rest is on you
--evdev-keymap BTN_EAST=a,BTN_SOUTH=b,BTN_[•]=x,BTN_[•]=y,BTN_[•]=lb,BTN_[•]=rb,BTN_TL2=back,BTN_TR2=start
BTN_[•]
this just means its blank till you add what button goes to itthis is what you have
so far the buttons you have mapped are btn east and south, and your TL buttons
thx for the vid.
this is a good thing cuz it is working, we just need to get the keys to do what we want
the big part is getting the dpad to work.
bad part is my xdrive is now not working. so i cant test it on mine just yet -
you welcome for the video
but i dont have an X , Y , LB , RB button
ok let me see
ok
R button = Z
L Button = WEST
--evdev-keymap BTN_EAST=a,BTN_SOUTH=b,BTN_[•]=x,BTN_[•]=y,BTN_WEST=lb,BTN_Z=rb,BTN_TL2=back,BTN_TR2=start
-
@escc1986
yeah the swtich controller have some messed up names for the buttons.
once you find out what name goes with what button then you can map ituse a note pad and write it down as you press them thats what i did
-
heres what i have at the moment, i cant test cuz my xdriv is just not working now.
change the buttons maps at you need them, but i hope that the dpad will work, cuz thats more on what i was working onif [ "$1" = "scummvm" ] then sudo killall > /dev/null 2>&1 xboxdrv sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv > /dev/null 2>&1 \ --evdev /dev/input/event0 \ --silent \ --detach-kernel-driver \ --force-feedback \ --mimic-xpad \ --trigger-as-button \ --evdev-absmap ABS_HAT0X=dpad_x,ABS_HAT0Y=dpad_y \ --evdev-keymap BTN_EAST=a,BTN_SOUTH=b,BTN_[•]=x,BTN_[•]=y,BTN_[•]=lb,BTN_[•]=rb,BTN_TL2=back,BTN_TR2=start \ --ui-axismap dpad_x=REL_X:10,dpad_y=REL_Y:10 \ --ui-buttonmap a=BTN_LEFT,b=BTN_RIGHT,start=KEY_F5,back=KEY_ESC \ --ui-buttonmap guide=void,x=void,y=void,lb=void,rb=void,tl=void,tr=void,lt=void,rt=void, \ & fi
-
@ExarKunIv said in ScummVM Controlller Issues:
if [ "$1" = "scummvm" ]
then
sudo killall > /dev/null 2>&1 xboxdrv
sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv > /dev/null 2>&1
--evdev /dev/input/event0
--silent
--detach-kernel-driver
--force-feedback
--mimic-xpad
--trigger-as-button
--evdev-absmap ABS_HAT0X=dpad_x,ABS_HAT0Y=dpad_y
--evdev-keymap BTN_EAST=a,BTN_SOUTH=b,BTN_[•]=x,BTN_[•]=y,BTN_[•]=lb,BTN_[•]=rb,BTN_TL2=back,BTN_TR2=start
--ui-axismap dpad_x=REL_X:10,dpad_y=REL_Y:10
--ui-buttonmap a=BTN_LEFT,b=BTN_RIGHT,start=KEY_F5,back=KEY_ESC
--ui-buttonmap guide=void,x=void,y=void,lb=void,rb=void,tl=void,tr=void,lt=void,rt=void,
&
filet me test it .... lets see .. fingers crossed
-
unfortunately it did not work
dPad was not working
-
dang, well im working on getting my drivers up and going again, till then i dont have much else i can offer.
, but ill keep digging a very long guidehttps://retropie.org.uk/forum/topic/2861/guide-advanced-controller-mappings/133?_=1581437532429
-
im sorry to be a big bother ... i apprecite the help .. its ok i will wai for as long as you could get your drivers up ...
something is overiding the controllers possiblty
i just changed my start key assainged to my B button
and changed my A key assigned it to my space key ...
no matte what changes and combonations
my controller
L = f5
R = space
i know the biggest issue is the dpad .... but any idea ...
-
post what you changed
-
#!/bin/sh if [ "$1" = "scummvm" ] then sudo killall > /dev/null 2>&1 xboxdrv sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv > /dev/null 2>&1 \ --evdev /dev/input/event0 \ --silent \ --detach-kernel-driver \ --force-feedback \ --mimic-xpad \ --trigger-as-button \ --evdev-absmap ABS_HAT0X=dpad_x,ABS_HAT0Y=dpad_y \ --evdev-keymap BTN_TL2=a,BTN_TR2=b,BTN_[•]=x,BTN_[•]=y,BTN_WEST=lb,BTN_Z=rb,BTN_EAST=back,BTN_SOUTH=start / --ui-axismap dpad_x=REL_X:10,dpad_y=REL_Y:10 \ --ui-buttonmap a=BTN_LEFT,b=BTN_RIGHT,start=KEY_F5,back=KEY_ESC \ --ui-buttonmap guide=void,x=void,y=void,lb=void,rb=void,tl=void,tr=void,lt=void,rt=void, \ & fi
-
@escc1986 said in ScummVM Controlller Issues:
--evdev-keymap BTN_TL2=a,BTN_TR2=b,BTN_[•]=x,BTN_[•]=y,BTN_WEST=lb,BTN_Z=rb,BTN_EAST=back,BTN_SOUTH=start /
--evdev-keymap BTN_TL2=a,BTN_TR2=b,BTN_[•]=x,BTN_[•]=y,BTN_WEST=lb,BTN_Z=rb,BTN_EAST=back,BTN_SOUTH=start /
-
ok this might be a pain for you, and im sorry.
but wipe everything out of the runcommmand.save it in a txt file of course.
i want to see if there is something overriding what we are trying to do, cuz what you posted should of changed when you changed the mapping
also you have xboxdrv installed
reboot after you wiped the file
-
ok sure
no problem
will let you know when done
-
#!/bin/sh if [ "$1" = "scummvm" ] then sudo killall >> /dev/shm/runcommand.log 2>&1 xboxdrv sudo /opt/retropie/supplementary/xboxdrv/bin/xboxdrv >> /dev/shm/runcommand.log 2>&1 \ --evdev /dev/input/event0 \ --silent --detach-kernel-driver --force-feedback --deadzone-trigger 15% --deadzone 4000 --mimic-xpad --evdev-absmap ABS_HAT0X=dpad_x,ABS_HAT0Y=dpad_y --evdev-keymap BTN_TL2=a,BTN_TR2=b,BTN_[•]=x,BTN_[•]=y,BTN_WEST=lb,BTN_Z=rb,BTN_EAST=back,BTN_SOUTH=start --dpad-only --ui-axismap lt=void,rt=void --ui-buttonmap a=BTN_EAST,b=BTN_SOUTH,start=KEY_F5,back=KEY_ESC \ & f1 omxplayer -b "/home/pi/video/intro.mp4" > /dev/null & # the line below is needed to use the joystick selection by name method bash "/opt/retropie/supplementary/joystick-selection/js-onstart.sh" "$@" [[ $2 == openbor ]] && filename=$(basename "$3") && cp "/opt/retropie/ports/openbor/Saves/master.cfg" "/opt/retropie/ports/openbor/Sav$
-
ok
wiped the runcommand
rebooted
now what would you like me to do
-
start scrumm get in a game and see if the controller does anything like before
it should not do athing not even the triggers with f5 and space
-
just tested now
same
R - f5
L- space
so what is taking over
i have xboxdrv installed
-
perhaps ... do you need me to send you any config files in my pi ?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.