LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-03-2018, 03:22 PM   #1
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Rep: Reputation: Disabled
retroarch does not use my gamepad.


I've installed retroarch through sbopkg some time ago. I also installed snes9x-libretro and gambatte-libretro at that time. Retroarch reports that my gamepad is a Logitech something (which it is), but I cannot get any inputs from the gamepad to register in the game. I have noticed however that when I run snes9x, plain snes9x, not retroarch-snes9x, my controls are remapped to use the D-pad instead of the joystick for directional movement. Is there a way to custom map my gamepad controls withing retroarch?

I know that retroarch recognizes my gamepad because it flashes Logitech Rumblepad across the bottom of the screen, but doesn't leave it there long enough for me to read it properly.
 
Old 05-03-2018, 03:41 PM   #2
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
When you open RetroArch is the gamepad reported as configured in the OSD message? You can configure it yourself in 'Settings > Input > Input User 1 Binds' in the RetroArch gui. After binding them I would suggest saving the autoconfig profile and then seleting "Bind Default All". This way it will use the new gamepad profile you just made. They will be saved in your ~/.config/retroarch/ directory.

You can also download the autoconfig profiles in case someone else has done it for you in RetroArch's built in online updater. They are not installed to a system wide directory because they may update when RetroArch has not and using the online updater or grabbing them from the source tarball/github manually is preferable.

Last edited by orbea; 05-03-2018 at 03:51 PM.
 
Old 05-03-2018, 04:34 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Also look into which gamepad driver ("hid", "udev", "SDL", etc) RetroArch is using. There's a menu to select it.

And then there's the step of launching it with verbose logging ("retroarch --verbose" or something like that) and checking that...

Last edited by dugan; 05-03-2018 at 04:40 PM.
 
Old 05-03-2018, 08:39 PM   #4
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
When you open RetroArch is the gamepad reported as configured in the OSD message? You can configure it yourself in 'Settings > Input > Input User 1 Binds' in the RetroArch gui. After binding them I would suggest saving the autoconfig profile and then seleting "Bind Default All". This way it will use the new gamepad profile you just made. They will be saved in your ~/.config/retroarch/ directory.
I followed the above advice, and started bnes-libretro and my gamepad STILL will not respond! Do I have to set up bnes for this too? Is there a way to configure my gamepad for retroarch universally?
 
Old 05-03-2018, 08:48 PM   #5
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
That should configure input for RetroArch universally. Can you control the RetroArch menu ui with your gamepad or is it only that one core?

Like dugan suggested can you tell us what input driver you are using with RetroArch? You can tell by looking in 'settings -> driver' or with this command.
Code:
grep input_driver ~/.config/retroarch/retroarch.cfg
If you are using the 'udev' input driver I would suggest you either use the 'x' input driver instead or be sure to read README.SLACKWARE included with the slackbuild and then make sure your user is part of the input group.

Edit: If problems persist, the output of 'retroarch --verbose' when your gamepad is plugged in could help.

Last edited by orbea; 05-03-2018 at 08:51 PM.
 
Old 05-03-2018, 09:10 PM   #6
maschelsea
Member
 
Registered: Dec 2016
Distribution: Slackware 64bit 14.2
Posts: 468

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post

You can also download the autoconfig profiles in case someone else has done it for you in RetroArch's built in online updater. They are not installed to a system wide directory because they may update when RetroArch has not and using the online updater or grabbing them from the source tarball/github manually is preferable.
Doing this fixed the issue for me. Thank you for your help!
 
Old 05-04-2018, 11:41 AM   #7
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Glad to hear it!

Fwiw the new RetroArch-1.7.3 was released yesterday and its currently in the SBo ready queue for the next update which I would guess is probably sometime later today or tomorrow.

I would suggest looking at their ChangeLog, but its somehow missing the new Qt5 optional dependency for the Qt companion ui. If qt5 is installed from SBo or alienbob's repo the new gui can be optionally used by pressing 'F5' from the standard menu driver. Otherwise the standard menu drivers can be used like before without any need for concern.

https://github.com/libretro/RetroArc...1e2/CHANGES.md

Last edited by orbea; 05-04-2018 at 11:42 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RetroArch keeps hanging up on me Coop_012 Linux - Games 2 04-06-2018 08:01 PM
[SOLVED] ANNOUNCE: RetroArch for Slackware dugan Slackware 15 03-12-2017 04:45 PM
RetroArch 1.0.0.3 released dugan Linux - News 0 10-30-2014 05:21 PM
Retroarch ad infinitum BenCollver Linux - Games 0 08-02-2014 05:45 AM
convert usb gamepad to wireless gamepad schneidz Linux - Hardware 1 06-12-2008 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration