home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 April A
/
Pcwk4a98.iso
/
Wtestowe
/
OnNet16
/
ANSI-SYS.KYB
< prev
next >
Wrap
Text File
|
1994-03-10
|
3KB
|
110 lines
# Redefine the set-up key (F10) to be CTL-]
2, 0x1b, 0x70a
# When the ALT key is pressed send a NULL followed by the scan code
4, 0x1e, "\x00\x1e" /* ALT a
4, 0x30, "\x00\x30" /* ALT b
4, 0x2e, "\x00\x2e" /* ALT c
4, 0x20, "\x00\x20" /* ALT d
4, 0x12, "\x00\x12" /* ALT e
4, 0x21, "\x00\x21" /* ALT f
4, 0x22, "\x00\x22" /* ALT g
4, 0x23, "\x00\x23" /* ALT h
4, 0x17, "\x00\x17" /* ALT i
4, 0x24, "\x00\x24" /* ALT j
4, 0x25, "\x00\x25" /* ALT k
4, 0x26, "\x00\x26" /* ALT l
4, 0x32, "\x00\x32" /* ALT m
4, 0x31, "\x00\x31" /* ALT n
4, 0x18, "\x00\x18" /* ALT o
4, 0x19, "\x00\x19" /* ALT p
4, 0x10, "\x00\x10" /* ALT q
4, 0x13, "\x00\x13" /* ALT r
4, 0x1f, "\x00\x1f" /* ALT s
4, 0x14, "\x00\x14" /* ALT t
4, 0x16, "\x00\x16" /* ALT u
4, 0x2f, "\x00\x2f" /* ALT v
4, 0x11, "\x00\x11" /* ALT w
4, 0x2d, "\x00\x2d" /* ALT x
4, 0x15, "\x00\x15" /* ALT y
4, 0x2c, "\x00\x2c" /* ALT z
# Now map the function keys F1-F10 to send null, then their scan code
0, 0x3b, "\x00\x3b" /* F1
0, 0x3c, "\x00\x3c" /* F2
0, 0x3d, "\x00\x3d" /* F3
0, 0x3e, "\x00\x3e" /* F4
0, 0x3f, "\x00\x3f" /* F5
0, 0x40, "\x00\x40" /* F6
0, 0x41, "\x00\x41" /* F7
0, 0x42, "\x00\x42" /* F8
0, 0x43, "\x00\x43" /* F9
0, 0x44, "\x00\x44" /* F10
# Function keys plus SHIFT
1, 0x3b, "\x00\x54" /* F1
1, 0x3c, "\x00\x55" /* F2
1, 0x3d, "\x00\x56" /* F3
1, 0x3e, "\x00\x57" /* F4
1, 0x3f, "\x00\x58" /* F5
1, 0x40, "\x00\x59" /* F6
1, 0x41, "\x00\x5a" /* F7
1, 0x42, "\x00\x5b" /* F8
1, 0x43, "\x00\x5c" /* F9
1, 0x44, "\x00\x5d" /* F10
# Function keys plus CTL
2, 0x3b, "\x00\x5e" /* F1
2, 0x3c, "\x00\x5f" /* F2
2, 0x3d, "\x00\x60" /* F3
2, 0x3e, "\x00\x61" /* F4
2, 0x3f, "\x00\x62" /* F5
2, 0x40, "\x00\x63" /* F6
2, 0x41, "\x00\x64" /* F7
2, 0x42, "\x00\x65" /* F8
2, 0x43, "\x00\x66" /* F9
2, 0x44, "\x00\x67" /* F10
# Function keys plus ALT
4, 0x3b, "\x00\x68" /* F1
4, 0x3c, "\x00\x69" /* F2
4, 0x3d, "\x00\x6a" /* F3
4, 0x3e, "\x00\x6b" /* F4
4, 0x3f, "\x00\x6c" /* F5
4, 0x40, "\x00\x6d" /* F6
4, 0x41, "\x00\x6e" /* F7
4, 0x42, "\x00\x6f" /* F8
4, 0x43, "\x00\x70" /* F9
4, 0x44, "\x00\x71" /* F10
# Add re-maps for the second set of keys on arrow keys, pg up, etc..
0, 0xa8, "\x00\x48" /* up arrow
0, 0xb0, "\x00\x50" /* down arrow
0, 0xab, "\x00\x4b" /* left arrow
0, 0xad, "\x00\x4d" /* right arrow
0, 0xa7, "\x00\x47" /* home key
0, 0xb2, "\x00\x52" /* insert key
0, 0xa9, "\x00\x49" /* page up
0, 0xb3, "\x00\x53" /* delete key
0, 0xaf, "\x00\x4f" /* end key
0, 0xb1, "\x00\x51" /* page down
# CTL plus Pg Up, left arrow, right arrow, end
2, 0xa9, "\x00\x84" /* page up
2, 0xab, "\x00\x73" /* left arrow
2, 0xad, "\x00\x74" /* right arrow
2, 0xaf, "\x00\x75" /* end key
2, 0xb1, "\x00\x76" /* page down
# Shift plus for second set of keys
1, 0xa7, 0x37 /* home key
1, 0xa8, 0x38 /* up arrow
1, 0xa9, 0x39 /* page up
1, 0xab, 0x34 /* left arrow
1, 0xad, 0x36 /* right arrow
1, 0xaf, 0x31 /* end key
1, 0xb0, 0x32 /* down arrow
1, 0xb1, 0x33 /* page down
1, 0xb2, 0x30 /* insert key
1, 0xb3, 0x2e /* delete key