Weird Controller Problems (yes, again)
-
@meleu said in Weird Controller Problems (yes, again):
@hansolo77
The__joy2key_dev
is used only by the scripts which calljoy2key.py
. If you are curious, here are links to the exact line in each file:- runcommand.sh
- helpers.sh (used by
retropie_setup.sh
) - jsfuncs.sh (used by RetroPie-joystick-selection tool)
I'm away from my raspi now, but I'll try to find a solution when I get home. And the first thing I'll try is to put that
export
line at the end of/etc/profile
. :-)Should I try going through my system and replace all __joy2key_dev entries in the above listed files to just JOY2KEY_DEV and then also change the calls in the /etc/environment and sudoers files? Do you think that might work? I'm trying to rescrape my library right now (taking forever for some strange reason) but I'll make an SD card backup before I try it.
-
@hansolo77 I think it'll work, but my suggestion is to wait for the "official" solution. The decision made for
runcommand.sh
andhelpers.sh
I'll put on thejsfuncs.sh
. -
Will do! Thanks for all your help.
-
@hansolo77 you can update your retropie_setup and then the runcommand.
I think the trick will work now. ;-) -
I'm still scraping metadata, so I won't be able to try this till I get home from work tomorrow. But I'd just like to clarify... I don't need to do anything like my suggestion of going through the various scripts and updating them all to JOY2KEY_DEV right? I just need to run the Update RetroPie-Setup Script and it should take care of it all? Obviously I'll need to un-comment out the lines I added to /etc/environment and visudo right?
-
- Update RetroPie-Setup Script.
- Update runcommand (Manage packages -> core -> runcommand -> Update from binary).
- add
__joy2key_dev="/dev/input/js2"
to/etc/environment
file. - add
Defaults env_keep += "__joy2key_dev"
to your/etc/sudoers
(usesudo visudo
command to edit this file). - reboot.
I hope I didn't forget any step this time. :-)
-
Ok so we're going back to the lowercase and the __ bits. I'll try that tomorrow!
-
IT WORKS!!! haha OMG it works lol. Thank you so much for figuring this out for me. Looks like the functionality was always there, just broken over the course of time. Things like the ALL CAPS, and the loss of system-wide variables (needing to be SU). Now all I have to do is figure out how to make the Joystick-Selector work, but this is a NEXT step, and not related to this thread anymore. Consider this 'bug' smashed!
Thanks so much!
-
@hansolo77 said in Weird Controller Problems (yes, again):
Now all I have to do is figure out how to make the Joystick-Selector work
Do you mean it isn't working? I would like to know what is going wrong. Could you open another thread detailing you problem?
-
No, I just meant I haven't tried to tackle setting it up yet. I will definitely open a new thread if I have issues. :) Thanks again!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.