@TiddlyTweeter & @all,

a possible scheme for creating keyboard layouts:


   - a new tiddler, tagged $:/tags/something, holds everything in its fields
   - create a field "row-1-small" for the first row and the keys you want 
   to have in the first row when caps-lock isn't set
   - create a filed "row-1-small-alias" if you want something else than the 
   keys itself displayed on the keyboard buttons. if this field doesn't exist, 
   the keys themselves will be displayed on the buttons
      - provide an alias for each key, in the row-1-small field's order
   - repeat this for how many lines you want to add
   - row-1-big and row-1-big-description - for the first row's keys when 
   capslock/shift and so on for row-2/row-3...
   - provide a field "keyboard-controls" and select which control buttons 
   you want to add
      - can be: backspace, return, space, capslock, shift, save, cancel, tab
      - move and abc will always be added
   - if you want to add new-lines with your keys or other special 
   characters that are not possible to represent in a tiddler field, you can 
   add a field "row-1-small-json" and insert the title of a json tiddler where 
   you can insert your keys with new-lines and other characters:
      - new-line: \n
      - double quote: \"
      - tab: \t
      - and others, google for regex
   - the index-name in the json file must be the alias you set in the 
   row-x-alias field. Using a json-tiddler the alias-field is needed, if you 
   don't use a json tiddler, you don't have to add this field.
   - That should be it

If you have suggestions for a better scheme, don't hesitate to comment 
and/or provide some examples, I'd appreciate!

functional updates: 

   - the keyboard on http://muritest.tiddlyspot.com now can be moved all 
   over the screen by dragging the top left move-button
   - the backspace, return and space buttons can be held to do their action 
   multiple times. it uses the pan widget, that's why you'll have to move the 
   cursor a bit while keeping the mouse button pressed (drawing small circles 
   works fine) - I think I'll use the press widget for this when it's done - 
   then it should work like keeping a keyboard button pressed.


BTC

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/6aee5a24-7991-4ca3-afd9-82bc364e38c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to