Kids & Kiosk Mode, coming back [testers needed!]
-
@zigurana said in Kids & Kiosk Mode, coming back [testers needed!]:
repo: zigurana\EmulationStation
branch: ControllerInput
Please run emulationstation with the --debug flag to get the new logging, which should now capture all inputs and some more info.I don't understand, it crash when i want to compile :(
I have remove all and try again, same ...
Where are the LOG please ? -
@darknior well, that's no good now, is it? I'm sorry to give you such a hassle. What is the error message you are getting?
If I get a chance, I'll try to compile this on my Pi tonight... -
@zigurana said in Kids & Kiosk Mode, coming back [testers needed!]:
What is the error message you are getting?
I don't know, it's why i ask you where are write the LOG to read the error message :(
On shell i can read :
[ 4%] Building CXX object es-core/CMakeFiles/es-core.dir/src/UIModeController.cpp.o In file included from /home/pi/src/es_zigurana_controllerinput/es-core/src/UIModeController.cpp:1:0: /home/pi/src/es_zigurana_controllerinput/es-core/src/UIModeController.h:41:7: error: extra qualification ‘UIModeController::’ on member ‘logInput’ [-fpermissive] void UIModeController::logInput(InputConfig * config, Input input); ^ es-core/CMakeFiles/es-core.dir/build.make:422: recipe for target 'es-core/CMakeFiles/es-core.dir/src/UIModeController.cpp.o' failed make[2]: *** [es-core/CMakeFiles/es-core.dir/src/UIModeController.cpp.o] Error 1 CMakeFiles/Makefile2:217: recipe for target 'es-core/CMakeFiles/es-core.dir/all' failed make[1]: *** [es-core/CMakeFiles/es-core.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2 Removing additional swap /home/pi ====== W A R N I N G !!! ====== = SOMETHING WRONG HAPPENED!!! = ===============================
-
Argh! That's a stupid mistake! Give me a moment, and I'll push out a new commit.
-
done, can you give it another try? (sorry I cant be more help right now, visiting relatives atm)
-
@mitu said in Kids & Kiosk Mode, coming back [testers needed!]:
@hansolo77 See https://github.com/RetroPie/RetroPie-Setup/wiki/Child-friendly-EmulationStation#switching-modes - edit
/home/pi/.emulationstation/es_settings.cfg
and set the UIMode to full.Thanks! I actually figured it out last night. But it's good to know there's a way to fix it for other people.
-
You can scrap it on many site. Like on ScreenScrapper with the Classification TAG ;)
Some games are TAG 6+ : https://www.screenscraper.fr/gamesinfos.php?plateforme=49&alpha=0&numpage=0
They don't have it for all the games, but it will come with time ...
And if we can use it on ES, it will help more people to work on this cool TAG :p
They already take this tag when it is available on each site they scrap with their bot.@Zigurana You have not answer me for that ?
DISPLAY=:0 emulationstation --debug nano home/pi/.emulationstation/es_log.txt
Your tracking is really better :)
lvl2: Added known joystick Xbox 360 Wireless Receiver (instance ID: 0, device index: 0) lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 15, isMappedTo= up, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 up, isMappedTo= , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 15, isMappedTo= up, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 15, isMappedTo= up, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 up, isMappedTo= , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 15, isMappedTo= up, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 16, isMappedTo= down, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 down, isMappedTo= , value=4 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 16, isMappedTo= down, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 16, isMappedTo= down, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 down, isMappedTo= , value=4 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 16, isMappedTo= down, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 13, isMappedTo= left, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 left, isMappedTo= , value=8 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 13, isMappedTo= left, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 14, isMappedTo= right, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 right, isMappedTo= , value=2 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 14, isMappedTo= right, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 13, isMappedTo= left, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 left, isMappedTo= , value=8 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 13, isMappedTo= left, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 14, isMappedTo= right, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 right, isMappedTo= , value=2 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 14, isMappedTo= right, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 1, isMappedTo= b, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 1, isMappedTo= b, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 0, isMappedTo= a, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 0, isMappedTo= a, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 1, isMappedTo= b, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 1, isMappedTo= b, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 9, isMappedTo= start, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 9, isMappedTo= start, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 15, isMappedTo= up, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 up, isMappedTo= , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 15, isMappedTo= up, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 15, isMappedTo= up, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 up, isMappedTo= , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 15, isMappedTo= up, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 16, isMappedTo= down, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 down, isMappedTo= , value=4 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 16, isMappedTo= down, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 16, isMappedTo= down, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 down, isMappedTo= , value=4 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 16, isMappedTo= down, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 13, isMappedTo= left, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 left, isMappedTo= , value=8 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 13, isMappedTo= left, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 14, isMappedTo= right, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 right, isMappedTo= , value=2 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 14, isMappedTo= right, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 13, isMappedTo= left, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 left, isMappedTo= , value=8 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 13, isMappedTo= left, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 14, isMappedTo= right, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 right, isMappedTo= , value=2 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 14, isMappedTo= right, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Hat 0 neutral?, isMappedTo= , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 1, isMappedTo= b, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 1, isMappedTo= b, , value=0 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 0, isMappedTo= a, , value=1 lvl3: UIModeController::logInput( Xbox 360 Wireless Receiver ):Button 0, isMappedTo= a, , value=0
-
I just updated emulaionstation last night and the added features are awesome. You really outdid yourself here. I especially love that you can set the retropie settings metadata to “hidden” for whatever you want and it will not show up while in kiosk. I left just bluetooth and WiFi for basic controller stuff and kodi usage. I have a question though and I’m sorry if it’s already been answered and I missed. When I turn off or restart the pi the kiosk mode is dropped and I’m back in full ui mode. How do I make it stick and stay in kiosk mode for good unless unlocked?
-
@cjax08
It should be written to the settings.cfg file, if it doesn't, there might be something wrong with the way you restart the system, or the file permissions of thr settings file. -
@zigurana well after I enabled it I just did a system restart from the menu and it was reset. Would it matter if I did a clean system shutdown instead? I know I have save metadata on shutdown enabled if that would matter at all. If it’s a system permission thing then I’m not sure how I would o about changing that.
-
@darknior
Ok, now at least we know what is going on. There are 'hat' type events registered with all the axis events. It looks like these 'hat' events are not registered to anything, so now we have two options :
Ignore all 'hat' events when considering the input, or ignore all inputs when they are not configured.
I lean towards the latter option.
I will try to create a new version for you to test tonight. -
@zigurana said in Kids & Kiosk Mode, coming back [testers needed!]:
Ignore all 'hat' events when considering the input, or ignore all inputs when they are not configured
That sounds like a good plan.
-
@darknior
Regarding the PEGI classification: again, I like the idea, but we would need some kind of buy-in from scraper developers (@sselph?) to get that data from screenscraper.fr.For now though, lets make it a feature for a next iteration. I'd like to get this working without issues first.
-
@zigurana said in Kids & Kiosk Mode, coming back [testers needed!]:
@darknior
Regarding the PEGI classification: again, I like the idea, but we would need some kind of buy-in from scraper developers (@sselph?) to get that data from screenscraper.fr.
For now though, lets make it a feature for a next iteration. I'd like to get this working without issues first.Yes for sure, not now, but in a near future it can be cool to change for this system.
I will try to create a new version for you to test tonight.
Ok i'm ready ;)
-
-
@darknior :
Can you try again from my repository, branch: ControllerInput? -
I have try, execute the code [up,up, down, down, left, right, left, right, b, a] and it not works with x360 PAD.
An other idea ?I have see this comit, good idea, but i don't see the ARROW ?
-
@darknior
ok, please hang in here, we will solve this, one way or another...
(man, debugging over this distance is quite tedious!)Ignore the empty strings for now, that is another issue, related to missing unicode characters.
I've updated the branch again, could you try again?
-
Yes it's not easy, but we will found a solution :)
@Zigurana , @meleu it is not the first time i have the problem it is strange, whe i want to update/build the source code of Zigurana, i can't.
It write me Failed to download .... Check your connection and try again.
But it is false because i can update an other on source without any problem.= = = = = = = = = = = = = = = = = = = = = Running action 'install_theme' for 'esthemes' : Install themes for Emulation Station = = = = = = = = = = = = = = = = = = = = = job-working-directory : erreur de détermination du répertoire actuel : getcwd : ne peut accéder aux répertoires parents : Aucun fichier ou dossier de ce type pushd : erreur de détermination du répertoire actuel : getcwd : ne peut accéder aux répertoires parents : Aucun fichier ou dossier de ce type job-working-directory : erreur de détermination du répertoire actuel : getcwd : ne peut accéder aux répertoires parents : Aucun fichier ou dossier de ce type sh: 0: getcwd() failed: No such file or directory fatal: Unable to read current working directory: Aucun fichier ou dossier de ce type job-working-directory : erreur de détermination du répertoire actuel : getcwd : ne peut accéder aux répertoires parents : Aucun fichier ou dossier de ce type sh: 0: getcwd() failed: No such file or directory fatal: Unable to read current working directory: Aucun fichier ou dossier de ce type /home/pi/RetroPie-Setup/scriptmodules/helpers.sh: ligne 345 : popd: pile de répertoire vide Error running 'git pull' - returned 128 Error running 'git submodule update --init --recursive' - returned 128 job-working-directory : erreur de détermination du répertoire actuel : getcwd : ne peut accéder aux répertoires parents : Aucun fichier ou dossier de ce type
When i remove them i understand i have a right problem or some thing ... i don't know.
My es-tests.sh is installed in /home/pi/ and i always use it with pi user. -
@zigurana WOAW, first try i WIN lol
It works fine now for x360 controllers and i'm sure some other ... ;)
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.