jrassa / EmulationStation

This is primarily a dev/working repo. All PRs should be submitted upstream.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shoulder buttons not scrolling

Overload86 opened this issue · 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.

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.

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.

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

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

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.