• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

Kids & Kiosk Mode, coming back [testers needed!]

Scheduled Pinned Locked Moved Ideas and Development
emulationstatiokiosk kids modetestingbackfromthedead
182 Posts 28 Posters 51.1k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    MrJordaaany
    last edited by 29 Nov 2017, 23:51

    So my understanding is, there is a new kids mode you can install from Retropie? One that matches the new emulationstation changes? If so awesome! I've been wanting to do alot more controlled build for my friends who have kids and stuff that they don't want mucking around with options :)

    1 Reply Last reply Reply Quote 0
    • S
      Srfrboybob @Zigurana
      last edited by 30 Nov 2017, 02:30

      @zigurana I ran debug mode as requested. Here is a quick photo (sorry all I was able to provide at this time). The 8bitdo does use “hat” for dpad inputs as suspected.

      0_1512009001762_2BE87F92-A7CD-4FC1-9212-453E87891795.jpeg

      Sorry if the image is rotated funny. My phone uploads have done this in the past

      1 Reply Last reply Reply Quote 0
      • K
        Krahs
        last edited by Krahs 30 Nov 2017, 08:05

        Hi Kids... and kiosks....

        Here it is my log:

        lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0
        lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 up, isMappedTo= up, , value=1
        lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0
        lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 down, isMappedTo= down, , value=4
        lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0
        
        

        As srfrboybob said, seems that 8bitdo interprets d-pad as hat...

        1 Reply Last reply Reply Quote 0
        • Z
          Zigurana
          last edited by 30 Nov 2017, 08:34

          @Srfrboybob and @dvf00 , thanks for the info, that is very helpful.

          ok, so now we have the following situation to work with:

          XBox360 controllers intersperses the dpad inputs with hat inputs of varying value:

          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
          

          8Bitdo NES30 pro controllers report all dpad actions as hat movements, also with varying values, but now alternated with a neutral? state, value = 0:

          lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0
          lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 up, isMappedTo= up, , value=1
          lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0
          lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 down, isMappedTo= down, , value=4
          lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0
          

          ... and finally the observation that my initial implementation of finding inputs that have no isMappedTo value did not work.

          Looking at this, I think that filtering out the values that have no mappedTo (undefined keypresses) should be the best way to cope with this. The question is how.
          I'll try to replicate the issue with another controller, to see how to catch those undefined inputs.

          If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

          1 Reply Last reply Reply Quote 1
          • Z
            Zigurana
            last edited by 30 Nov 2017, 09:23

            @darknior @dvf00 @Srfrboybob , @anyone with a fancycontroller

            I've rewritten the logic for input validation (again), I'd like both users with a x360 and an 8-bitdo controllers to give this a try.
            Could you maybe try it out?

            repo: zigurana\EmulationStation
            branch: UIModeInputHandling

            Please run emulationstation --debug to get all the logging.

            Thanks!

            If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

            1 Reply Last reply Reply Quote 1
            • K
              Krahs
              last edited by 30 Nov 2017, 18:58

              I've just tested EmulationStation from your repo (UIModeInputHandling branch) and I get the same problem: doesn't work.
              Here the output of logging:

              lvl3: 	SystemView::getViewElements()
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 up, isMappedTo= up, , value=1
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 up, isMappedTo= up, , value=1
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 down, isMappedTo= down, , value=4
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 down, isMappedTo= down, , value=4
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 left, isMappedTo= left, , value=8
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 right, isMappedTo= right, , value=2
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 left, isMappedTo= left, , value=8
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 right, isMappedTo= right, , value=2
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Button 0, isMappedTo= b, , value=1
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Button 0, isMappedTo= b, , value=0
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Button 1, isMappedTo= a, , value=1
              lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Button 1, isMappedTo= a, , value=0
              

              I've made a script for download and compile from your own fork using the method on this post: how to compile custom emulation-station from retropie . It looks like this, and seems to work:

              #!/usr/bin/env bash
              
              rp_module_id="emulationstation-custom"
              rp_module_desc="A modified version of EmulationStation."
              rp_module_section="core"
              
              function depends_emulationstation-custom() {
                  depends_emulationstation
              }
              
              function sources_emulationstation-custom() {
                  sources_emulationstation "https://github.com/zigurana/EmulationStation" "UIModeInputHandling"
              }
              
              function build_emulationstation-custom() {
                  build_emulationstation
              }
              
              function install_emulationstation-custom() {
                  install_emulationstation
              }
              
              function configure_emulationstation-custom() {
                  configure_emulationstation
              }
              
              function gui_emulationstation-custom() {
                  gui_emulationstation
              }
              

              So I guess I did it right, when I press start I see the same version as official retropie fork 2.7.3RP so I'm not pretty sure I have your new logic for controller handling....

              Z 1 Reply Last reply 30 Nov 2017, 19:23 Reply Quote 0
              • Z
                Zigurana @Krahs
                last edited by Zigurana 30 Nov 2017, 19:23

                @dvf00 My apologies, I screwed up.
                Somehow I only created a new branch, but my new commit was not pushed to it.
                I've just updated it, should be good now.

                Your script should work, nice tinkering btw! There is an easier alternative though, by using Meleu's testing scripts, which can be found here. It will allow you to create a list of branches from which you can install and test, and also to revert easily to stock ES. Do give it a try.

                Again sorry for wasting your time.

                If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                1 Reply Last reply Reply Quote 0
                • K
                  Krahs
                  last edited by 30 Nov 2017, 20:00

                  No worries Zigurana...
                  Ohh yes... downloaded and running, that script is the way! I didn't know it... :-)
                  Compiling now ES... let me try

                  1 Reply Last reply Reply Quote 0
                  • K
                    Krahs
                    last edited by 30 Nov 2017, 20:28

                    working with 8Bitdo! :-)

                    lvl3: 	SystemView::getViewElements()
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Button 0, isMappedTo= b, , value=0, isValidInput: no
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 right, isMappedTo= right, , value=2, isValidInput: yes
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0, isValidInput: no
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Button 11, isMappedTo= start, , value=0, isValidInput: no
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 up, isMappedTo= up, , value=1, isValidInput: yes
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0, isValidInput: no
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 up, isMappedTo= up, , value=1, isValidInput: yes
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0, isValidInput: no
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 down, isMappedTo= down, , value=4, isValidInput: yes
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0, isValidInput: no
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 down, isMappedTo= down, , value=4, isValidInput: yes
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0, isValidInput: no
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 left, isMappedTo= left, , value=8, isValidInput: yes
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0, isValidInput: no
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 right, isMappedTo= right, , value=2, isValidInput: yes
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0, isValidInput: no
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 left, isMappedTo= left, , value=8, isValidInput: yes
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0, isValidInput: no
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 right, isMappedTo= right, , value=2, isValidInput: yes
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Hat 0 neutral?, isMappedTo= down, left, right, up, , value=0, isValidInput: no
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Button 1, isMappedTo= a, , value=1, isValidInput: yes
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Button 1, isMappedTo= a, , value=0, isValidInput: no
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Button 0, isMappedTo= b, , value=1, isValidInput: yes
                    lvl3: 	 UIModeController::listen(): Passkey sequence completed, switching UIMode to full
                    lvl3: 	Settings::saveFile() : Saving Settings to file.
                    lvl3: 	SystemView::getViewElements()
                    lvl3: 	UIModeController::logInput( 8Bitdo NES30 Pro ):Button 0, isMappedTo= b, , value=0, isValidInput: no
                    lvl2: 	EmulationStation cleanly shutting down.
                    ´´´
                    D 1 Reply Last reply 30 Nov 2017, 21:33 Reply Quote 0
                    • D
                      darknior @Krahs
                      last edited by 30 Nov 2017, 21:33

                      @dvf00 Yes already try 8bitDo and report it works fine too.

                      I don't know where to report this :
                      With these last ES versions, i have some aleatory crash. Some time during the Video Screensaver ... but i don't know when it will come.
                      Some time it loop on one video, it reading it at infinity ... i can't move out.
                      Some time it crash to linux, and i'm locked too, the keyboard don't respond.
                      But i always have the SSH access.

                      My last crash screen :
                      0_1512077306483_20171130_222055_HDR.jpg

                      Life is game, just play it !

                      Z 1 Reply Last reply 30 Nov 2017, 21:48 Reply Quote 0
                      • Z
                        Zigurana @darknior
                        last edited by 30 Nov 2017, 21:48

                        @darknior
                        You mean to say you tried the x360 controller?

                        If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                        D 1 Reply Last reply 30 Nov 2017, 21:58 Reply Quote 0
                        • D
                          darknior @Zigurana
                          last edited by darknior 30 Nov 2017, 21:58

                          @zigurana I don't try it again, but last time i try it it works fine.
                          I will try your last beta to see.

                          This crash is an other problem.

                          Life is game, just play it !

                          Z 1 Reply Last reply 30 Nov 2017, 22:16 Reply Quote 0
                          • Z
                            Zigurana @darknior
                            last edited by 30 Nov 2017, 22:16

                            @darknior yes, please try it, I am hoping that it will not regress your issue, but there is only one way to be sure ;-).

                            Regarding your crashes, I suspect it has nothing to do with the topic of this thread, but likely something with video playback. So I'd suggest to start a new thread on this, as it seems a serious issue.

                            If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                            1 Reply Last reply Reply Quote 0
                            • P
                              pjft
                              last edited by 30 Nov 2017, 22:28

                              I can say I've never seen such a crash dump in EmulationStation, which may point to faulty media (SD card or USB drive). I imagine that if you try it with your previously working binary you will run into the same thing.

                              Still, some more investigation can only help: is it the same video all the time, etc?

                              Thanks.

                              1 Reply Last reply Reply Quote 0
                              • D
                                darknior
                                last edited by 30 Nov 2017, 23:10

                                @Zigurana I have try your last build, emulationstation-dev, to try my x360 controller game-pad. And :

                                • x360 gamepad not working
                                • 8bitDo NES not working
                                • 8bitDo NES PRO not working
                                • 8bitDo SNES is the only one working fine for me.

                                Life is game, just play it !

                                Z 1 Reply Last reply 1 Dec 2017, 06:30 Reply Quote 0
                                • Z
                                  Zigurana @darknior
                                  last edited by 1 Dec 2017, 06:30

                                  @darknior what in the name of all that's retro?!

                                  To be sure: this is on the zigurana / UIModeController branch?

                                  Would you have the logging from each of those controllers available?

                                  If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                                  D 1 Reply Last reply 1 Dec 2017, 08:15 Reply Quote 0
                                  • D
                                    darknior @Zigurana
                                    last edited by 1 Dec 2017, 08:15

                                    @zigurana said in Kids & Kiosk Mode, coming back [testers needed!]:

                                    @darknior what in the name of all that's retro?!

                                    deviceName="Xbox 360 Wireless Receiver (XBOX)"
                                    deviceName="8Bitdo SFC30 GamePad" deviceGUID="05000000102800000900000000010000"
                                    deviceName="Xbox 360 Wireless Receiver" deviceGUID="030000005e040000a102000000010000"
                                    deviceName="8Bitdo NES30 Pro" deviceGUID="05000000c82d00002038000000010000"
                                    deviceName="8Bitdo NES30 GamePad" deviceGUID="05000000c82d00002028000000010000"
                                    

                                    To be sure: this is on the zigurana / UIModeController branch?

                                    I write i use the emulationstation-dev from Retropie-Setup.

                                    Would you have the logging from each of those controllers available?

                                    ??? What do you want ?

                                    Life is game, just play it !

                                    1 Reply Last reply Reply Quote 0
                                    • Z
                                      Zigurana
                                      last edited by 1 Dec 2017, 08:46

                                      @darknior Sorry, maybe a bit cryptic :-?
                                      What I meant to say: "Huh I do not understand these results you are getting, we need to make sure you are testing the correct thing. And then we need to figure out what the hell is going on"

                                      Please test these branches using the testing scripts. You will need to select this :
                                      repository: zigurana/emulationstation
                                      branch: UIModeInputHandling

                                      Regarding logging, i meant the logged values for inputs for each of the controllers, I've updated the logging again to hopefully show me all I need to know.

                                      Sorry for the confusion, and to burden you so much, but you seem to be one of the few people who have such a wide range of controllers available. (With great power comes great responsibility ;-))

                                      You are doing good work, please keep it up!

                                      If tetris has thought me anything, it's that errors pile up and that accomplishments dissappear.

                                      Z 1 Reply Last reply 4 Dec 2017, 15:47 Reply Quote 0
                                      • K
                                        Krahs
                                        last edited by 1 Dec 2017, 14:31

                                        When do you expect we could have available these changes in official repo?

                                        E 1 Reply Last reply 1 Dec 2017, 14:52 Reply Quote 0
                                        • E
                                          EctoOne @Krahs
                                          last edited by 1 Dec 2017, 14:52

                                          @dvf00 probably when the most issues are fixed. I mean that's why the developer branch was created recently, some older official releases weren't as stable as they should've been.

                                          1 Reply Last reply Reply Quote 0
                                          134 out of 182
                                          • First post
                                            134/182
                                            Last post

                                          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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received