home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!caen!nic.umass.edu!dime!shri
- From: shri@unreal.cs.umass.edu (H.Shrikumar)
- Newsgroups: comp.sys.palmtops
- Subject: Wierd scan codes .. confused! (HP 95LX)
- Message-ID: <58402@dime.cs.umass.edu>
- Date: 7 Jan 93 21:39:34 GMT
- Sender: news@dime.cs.umass.edu
- Reply-To: shri@unreal.cs.umass.edu (H.Shrikumar)
- Organization: UMass, Amherst MA + Temporal Sys & Computer Networks Bombay India
- Lines: 50
-
- Hi,
-
- Wanting to map some key across on the HP 95LX keyboard, I picked
- up kbd95, and began figuring out the raw scan codes to patch.
-
- Thats when I found some combinations that baffle me. Am I missing
- something here ? Or is the low level keyboard interrupt OB truly truly
- a mind reader and distinguish between two keys with the same shifted
- raw scan code !!
-
- I append below the scancodes in question. Note that the
- SCANCODE-Shifted is the same for each pair of lines, but magically
- the CHARACTER CODES-Shifted manages to obtain a distinguishing AL.
-
- An example, (not what I wanted to map, but this is more illustrative)
- If I wanted to swap ~ and ` ... what should I enter into keytbl ?
-
- If anyone knows ... I'd be very grateful.
-
- -- shrikumar ( shri@legato.cs.umass.edu )
-
- Extract from ...
- SCANCODE TABLE WHEN CHAR FUNCTION IS OFF
-
- CHARACTER CODES (hex)
- KEY LEGEND SCANCODE Normal Shifted Control Alt Shift+Control
- Normal Shifted Normal Shifted ah/al ah/al ah/al ah/al ah/al
-
- COMM ` 73 29 AC/00 29/60 B2/00 AF/00
- APPT ~ 74 29 B0/00 29/7E B6/00 B3/00
-
- ( | 0A 2B 0A/28 2B/7C 80/00 2B/1C
- ) \ 0B 2B 0B/29 2B/5C 81/00 2B/1C
-
- 7 [ 08 1A 08/37 1A/5B 1A/1B
- 9 { 0A 1A 0A/39 1A/7B 1A/1B
-
- 8 ] 09 1B 09/38 1B/5D 1B/1D
- / } 35 1B 35/2F 1B/7D 1B/1D
-
- 4 ; 05 27 05/34 27/3B
- 5 : 06 27 06/35 27/3A
-
- 6 ' 07 28 07/36 28/27 07/1E
- * " 37 28 37/2A 28/22 96/00 37/00
-
- 1 < 02 33 02/31 33/3C
- , , 33 33 33/2C 33/2C 33/00
-
- ...xxxx....
-