Here is the first version of a virtual keyboard i made using drawings which is useless alone but if included in other scripts will provide an easy input method... the main function returns the written string (max 42 chars) so you can insert it like a function and do something like
input=keyboard()
i found it useful in a couple of scripts i'm writing
Features:
- Alphanumeric values and some symbols
- Two input grids (switch using "zoom+" and "zoom-")
- Space with "video"
- Backspace with "menu"
- Return string (end of input) with "half shot"
- Select characters using 'arrows'
INFO AND USAGE
Copy the whole code in your script or in a library and the use result=keyboard.kinput(string) to obtain a string result.
Comment or delete the last line of this code which is the keyboard.kinput(string) used by the standalone version.
'string' is a message you can display to the final user via an alert box, use 'NIL' to display nothing.
Note that there are certain var names used by the keyboard, like 'page','k','keyboard','kstringa' and others, pay attention!
BUTTONS
For cameras having 'menu' and 'video' button, 'menu' is a backspace and 'video' a space.
For everyone else, use the characters on the keyboard.
'zoom_in' and 'zoom_out' change the page (letters/numbers and symbols).
'half_press' returns the string and terminate the script via "return" method.
Tell me what do you think 'bout it
UPDATE: Alpha version is out
Link updated!