I know how to multi-use keyboard IN, but here’s what I want.
[1,2,3] [4,5,6] [7,8,9,0] When there are three hierarchies, the key for [1,2,3] is pressed and then added to [4,5,6] while it is stored.
In the same way, add a key for [7,8,9,0] to create a number of cases like 1,4,7 or 3,5,0.
I tried to superimpose the project by putting it inside the project, but it didn’t work. The method of superimposing and connecting multiple switch also didn’t work. I’d appreciate your help.
sorry - having trouble to understand what you are trying to do.
Do you want to store only sequences? As in:
User hits keys 1, 3, 4, 2, 6, 0 results in the sequence [2, 6, 0] ?
User hits keys 2, 1, 1, 3, 8, 6, 1, 7, 2, 4, 8 results in sequence [2, 4, 8] ?
When I select and press one of 1, 2, 3 in first step, and select one of 4, 5, 6 in second step, and select and press 7, 8, or 9 in third step, for example, 2, 5, 8 is accumulated and stored.
And I want a image of three keys comes out together.
I’m wondering if I can create a group hierarchy of three-digit numbers in the way I use keyboardin and switch to save and select each one.
these kind of things are probably best dealt with in a Keyboard In DAT and it’s callbacks.
Question though, what is suppose to happen if people do not click the sequence in order, or is this not the issue?
But in simple terms a collection of Fan CHOPs and a Hold CHOP should do the trick:
Hope this helps
base_storeKeyboard.tox (2.2 KB)
It’s exactly the solution to the problem I’ve been through. Thank you so much.
May I ask you an additional question?
I’d like to change it by adding an image according to the state of each key being pressed.
For example, when you assign image 1 to key 1, image 2 to key 5, and image 3 to key 8, you want to output image 3 if keys 1, 5, and 8 are pressed sequentially and finally.
If keys 1, 4, and 8 are pressed, I want to extract a different image because the middle number has changed.
I want to recognize numbers cumulatively and create a number of different cases.
you can load the 10 images via Movie FIle In TOPs, connect them to 3 Switch TOPs and control the Switch TOP’s Index parameter with the values stored from the keyboard.
Your first image should be empty I guess to have a state where no key has been clicked.