Page Up/Down with Logitech K400?



  • Pi Model or other hardware: Pi 3 Model B
    Power Supply Used: 2.5A power supply
    RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): Linux retropie 4.4.47v7-aufs (release info from uname -a)
    Built From: Binary
    USB Devices connected: 500GB USB HDD, Logitech Unifying Receiver
    Controller used: Logitech K400
    Error messages received: none

    I had a Rii handheld keyboard and I was able to do Page Up/Down in Emulationstation using the mapped shoulder buttons when I was running RetroPie from Berryboot, but I have since installed a Retropie image from the website and switched to the Logitech K400, and I find that I no longer have "upper" and "lower" shoulder buttons as an option on the input config. Instead I now have "Shoulder Buttons" and "Trigger Buttons", and I'm not sure how those correspond to the upper/lower shoulder buttons. None of the items on the input configuration dialog, when configured with this keyboard, provide the page up/down functionality (unless it is now performed with the thumbsticks, which I did not try to configure).

    Not sure if it is relevant, but I do have Page-down functionality in, for example, Retropie-Setup. Just not in Emulationstation. So Linux sees the keyboard correctly. I have also configured my keyboard for the correct region, FWIW.

    I know a lot of people have this keyboard so I figure somebody probably has this working. Any advice is appreciated.



  • Not sure if it is relevant, but I do have Page-down functionality in, for example, Retropie-Setup. Just not in Emulationstation. So Linux sees the keyboard correctly. I have also configured my keyboard for the correct region, FWIW. I would have added this to the OP, but Akismet saw the message as spam for some reason.


  • administrators

    @rrdein the top/bottom was renamed as it was confusing. The shoulder buttons map to page up / down in ES.

    the installation instruction have some pics of controllers with the mappings to give you an idea - https://retropie.org.uk/docs/First-Installation/#configure-controllers



  • I have mapped the shoulder buttons to several different sets of keys, and they still do not provide Page Up/Down functionality. BTW, I gave the wrong Retropie version. My correct version is Linux retropie 4.4.26-v7+ #915 SMP


  • administrators

    @rrdein That is not the version of retropie but the OS kernel version. RetroPie-Setup version can be found by launching "RetroPie-Setup" from Emulation Station.

    I would need to see your /opt/retropie/configs/all/emulationstation/es_input.cfg file to check mappings.

    On my keyboard and controllers shoulder buttons work fine for page up/down in ES, so not sure why it's not working.



  • This post is deleted!


  • @BuZz said in Page Up/Down with Logitech K400?:

    /opt/retropie/configs/all/emulationstation/es_input.cfg


    These are my configs for both of my keyboard devices, when each device is the only device that has been configured after deleting es_input.cfg and rebooting. Both devices are having the problem.

    THIS IS MY es_input.cfg FOR THE K400(R):
    <?xml version="1.0"?>
    <inputList>
    <inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1">
    <input name="a" type="key" id="13" value="1" />
    <input name="b" type="key" id="8" value="1" />
    <input name="down" type="key" id="1073741905" value="1" />
    <input name="left" type="key" id="1073741904" value="1" />
    <input name="leftanalogdown" type="key" id="107" value="1" />
    <input name="leftanalogleft" type="key" id="108" value="1" />
    <input name="leftanalogright" type="key" id="122" value="1" />
    <input name="leftanalogup" type="key" id="106" value="1" />
    <input name="leftshoulder" type="key" id="1073741899" value="1" />
    <input name="leftthumb" type="key" id="103" value="1" />
    <input name="lefttrigger" type="key" id="100" value="1" />
    <input name="right" type="key" id="1073741903" value="1" />
    <input name="rightanalogdown" type="key" id="99" value="1" />
    <input name="rightanalogleft" type="key" id="118" value="1" />
    <input name="rightanalogright" type="key" id="98" value="1" />
    <input name="rightanalogup" type="key" id="120" value="1" />
    <input name="rightshoulder" type="key" id="1073741902" value="1" />
    <input name="rightthumb" type="key" id="104" value="1" />
    <input name="righttrigger" type="key" id="102" value="1" />
    <input name="select" type="key" id="93" value="1" />
    <input name="start" type="key" id="92" value="1" />
    <input name="up" type="key" id="1073741906" value="1" />
    <input name="x" type="key" id="97" value="1" />
    <input name="y" type="key" id="115" value="1" />
    </inputConfig>
    </inputList>


    THIS IS MY es_input.cfg FOR THE RII:
    <?xml version="1.0"?>
    <inputList>
    <inputConfig type="keyboard" deviceName="Keyboard" deviceGUID="-1">
    <input name="a" type="key" id="13" value="1" />
    <input name="b" type="key" id="8" value="1" />
    <input name="down" type="key" id="1073741905" value="1" />
    <input name="left" type="key" id="1073741904" value="1" />
    <input name="leftanalogdown" type="key" id="105" value="1" />
    <input name="leftanalogleft" type="key" id="111" value="1" />
    <input name="leftanalogright" type="key" id="112" value="1" />
    <input name="leftanalogup" type="key" id="117" value="1" />
    <input name="leftshoulder" type="key" id="1073741899" value="1" />
    <input name="leftthumb" type="key" id="116" value="1" />
    <input name="lefttrigger" type="key" id="101" value="1" />
    <input name="right" type="key" id="1073741903" value="1" />
    <input name="rightanalogdown" type="key" id="115" value="1" />
    <input name="rightanalogleft" type="key" id="100" value="1" />
    <input name="rightanalogright" type="key" id="102" value="1" />
    <input name="rightanalogup" type="key" id="97" value="1" />
    <input name="rightshoulder" type="key" id="1073741902" value="1" />
    <input name="rightthumb" type="key" id="121" value="1" />
    <input name="righttrigger" type="key" id="114" value="1" />
    <input name="select" type="key" id="1073742089" value="1" />
    <input name="start" type="key" id="1073742093" value="1" />
    <input name="up" type="key" id="1073741906" value="1" />
    <input name="x" type="key" id="113" value="1" />
    <input name="y" type="key" id="119" value="1" />
    </inputConfig>
    </inputList>


    I am on Version 4.1


  • administrators

    @rrdein btw please wrap configs/logs in code blocks or use external pastebin site as mentioned on https://retropie.org.uk/forum/topic/3/read-this-first

    markdown info - http://commonmark.org/help/

    Did you manually create that config ? Doesn't look like one generated by RetroPie.


  • administrators

    You should not delete es_input.cfg btw - you will break the autoconfiguration system. The config can be reset via retropie-setup / configuration / emulationstation.



  • I have not manually created any input config files. Any such configuration files were created using some controller configuration dialog.


  • administrators

    @rrdein the es_input.cfg you posted misses the auto configuration hook that is included by default and also has the wrong mappings - it looks like an es_temporaryinput.cfg not an es_input.cfg which would be different.

    If that is indeeed your es_input.cfg it can't have been generated by our auto configuration script and must have been done manually somehow.



  • @BuZz

    Could the problem simply be that I deleted es_input.cfg to reset the input config? I have personally never edited that file manually for any reason, and the configuration files I gave you were generated by deleting es_input.cfg, rebooting, and performing autoconfiguration with the relevant device. I went through that specific process to be sure I was giving you the correct information about each device (though if I somehow broke the entire autoconfig process by deleting that one file then I don't really know).


  • administrators

    @rrdein removing es_input.cfg will break auto configuration. You can reset it via RetroPie-setup / configuration / emulation station.



  • Somehow this has fixed itself. There are changes occuring to my system automatically, and I'm not really sure why, but you can close this issue.


Log in to reply
 

Looks like your connection to RetroPie Forum was lost, please wait while we try to reconnect.