Xbox Controller Problem #891

Closed
LucasRoot opened this Issue Jun 30, 2015 · 26 comments

Comments

Projects
None yet
10 participants
@LucasRoot

Hi, when configuring the keys of my Xbox 360 controller, was giving some bugs.
1 - When try to set up the right trigger the RetroPie just skipped
2 - I can't move in the games, like, I can jump, shoot, but move no.

Thanks and sorry for my bad English

@HerbFargus

This comment has been minimized.

Show comment
Hide comment
@HerbFargus

HerbFargus Jun 30, 2015

Member

are you using retropie 3 beta 4? sounds like this issue #864. update your setup script, and reinstall emulationstation and see if that fixes your problem.

Member

HerbFargus commented Jun 30, 2015

are you using retropie 3 beta 4? sounds like this issue #864. update your setup script, and reinstall emulationstation and see if that fixes your problem.

@joolswills

This comment has been minimized.

Show comment
Hide comment
@joolswills

joolswills Jun 30, 2015

Member

I've had problems with shoulder buttons with the configuration too - you can skip them for emulationstation and try to use the retroarch input configuration option from the supplementary menu.

Member

joolswills commented Jun 30, 2015

I've had problems with shoulder buttons with the configuration too - you can skip them for emulationstation and try to use the retroarch input configuration option from the supplementary menu.

@joolswills

This comment has been minimized.

Show comment
Hide comment
@joolswills

joolswills Jul 2, 2015

Member

try installing the xbox 360 userspace driver from the supplementary menu of retropie-setup and rebooting. This fixes controller issues with triggers on my original xbox controller.

Member

joolswills commented Jul 2, 2015

try installing the xbox 360 userspace driver from the supplementary menu of retropie-setup and rebooting. This fixes controller issues with triggers on my original xbox controller.

@LucasRoot

This comment has been minimized.

Show comment
Hide comment
@LucasRoot

LucasRoot Jul 2, 2015

Hi, I tried your fist solution, didn`t work, I will try your last solution.
Thanks joolswills!

Hi, I tried your fist solution, didn`t work, I will try your last solution.
Thanks joolswills!

@LucasRoot

This comment has been minimized.

Show comment
Hide comment
@LucasRoot

LucasRoot Jul 4, 2015

Hi, it won't work :(, I can't find the retropie 3.0 BETA 2 to download, I will continue search.
Thanks for all the help

Hi, it won't work :(, I can't find the retropie 3.0 BETA 2 to download, I will continue search.
Thanks for all the help

@Kolin

This comment has been minimized.

Show comment
Hide comment
@Kolin

Kolin Jul 21, 2015

I'm still seeing this problem in Version 3.0 RC 1

Kolin commented Jul 21, 2015

I'm still seeing this problem in Version 3.0 RC 1

@joolswills

This comment has been minimized.

Show comment
Hide comment
@joolswills

joolswills Jul 21, 2015

Member

did you install the xbox 360 userspace driver ?

Member

joolswills commented Jul 21, 2015

did you install the xbox 360 userspace driver ?

@joolswills

This comment has been minimized.

Show comment
Hide comment
@joolswills

joolswills Jul 21, 2015

Member

Also you didn't specify which problem - please be more verbose with issue reporting.

Member

joolswills commented Jul 21, 2015

Also you didn't specify which problem - please be more verbose with issue reporting.

@LucasRoot

This comment has been minimized.

Show comment
Hide comment
@LucasRoot

LucasRoot Jul 23, 2015

Yes, I did.
With the new update of the beta 2 of the 3 version, the controller jump some steps when setting up in the main screen when booting. And after the config, in the game I can't move

Yes, I did.
With the new update of the beta 2 of the 3 version, the controller jump some steps when setting up in the main screen when booting. And after the config, in the game I can't move

@joolswills

This comment has been minimized.

Show comment
Hide comment
@joolswills

joolswills Jul 24, 2015

Member

I was answering @Kolin :)

@LucasRoot please test with a fresh image of 3.0 rc1 (and install the userspace driver first). thanks.

Member

joolswills commented Jul 24, 2015

I was answering @Kolin :)

@LucasRoot please test with a fresh image of 3.0 rc1 (and install the userspace driver first). thanks.

@Kolin

This comment has been minimized.

Show comment
Hide comment
@Kolin

Kolin Jul 24, 2015

@joolswills I was referring to the problem mentioned in the first comment.
Yes, I've tries the userspace driver.
The problem still exists while trying to set up a controller via emulation stations interface.
The retroarch controller set up script works fine.

Cheers,
Colin

Kolin commented Jul 24, 2015

@joolswills I was referring to the problem mentioned in the first comment.
Yes, I've tries the userspace driver.
The problem still exists while trying to set up a controller via emulation stations interface.
The retroarch controller set up script works fine.

Cheers,
Colin

@joolswills

This comment has been minimized.

Show comment
Hide comment
@joolswills

joolswills Jul 24, 2015

Member

@Kolin The left right triggers should work in emulationstation after setting up the userspace driver (and rebooting). What is displayed in ES at the bottom of the controller configuration window when setting up the controller after this is done (the name of the device).

Member

joolswills commented Jul 24, 2015

@Kolin The left right triggers should work in emulationstation after setting up the userspace driver (and rebooting). What is displayed in ES at the bottom of the controller configuration window when setting up the controller after this is done (the name of the device).

@joolswills

This comment has been minimized.

Show comment
Hide comment
@joolswills

joolswills Jul 24, 2015

Member

(Basically when you press a button to configure the controller it displays the name - what does it display?)

Member

joolswills commented Jul 24, 2015

(Basically when you press a button to configure the controller it displays the name - what does it display?)

@Kolin

This comment has been minimized.

Show comment
Hide comment
@Kolin

Kolin Jul 24, 2015

Thanks,
I'll try this again with a fresh install when I get home from work.

Kolin commented Jul 24, 2015

Thanks,
I'll try this again with a fresh install when I get home from work.

@joolswills

This comment has been minimized.

Show comment
Hide comment
@joolswills

joolswills Aug 10, 2015

Member

any news?

Member

joolswills commented Aug 10, 2015

any news?

@njradford

This comment has been minimized.

Show comment
Hide comment
@njradford

njradford Aug 26, 2015

I'm encountering similar issues with the shoulder buttons. The initial joypad config works great until the right trigger is mapped, at which point it will fail to recognize the input and prompt me with a "Hold to skip" countdown. I've tried looking around to a vanilla/functioning xbox360.cfg file, but to no avail.

I'm encountering similar issues with the shoulder buttons. The initial joypad config works great until the right trigger is mapped, at which point it will fail to recognize the input and prompt me with a "Hold to skip" countdown. I've tried looking around to a vanilla/functioning xbox360.cfg file, but to no avail.

@joolswills

This comment has been minimized.

Show comment
Hide comment
@joolswills

joolswills Aug 26, 2015

Member

You need to install the xbox userspace driver first from the supplementary menu.

Member

joolswills commented Aug 26, 2015

You need to install the xbox userspace driver first from the supplementary menu.

@njradford

This comment has been minimized.

Show comment
Hide comment
@njradford

njradford Aug 26, 2015

Done and working. Thank you.

Done and working. Thank you.

@sellabus

This comment has been minimized.

Show comment
Hide comment
@sellabus

sellabus Sep 24, 2015

I'm having this exact same problem, using a Logitech F310 controller.
This problem exists before and after installing the Xbox userspace driver from the supplementary menu in RetroPie-Setup.
The name of the controller is displayed in ES as "Logitech Gamepad F310" both before and after installing the Xbox userspace driver.
The controller is set to "X mode" (meaning that it is operating as an xbox 360-compatible xinput device)
This is a fresh install of RetroPie.
I am using a Raspberry Pi 2 with RetroPie 3.0 installed. I have reinstalled this image 5 times and redownloaded it twice, and the problem persists.
I have a USB keyboard and WiFi dongle plugged into the Raspberry Pi along with the controller.

I'm having this exact same problem, using a Logitech F310 controller.
This problem exists before and after installing the Xbox userspace driver from the supplementary menu in RetroPie-Setup.
The name of the controller is displayed in ES as "Logitech Gamepad F310" both before and after installing the Xbox userspace driver.
The controller is set to "X mode" (meaning that it is operating as an xbox 360-compatible xinput device)
This is a fresh install of RetroPie.
I am using a Raspberry Pi 2 with RetroPie 3.0 installed. I have reinstalled this image 5 times and redownloaded it twice, and the problem persists.
I have a USB keyboard and WiFi dongle plugged into the Raspberry Pi along with the controller.

@joolswills

This comment has been minimized.

Show comment
Hide comment
@joolswills

joolswills Sep 24, 2015

Member

I don't think you should be using the xbox userspace driver on that controller - but see this thread in regards to your problem - http://blog.petrockblock.com/forums/topic/logitech-f310-controller-cant-assign-control-to-top-right-trigger/#post-104784

Member

joolswills commented Sep 24, 2015

I don't think you should be using the xbox userspace driver on that controller - but see this thread in regards to your problem - http://blog.petrockblock.com/forums/topic/logitech-f310-controller-cant-assign-control-to-top-right-trigger/#post-104784

@joolswills joolswills closed this Sep 24, 2015

@NormlDotOrg

This comment has been minimized.

Show comment
Hide comment
@NormlDotOrg

NormlDotOrg Jan 16, 2016

If anyone is still having this issue (I am as of RetroPie 3.3) just map the controls (wired xbox 360) like normal and when you get to "ok", use the dpad navigate back up to "lower right". Select with "A", it will say "press anything" and map to lower right trigger. Then go back down to "ok" with the dpad once more and strike "A". Worked for me.

EDIT: I also installed "xbox userspace driver first from the supplementary menu" as per user "joolswills" instruction.

If anyone is still having this issue (I am as of RetroPie 3.3) just map the controls (wired xbox 360) like normal and when you get to "ok", use the dpad navigate back up to "lower right". Select with "A", it will say "press anything" and map to lower right trigger. Then go back down to "ok" with the dpad once more and strike "A". Worked for me.

EDIT: I also installed "xbox userspace driver first from the supplementary menu" as per user "joolswills" instruction.

@betam4x

This comment has been minimized.

Show comment
Hide comment
@betam4x

betam4x Aug 4, 2016

This issue still exists in 4.0rc1. The workaround @NormlDotOrg listed does work, but it's still a pain.

betam4x commented Aug 4, 2016

This issue still exists in 4.0rc1. The workaround @NormlDotOrg listed does work, but it's still a pain.

@joolswills

This comment has been minimized.

Show comment
Hide comment
@joolswills

joolswills Aug 4, 2016

Member

it is unlikely there will be a fix anytime soon - also see https://github.com/retropie/retropie-setup/wiki/Logitech-controllers#l2r2-top-triggers which is related.

Member

joolswills commented Aug 4, 2016

it is unlikely there will be a fix anytime soon - also see https://github.com/retropie/retropie-setup/wiki/Logitech-controllers#l2r2-top-triggers which is related.

@joolswills

This comment has been minimized.

Show comment
Hide comment
@joolswills

joolswills Aug 4, 2016

Member

I don't have this problem with the userspace driver, just the kernel xpad driver. However, the userspace driver has problems on the most recent kernels.

Member

joolswills commented Aug 4, 2016

I don't have this problem with the userspace driver, just the kernel xpad driver. However, the userspace driver has problems on the most recent kernels.

@Debiruman

This comment has been minimized.

Show comment
Hide comment
@Debiruman

Debiruman Nov 15, 2016

Hello, I just installed Retropie those last days with the latest release (november 2016) for the Pi 1B, and I had the same right trigger issue with the XBox controller (wired).

I figured 2 ways to fix this, note that I didn't have to install any additional driver.

The first one (thanks for @NormlDotOrg a couple of posts earlier for that one) is when you map the controller, instead of validating by pressing "OK" at the end of the process, go back to the right trigger mapping line, and press "A", then you're asked to press a button and you finally can press the right trigger which will be properly recognized as +5 (I think it can also be recognized as -5), then, go all the way down and press "OK" to complete the process.

The other way is by editing the MicrosoftX-Box360pad.cfg file, which is found at that location :

/retropie/configs/all/retroarch-joypads/MicrosoftX-Box360pad.cfg

The most comfortable way for me was to remotly access the file from another computer in the network, you just have to click your way to the file, while it can be quite cumbersome to do it directly from the Pi, unless you're at home with the command line environment.

So, open that file, and search for that line :

input_r2_axis =

The right trigger identifier is +5, so, after the "=" sign, write "+5", so the line looks like this :

input_r2_axis = "+5"

(note that there's a space between the = and the "+5")

That's all, just save the file, and restart the Emulation Station :-)

By the way, while we're at it, I strongly recommand you to change the hotkey button, which by default is mapped to the button "6" (which is either the start or back button), it can be troublesome with some emulators, especially the Game Boy emulators, because in a game like "Zelda - Link's Awakening", in order to save your progress, you need to press simultanously A + B + select + start, which with the default hotkey mapping will result in exiting the emulator without saving anything.

So, in the same configuration file, find that line :

input_enable_hotkey_btn = "6"

And replace the 6 by any unused button, I suggest the middle button of the gamepad, the one with the X surrounded by the four players leds, its number is 8, so the line should look like this :

input_enable_hotkey_btn = "8"

Save the file, restart Emulation Station and voilà, it should be all good :-)

PS : maybe this can help, here's how the whole gamepad is mapped, I guess that if you're using the wired XBox 360 controller, you can just copy/paste that in your own configuration file and it may work :

input_device = "Microsoft X-Box 360 pad"
input_driver = "udev"
input_r_y_plus_axis = "+4"
input_l3_btn = "9"
input_r_x_minus_axis = "-3"
input_l_btn = "4"
input_load_state_btn = "4"
input_start_btn = "7"
input_exit_emulator_btn = "7"
input_l_y_minus_axis = "-1"
input_up_btn = "h0up"
input_r_y_minus_axis = "-4"
input_a_btn = "0"
input_b_btn = "1"
input_reset_btn = "1"
input_down_btn = "h0down"
input_l_x_plus_axis = "+0"
input_l_y_plus_axis = "+1"
input_r_btn = "5"
input_save_state_btn = "5"
input_r2_axis = "+5"
input_r3_btn = "10"
input_right_btn = "h0right"
input_state_slot_increase_btn = "h0right"
input_x_btn = "2"
input_menu_toggle_btn = "2"
input_select_btn = "6"
input_enable_hotkey_btn = "8"
input_l_x_minus_axis = "-0"
input_y_btn = "3"
input_left_btn = "h0left"
input_state_slot_decrease_btn = "h0left"
input_r_x_plus_axis = "+3"
input_l2_axis = "+2"

Debiruman commented Nov 15, 2016

Hello, I just installed Retropie those last days with the latest release (november 2016) for the Pi 1B, and I had the same right trigger issue with the XBox controller (wired).

I figured 2 ways to fix this, note that I didn't have to install any additional driver.

The first one (thanks for @NormlDotOrg a couple of posts earlier for that one) is when you map the controller, instead of validating by pressing "OK" at the end of the process, go back to the right trigger mapping line, and press "A", then you're asked to press a button and you finally can press the right trigger which will be properly recognized as +5 (I think it can also be recognized as -5), then, go all the way down and press "OK" to complete the process.

The other way is by editing the MicrosoftX-Box360pad.cfg file, which is found at that location :

/retropie/configs/all/retroarch-joypads/MicrosoftX-Box360pad.cfg

The most comfortable way for me was to remotly access the file from another computer in the network, you just have to click your way to the file, while it can be quite cumbersome to do it directly from the Pi, unless you're at home with the command line environment.

So, open that file, and search for that line :

input_r2_axis =

The right trigger identifier is +5, so, after the "=" sign, write "+5", so the line looks like this :

input_r2_axis = "+5"

(note that there's a space between the = and the "+5")

That's all, just save the file, and restart the Emulation Station :-)

By the way, while we're at it, I strongly recommand you to change the hotkey button, which by default is mapped to the button "6" (which is either the start or back button), it can be troublesome with some emulators, especially the Game Boy emulators, because in a game like "Zelda - Link's Awakening", in order to save your progress, you need to press simultanously A + B + select + start, which with the default hotkey mapping will result in exiting the emulator without saving anything.

So, in the same configuration file, find that line :

input_enable_hotkey_btn = "6"

And replace the 6 by any unused button, I suggest the middle button of the gamepad, the one with the X surrounded by the four players leds, its number is 8, so the line should look like this :

input_enable_hotkey_btn = "8"

Save the file, restart Emulation Station and voilà, it should be all good :-)

PS : maybe this can help, here's how the whole gamepad is mapped, I guess that if you're using the wired XBox 360 controller, you can just copy/paste that in your own configuration file and it may work :

input_device = "Microsoft X-Box 360 pad"
input_driver = "udev"
input_r_y_plus_axis = "+4"
input_l3_btn = "9"
input_r_x_minus_axis = "-3"
input_l_btn = "4"
input_load_state_btn = "4"
input_start_btn = "7"
input_exit_emulator_btn = "7"
input_l_y_minus_axis = "-1"
input_up_btn = "h0up"
input_r_y_minus_axis = "-4"
input_a_btn = "0"
input_b_btn = "1"
input_reset_btn = "1"
input_down_btn = "h0down"
input_l_x_plus_axis = "+0"
input_l_y_plus_axis = "+1"
input_r_btn = "5"
input_save_state_btn = "5"
input_r2_axis = "+5"
input_r3_btn = "10"
input_right_btn = "h0right"
input_state_slot_increase_btn = "h0right"
input_x_btn = "2"
input_menu_toggle_btn = "2"
input_select_btn = "6"
input_enable_hotkey_btn = "8"
input_l_x_minus_axis = "-0"
input_y_btn = "3"
input_left_btn = "h0left"
input_state_slot_decrease_btn = "h0left"
input_r_x_plus_axis = "+3"
input_l2_axis = "+2"

@yanx007

This comment has been minimized.

Show comment
Hide comment
@yanx007

yanx007 Nov 19, 2016

Thank you very much Debiruman. I have Xbox One controller also. Which code
should be for input_r2_axis? and on what configuration file?
Tell me whenever you can.

But thank you very much to take the time to write it all.

Cheers!

Yan.

On Tue, Nov 15, 2016 at 5:13 PM, Debiruman notifications@github.com wrote:

Hello, I just installed Retropie those last days with the latest release
(november 2016) for the Pi 1B, and I had the same right trigger issue with
the XBox controller (wired).

I figured 2 ways to fix this, the first one (thanks for NormlDotOrg a
couple of posts earlier for that one) is when you map the controller,
instead of validating by pressing "OK" at the end of the process, go back
to the right trigger maping line, and press "A", then you're asked to press
a button and you finally can press the right trigger which will be properly
recognized, then, go all the way down and press "OK" to complete the
process.

The other way is by editing the MicrosoftX-Box360pad.cfg file, which is
found at that location :

/retropie/configs/all/retroarch-joypads/MicrosoftX-Box360pad.cfg

The most comfortable way for me was to remotly access the file from
another computer in the network, you just have to click your way to the
file, while it can be quite cumbersome to do it directly from the Pi,
unless you're at home with Linux environment.

So, you open that file, and search for that line :

input_r2_axis =

The right trigger identifier is +5, so, after the "=" sign, write "+5", so
the line looks like this :

input_r2_axis = "+5"

(note that there's a space between the = and the "+5")

By the way, while we're at it, I strongly recommand you to change the
hotkey button, which by default is mapped to the button "6" (which is
either the start or back button), it can be troublesome with some
emulators, especially the Game Boy emulators, because in a game like "Zelda

  • Link's Awakening", in order to save your progress, you need to press
    simultanously A + B + select + start, which with the default hotkey mapping
    will result in exiting the emulator without saving anything.

So, in the same configuration file, find that line :

input_enable_hotkey_btn = "6"

And replace the 6 by any non-used button, I suggest the middle button of
the gamepad, the one with the X surrounded by the leds, its number is 8, so
the line should look like this :

input_enable_hotkey_btn = "8"

Save the file, restart Emulation Station and voilà, it should be all good
:-)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#891 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATHfY4tA1MD4UVHyH7WRaomkGVO5CvkOks5q-i6LgaJpZM4FPQbY
.

yanx007 commented Nov 19, 2016

Thank you very much Debiruman. I have Xbox One controller also. Which code
should be for input_r2_axis? and on what configuration file?
Tell me whenever you can.

But thank you very much to take the time to write it all.

Cheers!

Yan.

On Tue, Nov 15, 2016 at 5:13 PM, Debiruman notifications@github.com wrote:

Hello, I just installed Retropie those last days with the latest release
(november 2016) for the Pi 1B, and I had the same right trigger issue with
the XBox controller (wired).

I figured 2 ways to fix this, the first one (thanks for NormlDotOrg a
couple of posts earlier for that one) is when you map the controller,
instead of validating by pressing "OK" at the end of the process, go back
to the right trigger maping line, and press "A", then you're asked to press
a button and you finally can press the right trigger which will be properly
recognized, then, go all the way down and press "OK" to complete the
process.

The other way is by editing the MicrosoftX-Box360pad.cfg file, which is
found at that location :

/retropie/configs/all/retroarch-joypads/MicrosoftX-Box360pad.cfg

The most comfortable way for me was to remotly access the file from
another computer in the network, you just have to click your way to the
file, while it can be quite cumbersome to do it directly from the Pi,
unless you're at home with Linux environment.

So, you open that file, and search for that line :

input_r2_axis =

The right trigger identifier is +5, so, after the "=" sign, write "+5", so
the line looks like this :

input_r2_axis = "+5"

(note that there's a space between the = and the "+5")

By the way, while we're at it, I strongly recommand you to change the
hotkey button, which by default is mapped to the button "6" (which is
either the start or back button), it can be troublesome with some
emulators, especially the Game Boy emulators, because in a game like "Zelda

  • Link's Awakening", in order to save your progress, you need to press
    simultanously A + B + select + start, which with the default hotkey mapping
    will result in exiting the emulator without saving anything.

So, in the same configuration file, find that line :

input_enable_hotkey_btn = "6"

And replace the 6 by any non-used button, I suggest the middle button of
the gamepad, the one with the X surrounded by the leds, its number is 8, so
the line should look like this :

input_enable_hotkey_btn = "8"

Save the file, restart Emulation Station and voilà, it should be all good
:-)


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#891 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATHfY4tA1MD4UVHyH7WRaomkGVO5CvkOks5q-i6LgaJpZM4FPQbY
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment