Re: [NTLK] Got my Newtway adaptor! Whoohoo!

From: Daniel Padilla (dproldan_at_telefonica.net)
Date: Sun Jan 18 2004 - 11:56:09 PST


>It would of course be most lovely if Daniel could be
>persuaded into tweaking the driver for localized
>keyboard layouts.

    Let's see what we can do...

    Change these lines to match your keyboard, and send them back to me.
Let me know if you need some instructions.

---------------------------------------------------------------------------

/*
 This array contains the output values, what will be send to the application
receiving the characters, functions, etc...
 As you see, the layout is the same as in the StowAway keyboard. The
*position* of each value is the same as its hex value in HexArray.
*/
[//Normal
    "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "-", "=", "\u0008",
 "\u0009","q", "w", "e", "r", "t", "y", "u", "i", "o", "p", "[", "]", "/",
 "caps", "a", "s", "d", "f", "g", "h", "j", "k", "l", ";", "'", "\u000d",
    "z", "x", "c", "v", "b", "n", "m", ",", "." , "/", "\u001e",
  "lctrl","fn","cmd", " ", " ", "`", "done", "del", "\u001c", "\u001f",
"\u001d",
   func () begin if GetRoot().calendar then GetRoot().calendar:toggle();end
,
 func () begin if GetRoot().cardfile then GetRoot().cardfile:toggle();end ,
 func () begin if GetRoot().calendar then GetRoot().calendar:toggle();
   if GetRoot().calendar.ViewCObject then
GetRoot().calendar:displaydate(time(),'todolist);end ,
 func () begin if GetRoot().paperroll then GetRoot().paperroll:toggle(); end
,

// Shift
"!", "@", "#", "$", "%", "^", "&", "*", "(", ")", "_", "+", "\u0008" ,
"\u0009" , "Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", "{", "}", "|",
"CAPS", "A", "S", "D", "F", "G", "H", "J", "K", "L", ":", "\u00a8", "\u000d"
,
"Z", "X", "C", "V", "B", "N", "M", "<", ">", "?", "\u001e" ,
"LCTRL", "FN", "CMD", " ", " ", "~", "DONE", "DEL", "\u001c" , "\u001f" ,
"\u001d" ,
"","","","",

//Alt
"\u00a1","\u2122","\u00a3","\u00a2","\u221e","\u00a7","\u00b6","\u2022","\u0
0aa","\u00ba","\u2013","\u2260","\u0008",
"\u0009","\u0153","\u2211","\u00b4","\u00ae","\u2020","\u00a5","\u00a8","\u0
2c6","\u00f8","\u03c0","\u201c","\u2018","\u00ab",
"CAPS","\u00e5","\u00df","\u2202","\u0192","\u00a9","\u02d9","\u2206","\u02d
a","\u00ac","\u2026","\u00e6","\u000d",
"\u2126","\u2248","\u00e7","\u221a","\u222b","\u02dc","\u00b5","\u2264","\u2
265","\u00f7"
]
----------------------------------------------------------------------------
---------------------------

Daniel

-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
List FAQ/Etiquette/Terms: http://www.newtontalk.net/faq.html
Official Newton FAQ: http://www.chuma.org/newton/faq/


This archive was generated by hypermail 2.1.5 : Sun Jan 18 2004 - 12:30:01 PST