Nothing ungrateful about that. Good to hear your take on how you'd implement it, really.![]()
I don't want to sound ungrateful but, I'm thinking of not using XML files at all.
I'm gonna use actual script files themselves as the keyboard layout definition (.lua in my case as I've decided to use Lua). What I'll do is, there's a lua table that declares all the keys, where they are on the screen, and a callback function attached to each. When a key is pressed, that callback function gets called, which would normally return a single letter, but this lets me do stuff like making a key output the current date and time, which is what the blank keys on the far left are for (in my program). Its quite similar to the XML file you made actually.
I had originally been thinking each key have its own .png file so users can rearrange the layout on the fly, but maybe one big keyboard .png file may be easier (like in the ones you provided, and besides, its also how I do things currently).
In your QWERTY layout pic, I can see a forward slash "/", but I can't seem to find backslash "\", also tab, bar "|", tilde "~", and backquote "`" (although the last three might not be that important).
I'm also gonna make a "character map" keyboard layout. Its like the Character Map program for Windows, a table of chars including accented letters and those wierd engineering/math symbols.
I might also put in the FITALY layout, I used to use that when my PDA was still working.
http://www.fitaly.com/
Here's some weird page I found about alternative keyboard layouts (its in Japanese though, I just look at the pictures):
http://pitecan.com/articles/HIS/Inpu...putsurvey.html
http://mrl.nyu.edu/projects/quikwriting/Quikwrite2.html
Last edited by anomalous_underdog; April 17th, 2008 at 20:21.
Nothing ungrateful about that. Good to hear your take on how you'd implement it, really.![]()
I'm not sure a character map is the best way to input foreign characters. Have you looked into how Apple uses the option key for this? Also, why FITALY instead of QUONG? It seems FITALY is optimized for single presses whereas QUONG is optimized for strokes as desired by the creator of HexInput.
As an addition that makes perfect sense. Sorry about that. I'm still curious about the foreign characters, though. I'd prefer option-key style input over a character map.
Also, turns out OPTI is 5% faster than FITALY, but very similar in layout. You may want to consider it instead:
http://www.yorku.ca/mack/CHI99a.html
Last edited by antiaverage; April 24th, 2008 at 05:02.
hey, thanks a lot for pointing that out, FITALY is commercially owned, so I was having doubts whether I should include it in my program or not.
since OPTI seems to be an academic research paper, its creators may be more willing to let other people use it.
I'm also thinking of adding Quikwrite. http://mrl.nyu.edu/projects/quikwriting/Quikwrite2.html
Yes, I'm thinking about it too. I'm only planning on putting the character map option so users can input any conceivable character allowed in unicode (but perhaps not kanji or other similar foreign language letters. I heard their letters are something like a million or more in total).
as for typing of foreign letters in daily usage, I'm still thinking about it.
revision 97 released!
nds file:
http://dl.sharesource.org/blarghtext...or.nds.r97.zip
source code:
http://dl.sharesource.org/blarghtext...or.src.r97.zip
notes:
- a few bugfixes, although there are still a handful of bugs
- after typing an amount of text, press the bottom-left hex. it'll print some info about the lines of text currently displayed. those are the line data. I'm about to refactor some of the text editing code to make use of that data
revision 103 released!
nds file:
http://dl.sharesource.org/blarghtext...ditor.r103.zip
http://www.zshare.net/download/11528400d5b3077e/
source code:
http://dl.sharesource.org/blarghtext...r.src.r103.zip
notes:
- bugfixes. text editing should have no bugs now
- i'm currently working on implementing proper word-wrapping, its incomplete, so I didn't include it in the release
Keep it up, I can't wait for this thing to save and load ^_^
BLARGHText is only for a R4-supported DS, right? Can the save/load option open files from inside the R4?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks