[development] where to put a code that isn't a shell script?
-
I'm trying to convert my
input_selection.sh
to a supplementary scriptmodule. This script depends on the output of another little program I wrote:jslist.c
. This code is very small, as you can see here, and it's needed to list the available joysticks. I wrote it in C because I need the SDL2 lib to get the available joysticks in the system (yeah, I know it could be python, but I'm more comfortable with C).My questions are:
- where do I have to put the jslist.c in the RetroPie-Setup directory tree?
- It's OK to create a subdirectory in
.../scriptmodules/supplementary/
?
- It's OK to create a subdirectory in
- where to put the compiled
jslist
?- It's OK to name it as
/opt/retropie/supplementary/jslist
?
- It's OK to name it as
- where do I have to put the jslist.c in the RetroPie-Setup directory tree?
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.