EmulationStation icon indicating copy to clipboard operation
EmulationStation copied to clipboard

Shoulder buttons not scrolling

Open Overload86 opened this issue 6 years ago • 4 comments

Hi, I don't know if this is an issue, since I am not sure I ever used your fork before.

Normally the L/R buttons used to scroll one page at a time, now they don't do anything and no other button I tried scrolls one page at a time.

I like your fork and will continue using it though, but this one is a minor inconvenience.

Overload86 avatar May 28 '18 15:05 Overload86

I noticed this too after coming from RetroPie, but figured it was something with my controller setup. I’ll try and fix it real quick this morning.

einsteinx2 avatar Jun 03 '18 12:06 einsteinx2

Never got a chance to look a this, "real work" got in the way :)

I'll try and take a look this week if I have any time, as this bothers me a lot when I use this build on my Windows setup coming from RetroPie.

einsteinx2 avatar Jun 04 '18 16:06 einsteinx2

Whenever you get the time. I tried looking for the solution myself. I did work through a few books on programming and can read and understand much of the code, but for the life of me I cannot figure out where it really handles the input. I have never worked with a codebase I did not produce myself. Frankly I don't even know what the difference between ES-app and ES-core is, to me it looks like if I wanted to compile this I would have to merge those two folders by hand? I'm lost... xD

Overload86 avatar Jun 06 '18 12:06 Overload86

This is a well known issue, this 4 steps should fix it for your setup :

  1. Locate and open your es_input.cfg file (should be in your home directory in a folder named .emulationstation)
  2. Open it and locate the 2 lines for the inputs named "leftshoulder" and "rightshoulder", mines look like this :
                <input name="leftshoulder" type="key" id="116" value="1" />
                <input name="rightshoulder" type="key" id="121" value="1" />
  1. Copy paste them at the end of the input list (right before the tag </inputConfig>)
  2. Replace leftshoulder by pageup and rightshoulder by pagedown in the 2 lines you just added

benjdero avatar Jun 06 '18 13:06 benjdero

Awesome! I'll give that a shot, and if there's a way to modify the codebase so that it sets this automatically, I'll do that and make a PR.

Edit: Worked for me! When I eventually get time I'll look into having it automatically add those lines like RetroPie presumably does.

einsteinx2 avatar Jun 07 '18 00:06 einsteinx2