Hi,
I have two pages in my scene, in each scene contains a video.
For both videos in the two different pages I used:
"Enter" = play
"Space" = pause
I realize that if I'm on either of the pages and I press "enter" it activates both video to play.
I'm using different "DirectInput Key Node" for both videos.
Is it possible to have both videos (which is on different pages) to use the same ""Enter" = play & "Space" = pause" keyboard input but is activate base on pages, so therefore using "Space" or "Enter" on page 1 will only play and stop the video on page 1 and not on page 2 and vise visa.
Thanks
Cheers,
Tyle_cells
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
Keyboard input to activate separately from pages.
Moderator: Support
Re: Keyboard input to activate separately from pages.
Of course its possible, you can either pass the key presses through events and enable them only while the right page is active or deactivate the DirectInputKey itself.
Depending on how you switch between pages you might need an expression to convert this info to '0' and '1'
Greets,
Schub
Depending on how you switch between pages you might need an expression to convert this info to '0' and '1'
Greets,
Schub
Re: Keyboard input to activate separately from pages.
The DirectInput/Windows Key nodes have the 'AutoDeactivate' property. If it is set to true, the node will be automatically disabled if the Hierarchy Container, containing this Key node, is blocked:
http://www.ventuz.com/support/help/late ... WindowsKey
http://www.ventuz.com/support/help/late ... WindowsKey
Re: Keyboard input to activate separately from pages.
Hi,
Thanks a lot for the help.
I think it's working.
Cheers,
Tyle_cells
Thanks a lot for the help.
I think it's working.
Cheers,
Tyle_cells