Tag Archives: virtual
New version of Tiper and MapMaker
Thanks to Bernardo dos Santos for the mail. He was using the Tiper2 and he have some problems with the tuioZone. I take the opportunity to translate the code and comment it in english.
I also clean some parts of the code and modify the first part of the .kbd files in order to store there the information abouth the border and center of the keyboard.
First you have to use the Tiper3MapMaker in order to draw the distribution of the keyboard you want to use. I already made a map.kbd file. Open it with a text editor, explore, modify or erase all the information. Then draw a new one. For default you it always save it on the map.kbd file.
The interesting thing of it is that in this example I use a photo of a mac keyboard but you can use what ever you want. Each time you press a key it will create one with the same letter. But then you can change it using a text editor and put there a word for example: POWER, VOL +, VOL – , etc…. in order to make a RemoteControl.
After created you map.kbd file move it to the data folder of Tiper3. With it you give it life and functionality. You can place it what ever you want and rotate. It use polar geometry instad of pushing and poping the matrix, so it always work no mater how many times you rotate and move it.
I commented some lines here use the TUIO library in order to make it work over a multitouch surface. You can download the library from tuio.org, look at the videos I have about making a cheap moultitouch surface to start playing with it and using as a virtual keyboard.
Look at the “check” funtion of the Keyboard Class in order to know how to know wich key is pressed and start thinking how can became part of you projects.
If it works for you, or if you make some changes, or if you have doubts, please let me know in order to make it a better tool.
Source code here
Processing Virtual Keyboard for MultiTouch Proyect
Tiper2: Virtual KeyBoard for multiTouch proyects. Made with Processing. Very Beta
Tiper2MapMaker: Helps you to generate the key map using a picture. Press any key of your real or fisical keyboard and it´ll appear. Then drag it to the place you like. It works better when you download it because it need to save the map.kbd with every change.
Also you can download the full code with files here.

tiper2 by Patricio Gonzalez Vivo is licensed under a Creative Commons Reconocimiento-No comercial-Compartir bajo la misma licencia 2.5 Argentina License.

