;************************************************************************** ; ; UK keyboard file ; ; All entries are in hex and are 2 digits long other text on line ; is ignored. ; An optional 'S' can follow to shift the keycode. ; ; The values are in order based on the keycode returned by the ST's ; keyboard and represent the Mac keycode to return to the Mac OS. ; The 'S' option forces the status of the 'Shift' key to reverse ; (i.e. if it is physically depressed, the key will act as if the ; shift is NOT depressed, and vice versa). ; ; Don't change keys labelled "DON'T CHANGE." They have special ; purposes and may cause problems if changed. ; ; Keys marked "handled in Spectre" are special, and changing the ; value in this file will have no effect. ; ; The Help, Undo, Insert, Clr/Home, and Delete keys will ALWAYS ; act as if the Command key is depressed. ; ;************************************************************************** ; Mac keycode * ST keycode: UK key (use chart for other countries) ;************************************************************************** ; ;** Unshifted keys - these codes are returned if a Shift key is NOT depressed. ; 00 * 00: 00 * 01: Esc (handled in Spectre) 25 * 02: 1 27 * 03: 2 29 * 04: 3 2b * 05: 4 2f * 06: 5 2d * 07: 6 35 * 08: 7 39 * 09: 8 33 * 0a: 9 3b * 0b: 0 37 * 0c: - 31 * 0d: = 67 * 0e: Backspace 61 * 0f: Tab 19 * 10: q 1b * 11: w 1d * 12: e 1f * 13: r 23 * 14: t 21 * 15: y 41 * 16: u 45 * 17: i 3f * 18: o 47 * 19: p 43 * 1a: [ 3d * 1b: ] 49 * 1c: Return 6f * 1d: Control: mapped to 'Command' 01 * 1e: a 03 * 1f: s 05 * 20: d 07 * 21: f 0b * 22: g 09 * 23: h 4d * 24: j 51 * 25: k 4b * 26: l 53 * 27: ; 4f * 28: ' 65 * 29: ` 71 * 2a: Left Shift key (DON'T CHANGE) 00 * 2b: # (???) 0d * 2c: z 0f * 2d: x 11 * 2e: c 13 * 2f: v 17 * 30: b 5b * 31: n 5d * 32: m 57 * 33: , 5f * 34: . 59 * 35: / 71 * 36: Right Shift key (DON'T CHANGE) 00 * 37: 75 * 38: Alternate: mapped to 'Option' 63 * 39: Space Bar 73 * 3a: Caps Lock (DON'T CHANGE) 00 * 3b: F1 key (handled in Spectre) 00 * 3c: F2 key " 00 * 3d: F3 key " 00 * 3e: F4 key " 00 * 3f: F5 key " 00 * 40: F6 key " 00 * 41: F7 key " 00 * 42: F8 key " 00 * 43: F9 key " 00 * 44: F10 key " 00 * 45: 00 * 46: 11 * 47: Clr/Home: mapped to 'Command-C' 00 * 48: Up Arrow (handled in Spectre) 00 * 49: 00 * 4a: Keypad - (handled in Spectre) 00 * 4b: Left Arrow (handled in Spectre) 00 * 4c: 00 * 4d: Right Arrow (handled in Spectre) 00 * 4e: Keypad + (handled in Spectre) 00 * 4f: 00 * 50: Down Arrow (handled in Spectre) 00 * 51: 13 * 52: Insert: mapped to 'Command-V' 0f * 53: Delete: mapped to 'Command-X' 00 * 54: 00 * 55: 00 * 56: 00 * 57: 00 * 58: 00 * 59: 00 * 5a: 00 * 5b: 00 * 5c: 00 * 5d: 00 * 5e: 00 * 5f: 55 * 60: \ 0d * 61: Undo: mapped to 'Command-Z' 59S * 62: Help: mapped to 'Command-?' (shifted) 00 * 63: Keypad ( (handled in Spectre) 00 * 64: Keypad ) " 00 * 65: Keypad / " 00 * 66: keypad * " 00 * 67: Keypad 7 " 00 * 68: Keypad 8 " 00 * 69: Keypad 9 " 00 * 6a: Keypad 4 " 00 * 6b: Keypad 5 " 00 * 6c: Keypad 6 " 00 * 6d: Keypad 1 " 00 * 6e: Keypad 2 " 00 * 6f: Keypad 3 " 00 * 70: Keypad 0 " 00 * 71: Keypad . " 00 * 72: Keypad Enter " 00 * 73: 00 * 74: 00 * 75: 00 * 76: 00 * 77: 00 * 78: 00 * 79: 00 * 7a: 00 * 7b: 00 * 7c: 00 * 7d: 00 * 7e: 00 * 7f: ; ;** Shifted keys - these codes are returned if a Shift key IS depressed. ; 00 * 00: 00 * 01: Esc (handled in Spectre) 25 * 02: 1 27 * 03: 2 29 * 04: 3 2b * 05: 4 2f * 06: 5 2d * 07: 6 35 * 08: 7 39 * 09: 8 33 * 0a: 9 3b * 0b: 0 37 * 0c: - 31 * 0d: = 67 * 0e: Backspace 61 * 0f: Tab 19 * 10: q 1b * 11: w 1d * 12: e 1f * 13: r 23 * 14: t 21 * 15: y 41 * 16: u 45 * 17: i 3f * 18: o 47 * 19: p 43 * 1a: [ 3d * 1b: ] 49 * 1c: Return 6f * 1d: Control: mapped to 'Command' 01 * 1e: a 03 * 1f: s 05 * 20: d 07 * 21: f 0b * 22: g 09 * 23: h 4d * 24: j 51 * 25: k 4b * 26: l 53 * 27: ; 27 * 28: ' 65 * 29: ` 71 * 2a: Left Shift key (DON'T CHANGE) 65 * 2b: ~ 0d * 2c: z 0f * 2d: x 11 * 2e: c 13 * 2f: v 17 * 30: b 5b * 31: n 5d * 32: m 57 * 33: , 5f * 34: . 59 * 35: / 71 * 36: Right Shift key (DON'T CHANGE) 00 * 37: 75 * 38: Alternate: mapped to 'Option' 63 * 39: Space Bar 73 * 3a: Caps Lock (DON'T CHANGE) 00 * 3b: F1 key (handled in Spectre) 00 * 3c: F2 key " 00 * 3d: F3 key " 00 * 3e: F4 key " 00 * 3f: F5 key " 00 * 40: F6 key " 00 * 41: F7 key " 00 * 42: F8 key " 00 * 43: F9 key " 00 * 44: F10 key " 00 * 45: 00 * 46: 11S * 47: Clr/Home: Mapped to 'Command-C' (unshifted) 00 * 48: Up Arrow (handled in Spectre) 00 * 49: 00 * 4a: keypad - (handled in Spectre) 00 * 4b: Left Arrow (handled in Spectre) 00 * 4c: 00 * 4d: Right Arrow (handled in Spectre) 00 * 4e: Keypad + (handled in Spectre 00 * 4f: 00 * 50: Down Arrow 00 * 51: (not used 13S * 52: Insert: mapped to 'Command-V' (unshifted) 0fS * 53: Delete: mapped to 'Command-X' (unshifted) 00 * 54: 00 * 55: 00 * 56: 00 * 57: 00 * 58: 00 * 59: 00 * 5a: 00 * 5b: 00 * 5c: 00 * 5d: 00 * 5e: 00 * 5f: 55 * 60: | 0dS * 61: Undo: mapped to 'Command-Z' (unshifted) 59 * 62: Help: mapped to 'Command-?' 00 * 63: Keypad ( (handled in Spectre) 00 * 64: Keypad ) " 00 * 65: Keypad / " 00 * 66: Keypad * " 00 * 67: Keypad 7 " 00 * 68: Keypad 8 " 00 * 69: Keypad 9 " 00 * 6a: Keypad 4 " 00 * 6b: Keypad 5 " 00 * 6c: Keypad 6 " 00 * 6d: Keypad 1 " 00 * 6e: Keypad 2 " 00 * 6f: Keypad 3 " 00 * 70: Keypad 0 " 00 * 71: Keypad . " 00 * 72: Keypad Enter " 00 * 73: 00 * 74: 00 * 75: 00 * 76: 00 * 77: 00 * 78: 00 * 79: 00 * 7a: 00 * 7b: 00 * 7c: 00 * 7d: 00 * 7e: 00 * 7f: