Assign keys to navigate through layouts

edsulst's Avatar

edsulst

21 Nov, 2020 05:10 PM

Is is possible to assign keys to navigate trough the layouts?
I have a total of 6 layouts and want to let people choose their layout.
Unfortunately I don't have a touchscreen, but I found this http://buff.ly/2CrvY27 mentioning on the Facebook page of Sparkbooth.

It looks very nice, but is only usefull to me if it can program a button to navigate and select the chosen layout.
In the Keyboard settings of SB, I cannot find any setting for choosing and selecting the differtent layouts.
Maybe it isn't possible at all ?

Gr. Edwin.

  1. Support Staff 1 Posted by Joe Connell on 21 Nov, 2020 05:36 PM

    Joe Connell's Avatar

    YES... I use that same 6 button controller
    You need to make the 6 layouts the only ones with a
    Red Heart Favorite in your Photo Layouts settings.

    Then set one of the 6 buttons for the keyboard press
    to Change Layout... Ctrl+J
    See attached...

  2. Support Staff 2 Posted by John Wu on 21 Nov, 2020 06:25 PM

    John Wu's Avatar

    If you are using the selection screens that are displayed after starting
    the session, you can use the left/right arrows or page up/down to change
    the selection, and enter to select. If you are using keyboard only, this
    works best if only 1 layout is shown at a time.

  3. 3 Posted by edsulst on 21 Nov, 2020 06:25 PM

    edsulst's Avatar

    Hi Joe,

    I did exactly what you showed me in your pictures.
    I favorite my 6 layouts with the heart symbol.

    Now, when I got to the "select your layout en press Next" screen, I can
    press CRTL + J, but nothing changes.
    I don't have the button controller yet, but I it should work with
    pressing CRTL + J, does it not?

    One of my layouts is showing a check mark and I thought I could loop
    through the 6 layouts bij pressing the CRTL+J combination, but I don's
    see anything happening.

    Gr. Edwin.

    Joe Connell schreef op 21-11-2020 18:36:

  4. Support Staff 4 Posted by Joe Connell on 21 Nov, 2020 06:43 PM

    Joe Connell's Avatar

    It should work with holding down the Crtl key and pressing the J key at the same time

    we should do a Skype call together and I can show you how it is all set and works

    I have created a video showing the button controller in action
    see attached

  5. 5 Posted by edsulst on 21 Nov, 2020 07:40 PM

    edsulst's Avatar

    Ahh, I set all 6 layouts visable and then there is no possibility to select.
    Changed it into 1 layout visable and now I can change it with the arrow keys.
    Thanks John.

    Joe, Very nice video.
    It explained every question I have. I really gonna buy that controller !!

  6. edsulst closed this discussion on 22 Nov, 2020 01:21 PM.

  7. edsulst re-opened this discussion on 26 Nov, 2020 06:26 PM

  8. 6 Posted by edsulst on 26 Nov, 2020 06:46 PM

    edsulst's Avatar

    I still have another question.
    I have a Arduino Micro Pro who acts as an USB device.
    I already program 2 keys into it (https://www.arduino.cc/en/Reference/KeyboardModifiers). An "Arrow" key and a "ENTER" key.

    With a push button I can now navigate through my layouts, since I program one key to act as an "Arrow" key. So every time I press the button, another layout is shown, like normally done with the arrow keys on the keyboard of the computer.

    So this works fine, but when I press the other butten (set it as an ENTER key) I don't select the layout as selected with the "Arrow" key.
    It looks like the ENTER button is selecting a random layout.

    So, I did test it with the ENTER button on the keyboard, but the same happens.
    Only when I'm using the green button on the right corner of the screen it uses the layout I've selected.

    In Photo Layouts, I set the layout to "Same Layout", but I've tried all other options as well. Didn't help at all.

    It's very strange. I can use the ENTER button or key on the keyboard, but it doesn't use the selection. It only uses the selection when I'm using the "on screen" button.
    As I mentioned earlier, I don't have a touchscreen but I would really like to let the people choose their own chosen layout.

  9. Support Staff 7 Posted by John Wu on 26 Nov, 2020 07:28 PM

    John Wu's Avatar

    Not sure I understand. Can you record a video explaining and showing what
    you mean?

  10. Support Staff 8 Posted by Joe Connell on 26 Nov, 2020 10:50 PM

    Joe Connell's Avatar

    You would need to use the Screen Settings (Ctrl+2) and
    Unselect the Use Start Screen setting.
    Check the Change Layout box
    This will allow the guest/user to select the layout
    ...see video attached

    Happy Thanksgiving

  11. 9 Posted by edsulst on 27 Nov, 2020 07:28 AM

    edsulst's Avatar

    Hi John and Joe,
    I've uploaded a small video of my pushbutton setup.
    You can find it here https://youtu.be/Smv3l1ajI6Q.
    After selecting the layout with the buttons, I want to use that, by pressing the Enter button, but it seems it loads the default layout, instead of the chosen one.
    Ony when I click the OK button on the screen (with my mouse) is't using the selected theme, but that's impossible because de lack of a touchscreen.
    It looks like the ENTER button isn't confirming the chosen layout.

    @Joe, what combination dit you use on your buttons to use the chosen layout ? Not to rotate between layouts because that's the CRTL + J combination.

    Also I've included a photo of my Screen setting.
    I'm using the "Use Start Screens" option because I don't want to show the camera before a selection is made. The guest will see a nice image on the screen instead of the camera.

    I can program any (combination) of keys into the push buttons, but it seems "Enter" isn't the right one.
    Ony when I click the OK button on the screen (with my mouse) is't using the selected theme.

    Gr. Edwin.

  12. Support Staff 10 Posted by Jorge Oliva on 27 Nov, 2020 12:59 PM

    Jorge Oliva's Avatar

    Per your video the layout that you want to use the train layout it looks like a 2 x 6 with one photo so that's what the program is going to take one photo what you're seeing on the screen is the double layout that does not mean that it's going to take two different photos your layout it's designed for 1 photo

  13. 11 Posted by edsulst on 27 Nov, 2020 01:52 PM

    edsulst's Avatar

    Hi Jorge,

    I know it looks that way, but is't the same layout (2 trains) but with 2 different photo's.
    I'll add a screenshot of the layout.

    Also, other layouts, with 2 or 3 photo's will not be chosen.
    When I select that layout (3 photo's) and press the ENTER button (or the enter key on the keyboard) it still want's to take only 1 picture.
    Only when I use the OK button on the screen it wil use the selected layout.

    It seems to me that pressing ENTER (button or keyboard) doesn't look at the selected layout.
    I think maybe John can answer that question, because I he can look into the software.

  14. Support Staff 12 Posted by Joe Connell on 27 Nov, 2020 03:46 PM

    Joe Connell's Avatar

    This one has me puzzled...
    You are showing that the layout is using 2 different photo boxes
    (one RED and one BLUE) so it should show 2 Preview boxes
    (on the left with 2 windows...

    We should do a Skype call and figure out why you are having this problem.

    In Skype I can share my screen and we can talk (English only) and
    look at what your set up should look like...

    Skype is free to use computer to computer www.skype.com and
    you need to add me as a Contact using my email [email blocked]
    Then we can connect and get this figured out.

    Install Skype on the same computer as your booth is.
    So you can also share your screen and I can see what may be wrong.

  15. Support Staff 13 Posted by Joe Connell on 27 Nov, 2020 03:47 PM

    Joe Connell's Avatar

    my email is [email blocked]

  16. Support Staff 14 Posted by Joe Connell on 27 Nov, 2020 04:01 PM

    Joe Connell's Avatar

    I have it figured out now from Jorge's reply
    You have created your layout with a Double strip style and
    you have set the layout in the layout editor with the Display Split
    that will only use the left side of the layout with 1 photo
    (see attached)

    I will do a video showing it with and with out that box checked
    and add it here

  17. 15 Posted by edsulst on 27 Nov, 2020 04:03 PM

    edsulst's Avatar

    The problem I'm facing is more the selection of the layout.
    I presumed that pressing Enter would select the layout, but that's not the case.

    Only when I press the "on screen" OK button with my mouse, the chosen layout is selected. Then Sparkbooth takes 2 photo's.

  18. Support Staff 16 Posted by John Wu on 27 Nov, 2020 04:07 PM

    John Wu's Avatar

    Thanks for the video. Looks like a bug, I will look into it today and get
    back to you

  19. Support Staff 17 Posted by John Wu on 27 Nov, 2020 07:02 PM

    John Wu's Avatar

    Which keypresses are you using? Do you have the key codes that are being
    sent?

  20. 18 Posted by edsulst on 27 Nov, 2020 07:09 PM

    edsulst's Avatar

    Hi John,

    I'm using the KEY_RETURN and KEY_RIGHT_ARROW in the Arduino code.
    I have a third button code configured (CANCEL), but I'm not using that at the moment.
    As mentioned, the KEY_RIGHT_ARROW code works, as it simulates an arrow button.
    The KEY_RETURN is tested in Notepad and when pressing this button a Enter press is detected.

    I'll attach a txt file with the code, since I cannot upload an ino file.

  21. Support Staff 19 Posted by John Wu on 27 Nov, 2020 07:23 PM

    John Wu's Avatar

    I cannot duplicate what you are seeing. Does the same thing happen if you
    use a right and enter on a keyboard?

  22. 20 Posted by edsulst on 27 Nov, 2020 07:53 PM

    edsulst's Avatar

    That's strange.
    OK, I made a new video. https://youtu.be/BCwa3DSbgRw

    These are the steps I take, all on the keyboard of the laptop:
    To start the photobooth I press F12
    Then I use the arrow keys to select a layout, in this case with 3 photo's.
    Then I press Enter (normal Enter or Enter on the numpad).
    The result is that there are only 2 pictures are taken.

    I've uploaded the result photo as well.
    As you can see this is NOT the layout I've selected. The layout I did select was with 3 photo's.

  23. Support Staff 21 Posted by John Wu on 27 Nov, 2020 08:41 PM

    John Wu's Avatar

    Can you run this build?
    https://www.dropbox.com/s/dkmvyrgoij5oqw4/sparkbooth-6.1.67a.exe?dl=0
    I add more logging to get more information about what is happening.
    After it is installed and running, go to Settings > About > click the
    Sparkbooth icon and enable the debug setting.
    Close the settings dialog and run through the layout selection screen again.
    Then send me the log by pressing shift-ctrl-9

  24. Support Staff 22 Posted by John Wu on 27 Nov, 2020 08:57 PM

    John Wu's Avatar

    Forgot to attach the screenshot of the debug setting

  25. 23 Posted by edsulst on 27 Nov, 2020 08:59 PM

    edsulst's Avatar

    Hi John,

    Thanks for your quick response.

    I ran de new installation and guess what ...
    The problem is gone !!
    I don't know what's different, because I've updated last monday.
    I'll send the logs right now.

    You've said you didn't get the same error as I did and with your version I don't get the error as well.

  26. Support Staff 24 Posted by John Wu on 27 Nov, 2020 10:12 PM

    John Wu's Avatar

    Great. I suspected the button and keyboard was sending multiple key presses
    so each next press was likely changing layouts multiple times before it
    finished displaying the first change

  27. edsulst closed this discussion on 28 Nov, 2020 08:14 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

18 Jan, 2021 01:17 PM
17 Jan, 2021 08:06 PM
15 Jan, 2021 01:27 PM
12 Jan, 2021 02:27 PM
11 Jan, 2021 06:50 PM