Hello!
Since I've done my little drawing add-on I like to back now to my text editor. This script is now the only thing, that gives us posibility to write a text on camera. But there are more situations, that typing could be usefull. This include:
- renaming files/directories
- creating files/directories
- adding user comments to photos (e.g. to EXIF
- others?
There was a thread about virtual keyboard but it died around 2008 and gave no significant results.
I'm sure, that typing style that is used in my editor is enough convenient and can be used for other purposes. But at the moment it is implemented only as a part of the script.
This script is a little bit complicated and it would be not easy to separate writing functions from this code to place them to LUALIB. I could rewrite this code and provide such independent Lua module with next major realase of the Edi (3.0). But this way typing would be possible to be used only in other scripts. So all aforementioned applications would have to be done only as scripts.
In my opinion it would be better to add some basic typing code to source code, which coud be then used in two ways:
- new applet - virtual keyboard - could use this functions to provide an gui element for typing while CHDK needs this (e.g. rename file)
- new lua function/module that could use this functions to provide an typing possibility in scripts (usefull for editor, but also for e. g. intervalometers - user could set one description for a whole photo serie
Other way is just to provide a virtual keyboard, that could be loaded either from CHDK source or from Lua. And I prefer this.
Before I start I need your opinions about this project. What do you think about this typing style, which is used in Edi? I'm using it very often and I think it's OK, but somebody might have better ideas.
I think, that I could write virtual keyboard code, which would increase binary size only a little.
Also - probably I would need some help from C programmers and devs with CHDK-code knowledge to make clean, safe and stable code.
I'm waiting for opinions;)