1916347f7SJordan K. Hubbard /* 2916347f7SJordan K. Hubbard * Copyright (C) 1992, 1993 S�ren Schmidt 3916347f7SJordan K. Hubbard * 4916347f7SJordan K. Hubbard * This program is free software; you may redistribute it and/or 5916347f7SJordan K. Hubbard * modify it, provided that it retain the above copyright notice 6916347f7SJordan K. Hubbard * and the following disclaimer. 7916347f7SJordan K. Hubbard * 8916347f7SJordan K. Hubbard * This program is distributed in the hope that it will be useful, 9916347f7SJordan K. Hubbard * but WITHOUT ANY WARRANTY; without even the implied warranty of 10916347f7SJordan K. Hubbard * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 11916347f7SJordan K. Hubbard * 12916347f7SJordan K. Hubbard * S�ren Schmidt Email: sos@kmd-ac.dk 13916347f7SJordan K. Hubbard * Tritonvej 36 UUCP: ...uunet!dkuug!kmd-ac!sos 14916347f7SJordan K. Hubbard * DK9210 Aalborg SO Phone: +45 9814 8076 152110b1cdSRodney W. Grimes * 162110b1cdSRodney W. Grimes * $Id$ 17916347f7SJordan K. Hubbard */ 18916347f7SJordan K. Hubbard 1933853f97SJordan K. Hubbard #define SET8 0x80 /* eight bit for emacs SET8-key */ 20916347f7SJordan K. Hubbard 21c3b435bbSJordan K. Hubbard #ifdef DKKEYMAP 22c3b435bbSJordan K. Hubbard keymap_t key_map = { 0x69, /* DK iso8859 keymap */ 23916347f7SJordan K. Hubbard /* alt 24916347f7SJordan K. Hubbard * scan cntrl alt alt cntrl 25916347f7SJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 26916347f7SJordan K. Hubbard * --------------------------------------------------------------------------- 27916347f7SJordan K. Hubbard */ 28916347f7SJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 29916347f7SJordan K. Hubbard /* sc=01 */ 0x1B, 0x1B, NOP, NOP, 0x1B, 0x1B, NOP, NOP, 0x33, 0x00, 30916347f7SJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, '1', '!', NOP, NOP, 0x33, 0x00, 31916347f7SJordan K. Hubbard /* sc=03 */ '2', '"', 0x00, 0x00, '@', '"', 0x00, 0x00, 0x00, 0x00, 32916347f7SJordan K. Hubbard /* sc=04 */ '3', '#', NOP, NOP, 0x9E, '#', NOP, NOP, 0x33, 0x00, 33916347f7SJordan K. Hubbard /* sc=05 */ '4', 0xA4, NOP, NOP, '$', 0xA4, NOP, NOP, 0x33, 0x00, 34916347f7SJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, '5', '%', NOP, NOP, 0x33, 0x00, 35916347f7SJordan K. Hubbard /* sc=07 */ '6', '&', NOP, NOP, '6', '&', NOP, NOP, 0x33, 0x00, 36916347f7SJordan K. Hubbard /* sc=08 */ '7', '/', NOP, NOP, '{', '/', NOP, NOP, 0x33, 0x00, 37916347f7SJordan K. Hubbard /* sc=09 */ '8', '(', 0x1B, 0x1B, '[', '(', 0x1B, 0x1B, 0x00, 0x00, 38916347f7SJordan K. Hubbard /* sc=0a */ '9', ')', 0x1D, 0x1D, ']', ')', 0x1D, 0x1D, 0x00, 0x00, 39916347f7SJordan K. Hubbard /* sc=0b */ '0', '=', NOP, NOP, '}', '=', NOP, NOP, 0x33, 0x00, 40916347f7SJordan K. Hubbard /* sc=0c */ '+', '?', NOP, NOP, '+', '?', NOP, NOP, 0x33, 0x00, 41916347f7SJordan K. Hubbard /* sc=0d */ '\'', '`', NOP, NOP, '|', '`', NOP, NOP, 0x33, 0x00, 42c3b435bbSJordan K. Hubbard /* sc=0e */ 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x08, 0x08, 0x00, 0x00, 43916347f7SJordan K. Hubbard /* sc=0f */ 0x09, 0x08, NOP, NOP, 0x09, 0x08, NOP, NOP, 0x33, 0x00, 44916347f7SJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, 'q', 'Q', 0x11, 0x11, 0x00, 0x01, 45916347f7SJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, 'w', 'W', 0x17, 0x17, 0x00, 0x01, 46916347f7SJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, 'e', 'E', 0x05, 0x05, 0x00, 0x01, 47916347f7SJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, 'r', 'R', 0x12, 0x12, 0x00, 0x01, 48916347f7SJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, 't', 'T', 0x14, 0x14, 0x00, 0x01, 49916347f7SJordan K. Hubbard /* sc=15 */ 'y', 'Y', 0x19, 0x19, 'y', 'Y', 0x19, 0x19, 0x00, 0x01, 50916347f7SJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, 'u', 'U', 0x15, 0x15, 0x00, 0x01, 51916347f7SJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, 'i', 'I', 0x09, 0x09, 0x00, 0x01, 52916347f7SJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, 'o', 'O', 0x0F, 0x0F, 0x00, 0x01, 53916347f7SJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, 'p', 'P', 0x10, 0x10, 0x00, 0x01, 54916347f7SJordan K. Hubbard /* sc=1a */ 0xE5, 0xC5, NOP, NOP, 0x86, 0x8F, NOP, NOP, 0x33, 0x01, 55916347f7SJordan K. Hubbard /* sc=1b */ '"', '^', 0x1E, 0x1E, '~', '^', 0x1E, 0x1E, 0x00, 0x00, 56916347f7SJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, 0x0D, 0x0D, 0x0A, 0x0A, 0x00, 0x00, 57916347f7SJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 58916347f7SJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, 'a', 'A', 0x01, 0x01, 0x00, 0x01, 59916347f7SJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, 's', 'S', 0x13, 0x13, 0x00, 0x01, 60916347f7SJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, 'd', 'D', 0x04, 0x04, 0x00, 0x01, 61916347f7SJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, 'f', 'F', 0x06, 0x06, 0x00, 0x01, 62916347f7SJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, 'g', 'G', 0x07, 0x07, 0x00, 0x01, 63916347f7SJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, 'h', 'H', 0x08, 0x08, 0x00, 0x01, 64916347f7SJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, 'j', 'J', 0x0A, 0x0A, 0x00, 0x01, 65916347f7SJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, 'k', 'K', 0x0B, 0x0B, 0x00, 0x01, 66916347f7SJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, 'l', 'L', 0x0C, 0x0C, 0x00, 0x01, 67916347f7SJordan K. Hubbard /* sc=27 */ 0xE6, 0xC6, NOP, NOP, 0x91, 0x92, NOP, NOP, 0x33, 0x01, 68916347f7SJordan K. Hubbard /* sc=28 */ 0xF8, 0xD8, NOP, NOP, 0x9B, 0x9D, NOP, NOP, 0x33, 0x01, 69916347f7SJordan K. Hubbard /* sc=29 */ 0xBD, 0xA7, NOP, NOP, 0xBD, 0xA7, NOP, NOP, 0x33, 0x00, 70916347f7SJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 71916347f7SJordan K. Hubbard /* sc=2b */ '\'', '*', NOP, NOP, '\'', '*', NOP, NOP, 0x33, 0x00, 72916347f7SJordan K. Hubbard /* sc=2c */ 'z', 'Z', 0x1A, 0x1A, 'z', 'Z', 0x1A, 0x1A, 0x00, 0x01, 73916347f7SJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, 'x', 'X', 0x18, 0x18, 0x00, 0x01, 74916347f7SJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, 'c', 'C', 0x03, 0x03, 0x00, 0x01, 75916347f7SJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, 'v', 'V', 0x16, 0x16, 0x00, 0x01, 76916347f7SJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, 'b', 'B', 0x02, 0x02, 0x00, 0x01, 77916347f7SJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, 'n', 'N', 0x0E, 0x0E, 0x00, 0x01, 78916347f7SJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, 'm', 'M', 0x0D, 0x0D, 0x00, 0x01, 79916347f7SJordan K. Hubbard /* sc=33 */ ',', ';', NOP, NOP, ',', ';', NOP, NOP, 0x33, 0x00, 80916347f7SJordan K. Hubbard /* sc=34 */ '.', ':', NOP, NOP, '.', ':', NOP, NOP, 0x33, 0x00, 81916347f7SJordan K. Hubbard /* sc=35 */ '-', '_', 0x1F, 0x1F, '-', '_', 0x1F, 0x1F, 0x00, 0x00, 82916347f7SJordan K. Hubbard /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 8333853f97SJordan K. Hubbard /* sc=37 */ '*', '*', '*', '*', '*', '*', '*', '*', 0x00, 0x00, 84916347f7SJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 85916347f7SJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x00, 0x00, 86916347f7SJordan K. Hubbard /* sc=3a */ CLK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 87916347f7SJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 88916347f7SJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 89916347f7SJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 90916347f7SJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 91916347f7SJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 92916347f7SJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 93916347f7SJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 94916347f7SJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 95916347f7SJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 96916347f7SJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 97916347f7SJordan K. Hubbard /* sc=45 */ NLK, NLK, NLK, NLK, NLK, NLK, NLK, NLK, 0xFF, 0x00, 98916347f7SJordan K. Hubbard /* sc=46 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 99916347f7SJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', '7', '7', '7', '7', 0x80, 0x02, 100916347f7SJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', '8', '8', '8', '8', 0x80, 0x02, 101916347f7SJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02, 102c3b435bbSJordan K. Hubbard /* sc=4a */ F(52), '-', '-', '-', '-', '-', '-', '-', 0x80, 0x02, 103916347f7SJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02, 104916347f7SJordan K. Hubbard /* sc=4c */ NOP, '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02, 105916347f7SJordan K. Hubbard /* sc=4d */ F(55), '6', '6', '6', '6', '6', '6', '6', 0x80, 0x02, 106916347f7SJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02, 107916347f7SJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02, 108916347f7SJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02, 109916347f7SJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02, 110916347f7SJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02, 11133853f97SJordan K. Hubbard /* sc=53 */ 0x7F, '.', '.', '.', '.', '.', RBT, '.', 0x02, 0x02, 112916347f7SJordan K. Hubbard /* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 113916347f7SJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 114916347f7SJordan K. Hubbard /* sc=56 */ '<', '>', 0x1C, 0x1C, '\\', '>', 0x1C, 0x1C, 0x00, 0x00, 115916347f7SJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 116916347f7SJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 117916347f7SJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x00, 0x02, 118916347f7SJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 119916347f7SJordan K. Hubbard /* sc=5b */ '/', '/', '/', '/', '/', '/', '/', '/', 0x00, 0x00, 12033853f97SJordan K. Hubbard /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 121916347f7SJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 122916347f7SJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 123916347f7SJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 124916347f7SJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 125916347f7SJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 126916347f7SJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 127916347f7SJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 128916347f7SJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 129916347f7SJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 130916347f7SJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 131916347f7SJordan K. Hubbard /* sc=67 */ F(54), F(54), F(54), F(54), F(54), F(54), F(54), F(54), 0xFF, 0x00, 132916347f7SJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 133916347f7SJordan K. Hubbard }; 134c3b435bbSJordan K. Hubbard #endif 135916347f7SJordan K. Hubbard 136c3b435bbSJordan K. Hubbard #ifdef UKKEYMAP 13702aa90d8SRodney W. Grimes keymap_t key_map = { 0x69, /* uk iso8859 keymap */ 138c3b435bbSJordan K. Hubbard /* alt 139c3b435bbSJordan K. Hubbard * scan cntrl alt alt cntrl 140c3b435bbSJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 141c3b435bbSJordan K. Hubbard * --------------------------------------------------------------------------- 142c3b435bbSJordan K. Hubbard */ 143c3b435bbSJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 144c3b435bbSJordan K. Hubbard /* sc=01 */ 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x00, 0x00, 145c3b435bbSJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, '`', '`', NOP, NOP, 0x33, 0x00, 146c3b435bbSJordan K. Hubbard /* sc=03 */ '2', '"', 0x00, 0x00, '@', '@', 0x00, 0x00, 0x00, 0x00, 147c3b435bbSJordan K. Hubbard /* sc=04 */ '3', 0xA3, NOP, NOP, '#', '#', NOP, NOP, 0x33, 0x00, 148c3b435bbSJordan K. Hubbard /* sc=05 */ '4', '$', NOP, NOP, '4', '$', NOP, NOP, 0x33, 0x00, 149c3b435bbSJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, '5', '%', NOP, NOP, 0x33, 0x00, 150c3b435bbSJordan K. Hubbard /* sc=07 */ '6', '^', 0x1E, 0x1E, '^', '^', 0x1E, 0x1E, 0x00, 0x00, 151c3b435bbSJordan K. Hubbard /* sc=08 */ '7', '&', NOP, NOP, '[', '[', 0x1B, 0x1B, 0x30, 0x00, 152c3b435bbSJordan K. Hubbard /* sc=09 */ '8', '*', NOP, NOP, '8', '*', NOP, NOP, 0x33, 0x00, 153c3b435bbSJordan K. Hubbard /* sc=0a */ '9', '(', NOP, NOP, ']', ']', 0x1D, 0x1D, 0x30, 0x00, 154c3b435bbSJordan K. Hubbard /* sc=0b */ '0', ')', NOP, NOP, '{', '{', NOP, NOP, 0x33, 0x00, 155c3b435bbSJordan K. Hubbard /* sc=0c */ '-', '_', 0x1F, 0x1F, '|', '|', 0x1F, 0x1F, 0x00, 0x00, 156c3b435bbSJordan K. Hubbard /* sc=0d */ '=', '+', NOP, NOP, '}', '}', NOP, NOP, 0x33, 0x00, 157c3b435bbSJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x00, 0x00, 158c3b435bbSJordan K. Hubbard /* sc=0f */ 0x09, 0x08, NOP, NOP, 0x09, 0x08, NOP, NOP, 0x77, 0x00, 159c3b435bbSJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, 'q', 'Q', 0x11, 0x11, 0x00, 0x01, 160c3b435bbSJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, 'w', 'W', 0x17, 0x17, 0x00, 0x01, 161c3b435bbSJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, 'e', 'E', 0x05, 0x05, 0x00, 0x01, 162c3b435bbSJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, 'r', 'R', 0x12, 0x12, 0x00, 0x01, 163c3b435bbSJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, 't', 'T', 0x14, 0x14, 0x00, 0x01, 164c3b435bbSJordan K. Hubbard /* sc=15 */ 'y', 'Y', 0x19, 0x19, 'y', 'Y', 0x19, 0x19, 0x00, 0x01, 165c3b435bbSJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, 'u', 'U', 0x15, 0x15, 0x00, 0x01, 166c3b435bbSJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, 'i', 'I', 0x09, 0x09, 0x00, 0x01, 167c3b435bbSJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, 'o', 'O', 0x0F, 0x0F, 0x00, 0x01, 168c3b435bbSJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, 'p', 'P', 0x10, 0x10, 0x00, 0x01, 169c3b435bbSJordan K. Hubbard /* sc=1a */ '[', '{', 0x1B, 0x1B, '[', '{', 0x1B, 0x1B, 0x00, 0x00, 170c3b435bbSJordan K. Hubbard /* sc=1b */ ']', '}', 0x1D, 0x1D, ']', '}', 0x1D, 0x1D, 0x00, 0x00, 171c3b435bbSJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, 0x0D, 0x0D, 0x0A, 0x0A, 0x00, 0x00, 172c3b435bbSJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 173c3b435bbSJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, 'a', 'A', 0x01, 0x01, 0x00, 0x01, 174c3b435bbSJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, 's', 'S', 0x13, 0x13, 0x00, 0x01, 175c3b435bbSJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, 'd', 'D', 0x04, 0x04, 0x00, 0x01, 176c3b435bbSJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, 'f', 'F', 0x06, 0x06, 0x00, 0x01, 177c3b435bbSJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, 'g', 'G', 0x07, 0x07, 0x00, 0x01, 178c3b435bbSJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, 'h', 'H', 0x08, 0x08, 0x00, 0x01, 179c3b435bbSJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, 'j', 'J', 0x0A, 0x0A, 0x00, 0x01, 180c3b435bbSJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, 'k', 'K', 0x0B, 0x0B, 0x00, 0x01, 181c3b435bbSJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, 'l', 'L', 0x0C, 0x0C, 0x00, 0x01, 182c3b435bbSJordan K. Hubbard /* sc=27 */ ';', ':', NOP, NOP, ';', ':', NOP, NOP, 0x33, 0x00, 183c3b435bbSJordan K. Hubbard /* sc=28 */ '\'', '@', 0x00, 0x00, '\'', '@', 0x00, 0x00, 0x00, 0x00, 184c3b435bbSJordan K. Hubbard /* sc=29 */ '\\', '|', 0x1C, 0x1C, '\\', '\\', 0x1C, 0x1C, 0x00, 0x00, 185c3b435bbSJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 186c3b435bbSJordan K. Hubbard /* sc=2b */ '#', '~', NOP, NOP, '~', '~', NOP, NOP, 0x33, 0x00, 187c3b435bbSJordan K. Hubbard /* sc=2c */ 'z', 'Z', 0x1A, 0x1A, 'z', 'Z', 0x1A, 0x1A, 0x00, 0x01, 188c3b435bbSJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, 'x', 'X', 0x18, 0x18, 0x00, 0x01, 189c3b435bbSJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, 'c', 'C', 0x03, 0x03, 0x00, 0x01, 190c3b435bbSJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, 'v', 'V', 0x16, 0x16, 0x00, 0x01, 191c3b435bbSJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, 'b', 'B', 0x02, 0x02, 0x00, 0x01, 192c3b435bbSJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, 'n', 'N', 0x0E, 0x0E, 0x00, 0x01, 193c3b435bbSJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, 'm', 'M', 0x0D, 0x0D, 0x00, 0x01, 194c3b435bbSJordan K. Hubbard /* sc=33 */ ',', '<', NOP, NOP, ',', '<', NOP, NOP, 0x33, 0x00, 195c3b435bbSJordan K. Hubbard /* sc=34 */ '.', '>', NOP, NOP, '.', '>', NOP, NOP, 0x33, 0x00, 196c3b435bbSJordan K. Hubbard /* sc=35 */ '/', '?', NOP, NOP, '/', '?', NOP, NOP, 0x33, 0x00, 197c3b435bbSJordan K. Hubbard /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 198c3b435bbSJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, '*', '*', 0x0A, 0x0A, 0x33, 0x00, 199c3b435bbSJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 200c3b435bbSJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x00, 0x00, 201c3b435bbSJordan K. Hubbard /* sc=3a */ CLK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 202c3b435bbSJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 203c3b435bbSJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 204c3b435bbSJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 205c3b435bbSJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 206c3b435bbSJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 207c3b435bbSJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 208c3b435bbSJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 209c3b435bbSJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 210c3b435bbSJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 211c3b435bbSJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 212c3b435bbSJordan K. Hubbard /* sc=45 */ NLK, NLK, 0x13, 0x13, NLK, NLK, 0x13, 0x13, 0xCC, 0x00, 213c3b435bbSJordan K. Hubbard /* sc=46 */ SLK, SLK, 0x7F, 0x7F, SLK, SLK, 0x7F, 0x7F, 0xCC, 0x00, 214c3b435bbSJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', '7', '7', '7', '7', 0x80, 0x02, 215c3b435bbSJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', '8', '8', '8', '8', 0x80, 0x02, 216c3b435bbSJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02, 217c3b435bbSJordan K. Hubbard /* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02, 218c3b435bbSJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02, 219c3b435bbSJordan K. Hubbard /* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02, 220c3b435bbSJordan K. Hubbard /* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02, 221c3b435bbSJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02, 222c3b435bbSJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02, 223c3b435bbSJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02, 224c3b435bbSJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02, 225c3b435bbSJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02, 226c3b435bbSJordan K. Hubbard /* sc=53 */ 0x7F, '.', 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x02, 227c3b435bbSJordan K. Hubbard /* sc=54 */ 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x00, 0x00, 228c3b435bbSJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 229c3b435bbSJordan K. Hubbard /* sc=56 */ '\\', '|', 0x1C, 0x1C, '\\', '|', 0x1C, 0x1C, 0x00, 0x00, 230c3b435bbSJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 231c3b435bbSJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 232c3b435bbSJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0xFF, 0x02, 233c3b435bbSJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 234c3b435bbSJordan K. Hubbard /* sc=5b */ '/', '/', '/', '/', '/', '/', '/', '/', 0x00, 0x02, 23533853f97SJordan K. Hubbard /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 236c3b435bbSJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 237c3b435bbSJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 238c3b435bbSJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 239c3b435bbSJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 240c3b435bbSJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 241c3b435bbSJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 242c3b435bbSJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 243c3b435bbSJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 244c3b435bbSJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 245c3b435bbSJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 246c3b435bbSJordan K. Hubbard /* sc=67 */ F(54), F(54), F(54), F(54), F(54), F(54), F(54), F(54), 0xFF, 0x00, 247c3b435bbSJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 248c3b435bbSJordan K. Hubbard }; 249c3b435bbSJordan K. Hubbard #endif 250916347f7SJordan K. Hubbard 251c3b435bbSJordan K. Hubbard #ifdef GRKEYMAP 25202aa90d8SRodney W. Grimes keymap_t key_map = { 0x69, /* german iso8859 keymap */ 253c3b435bbSJordan K. Hubbard /* alt 254c3b435bbSJordan K. Hubbard * scan cntrl alt alt cntrl 255c3b435bbSJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 256c3b435bbSJordan K. Hubbard * --------------------------------------------------------------------------- 257c3b435bbSJordan K. Hubbard */ 258c3b435bbSJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 259c3b435bbSJordan K. Hubbard /* sc=01 */ 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x00, 0x00, 260c3b435bbSJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, '`', '`', NOP, NOP, 0x33, 0x00, 261c3b435bbSJordan K. Hubbard /* sc=03 */ '2', '"', 0x00, 0x00, '@', '@', 0x00, 0x00, 0x00, 0x00, 262c3b435bbSJordan K. Hubbard /* sc=04 */ '3', 0xA7, NOP, NOP, '#', '#', NOP, NOP, 0x33, 0x00, 263c3b435bbSJordan K. Hubbard /* sc=05 */ '4', '$', NOP, NOP, '4', '$', NOP, NOP, 0x33, 0x00, 264c3b435bbSJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, '5', '%', NOP, NOP, 0x33, 0x00, 265c3b435bbSJordan K. Hubbard /* sc=07 */ '6', '&', 0x1E, 0x1E, '^', '^', 0x1E, 0x1E, 0x00, 0x00, 266c3b435bbSJordan K. Hubbard /* sc=08 */ '7', '/', 0x1B, 0x1B, '[', '[', 0x1B, 0x1B, 0x00, 0x00, 267c3b435bbSJordan K. Hubbard /* sc=09 */ '8', '(', NOP, NOP, '8', '(', NOP, NOP, 0x33, 0x00, 268c3b435bbSJordan K. Hubbard /* sc=0a */ '9', ')', 0x1D, 0x1D, ']', ']', 0x1D, 0x1D, 0x00, 0x00, 269c3b435bbSJordan K. Hubbard /* sc=0b */ '0', '=', NOP, NOP, '{', '{', NOP, NOP, 0x33, 0x00, 270c3b435bbSJordan K. Hubbard /* sc=0c */ 0xDF, '?', NOP, NOP, '|', '|', NOP, NOP, 0x33, 0x00, 271c3b435bbSJordan K. Hubbard /* sc=0d */ 0x92, 0x93, NOP, NOP, '\'', '`', NOP, NOP, 0x33, 0x00, 272c3b435bbSJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x00, 0x00, 273c3b435bbSJordan K. Hubbard /* sc=0f */ 0x09, 0x08, NOP, NOP, 0x09, 0x08, NOP, NOP, 0x77, 0x00, 274c3b435bbSJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, 'q', 'Q', 0x11, 0x11, 0x00, 0x01, 275c3b435bbSJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, 'w', 'W', 0x17, 0x17, 0x00, 0x01, 276c3b435bbSJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, 'e', 'E', 0x05, 0x05, 0x00, 0x01, 277c3b435bbSJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, 'r', 'R', 0x12, 0x12, 0x00, 0x01, 278c3b435bbSJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, 't', 'T', 0x14, 0x14, 0x00, 0x01, 279c3b435bbSJordan K. Hubbard /* sc=15 */ 'z', 'Z', 0x1A, 0x1A, 'z', 'Z', 0x1A, 0x1A, 0x00, 0x01, 280c3b435bbSJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, 'u', 'U', 0x15, 0x15, 0x00, 0x01, 281c3b435bbSJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, 'i', 'I', 0x09, 0x09, 0x00, 0x01, 282c3b435bbSJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, 'o', 'O', 0x0F, 0x0F, 0x00, 0x01, 283c3b435bbSJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, 'p', 'P', 0x10, 0x10, 0x00, 0x01, 284c3b435bbSJordan K. Hubbard /* sc=1a */ 0xFC, 0xDC, 0x1B, 0x1B, '[', '{', 0x1B, 0x1B, 0x00, 0x01, 285c3b435bbSJordan K. Hubbard /* sc=1b */ '+', '*', 0x1D, 0x1D, ']', '}', 0x1D, 0x1D, 0x00, 0x00, 286c3b435bbSJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, 0x0D, 0x0D, 0x0A, 0x0A, 0x00, 0x00, 287c3b435bbSJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 288c3b435bbSJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, 'a', 'A', 0x01, 0x01, 0x00, 0x01, 289c3b435bbSJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, 's', 'S', 0x13, 0x13, 0x00, 0x01, 290c3b435bbSJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, 'd', 'D', 0x04, 0x04, 0x00, 0x01, 291c3b435bbSJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, 'f', 'F', 0x06, 0x06, 0x00, 0x01, 292c3b435bbSJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, 'g', 'G', 0x07, 0x07, 0x00, 0x01, 293c3b435bbSJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, 'h', 'H', 0x08, 0x08, 0x00, 0x01, 294c3b435bbSJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, 'j', 'J', 0x0A, 0x0A, 0x00, 0x01, 295c3b435bbSJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, 'k', 'K', 0x0B, 0x0B, 0x00, 0x01, 296c3b435bbSJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, 'l', 'L', 0x0C, 0x0C, 0x00, 0x01, 297c3b435bbSJordan K. Hubbard /* sc=27 */ 0xF6, 0xD6, NOP, NOP, 0xF6, 0xD6, NOP, NOP, 0x33, 0x01, 298c3b435bbSJordan K. Hubbard /* sc=28 */ 0xE4, 0xC4, NOP, NOP, 0xE4, 0xC4, NOP, NOP, 0x33, 0x01, 299c3b435bbSJordan K. Hubbard /* sc=29 */ '<', '>', 0x1C, 0x1C, '\\', '|', 0x1C, 0x1C, 0x00, 0x00, 300c3b435bbSJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 301c3b435bbSJordan K. Hubbard /* sc=2b */ '#', '^', 0x1E, 0x1E, '`', '~', 0x1E, 0x1E, 0x00, 0x00, 302c3b435bbSJordan K. Hubbard /* sc=2c */ 'y', 'Y', 0x19, 0x19, 'y', 'Y', 0x19, 0x19, 0x00, 0x01, 303c3b435bbSJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, 'x', 'X', 0x18, 0x18, 0x00, 0x01, 304c3b435bbSJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, 'c', 'C', 0x03, 0x03, 0x00, 0x01, 305c3b435bbSJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, 'v', 'V', 0x16, 0x16, 0x00, 0x01, 306c3b435bbSJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, 'b', 'B', 0x02, 0x02, 0x00, 0x01, 307c3b435bbSJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, 'n', 'N', 0x0E, 0x0E, 0x00, 0x01, 308c3b435bbSJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, 'm', 'M', 0x0D, 0x0D, 0x00, 0x01, 309c3b435bbSJordan K. Hubbard /* sc=33 */ ',', ';', NOP, NOP, ',', ';', NOP, NOP, 0x33, 0x00, 310c3b435bbSJordan K. Hubbard /* sc=34 */ '.', ':', NOP, NOP, '.', ':', NOP, NOP, 0x33, 0x00, 311c3b435bbSJordan K. Hubbard /* sc=35 */ '-', '_', 0x1F, 0x1F, '-', '_', 0x1F, 0x1F, 0x00, 0x00, 312c3b435bbSJordan K. Hubbard /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 313c3b435bbSJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, '*', '*', 0x0A, 0x0A, 0x33, 0x00, 314c3b435bbSJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 315c3b435bbSJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x00, 0x00, 316c3b435bbSJordan K. Hubbard /* sc=3a */ CLK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 317c3b435bbSJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 318c3b435bbSJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 319c3b435bbSJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 320c3b435bbSJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 321c3b435bbSJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 322c3b435bbSJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 323c3b435bbSJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 324c3b435bbSJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 325c3b435bbSJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 326c3b435bbSJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 327c3b435bbSJordan K. Hubbard /* sc=45 */ NLK, NLK, 0x13, 0x13, NLK, NLK, 0x13, 0x13, 0xCC, 0x00, 328c3b435bbSJordan K. Hubbard /* sc=46 */ SLK, SLK, 0x7F, 0x7F, SLK, SLK, 0x7F, 0x7F, 0xCC, 0x00, 329c3b435bbSJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', '7', '7', '7', '7', 0x80, 0x02, 330c3b435bbSJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', '8', '8', '8', '8', 0x80, 0x02, 331c3b435bbSJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02, 332c3b435bbSJordan K. Hubbard /* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02, 333c3b435bbSJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02, 334c3b435bbSJordan K. Hubbard /* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02, 335c3b435bbSJordan K. Hubbard /* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02, 336c3b435bbSJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02, 337c3b435bbSJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02, 338c3b435bbSJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02, 339c3b435bbSJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02, 340c3b435bbSJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02, 341c3b435bbSJordan K. Hubbard /* sc=53 */ 0x7F, '.', 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x02, 342c3b435bbSJordan K. Hubbard /* sc=54 */ 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x00, 0x00, 343c3b435bbSJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 344c3b435bbSJordan K. Hubbard /* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 345c3b435bbSJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 346c3b435bbSJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 347c3b435bbSJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0xFF, 0x02, 348c3b435bbSJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 349c3b435bbSJordan K. Hubbard /* sc=5b */ '/', '/', '/', '/', '/', '/', '/', '/', 0x00, 0x02, 35033853f97SJordan K. Hubbard /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 351c3b435bbSJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 352c3b435bbSJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 353c3b435bbSJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 354c3b435bbSJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 355c3b435bbSJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 356c3b435bbSJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 357c3b435bbSJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 358c3b435bbSJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 359c3b435bbSJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 360c3b435bbSJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 361c3b435bbSJordan K. Hubbard /* sc=67 */ F(54), F(54), F(54), F(54), F(54), F(54), F(54), F(54), 0xFF, 0x00, 362c3b435bbSJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 363c3b435bbSJordan K. Hubbard }; 364c3b435bbSJordan K. Hubbard #endif 365c3b435bbSJordan K. Hubbard 366c3b435bbSJordan K. Hubbard #ifdef SWKEYMAP 36702aa90d8SRodney W. Grimes keymap_t key_map = { 0x69, /* swedish iso8859 keymap */ 368c3b435bbSJordan K. Hubbard /* alt 369c3b435bbSJordan K. Hubbard * scan cntrl alt alt cntrl 370c3b435bbSJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 371c3b435bbSJordan K. Hubbard * --------------------------------------------------------------------------- 372c3b435bbSJordan K. Hubbard */ 373c3b435bbSJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 374c3b435bbSJordan K. Hubbard /* sc=01 */ 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x00, 0x00, 375c3b435bbSJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, NOP, NOP, NOP, NOP, 0x3F, 0x00, 376c3b435bbSJordan K. Hubbard /* sc=03 */ '2', '"', NOP, NOP, NOP, '@', NOP, NOP, 0x3B, 0x00, 377c3b435bbSJordan K. Hubbard /* sc=04 */ '3', 0xA3, NOP, NOP, NOP, '#', NOP, NOP, 0x3B, 0x00, 378c3b435bbSJordan K. Hubbard /* sc=05 */ '4', '$', NOP, NOP, NOP, NOP, NOP, NOP, 0x3F, 0x00, 379c3b435bbSJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, NOP, NOP, NOP, NOP, 0x3F, 0x00, 380c3b435bbSJordan K. Hubbard /* sc=07 */ '6', '&', 0x1E, NOP, NOP, '^', 0x1E, NOP, 0x19, 0x00, 381c3b435bbSJordan K. Hubbard /* sc=08 */ '7', '/', NOP, NOP, NOP, '&', NOP, NOP, 0x3B, 0x00, 382c3b435bbSJordan K. Hubbard /* sc=09 */ '8', '(', NOP, NOP, NOP, '*', NOP, NOP, 0x3B, 0x00, 383c3b435bbSJordan K. Hubbard /* sc=0a */ '9', ')', NOP, NOP, NOP, '(', NOP, NOP, 0x3B, 0x00, 384c3b435bbSJordan K. Hubbard /* sc=0b */ '0', '=', NOP, NOP, NOP, ')', NOP, NOP, 0x3B, 0x00, 385c3b435bbSJordan K. Hubbard /* sc=0c */ '+', '?', 0x1F, 0x1F, '-', '_', 0x1F, 0x1F, 0x00, 0x00, 386c3b435bbSJordan K. Hubbard /* sc=0d */ 0xB4, '`', NOP, NOP, '=', '+', NOP, NOP, 0x33, 0x00, 387c3b435bbSJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x00, 0x00, 388c3b435bbSJordan K. Hubbard /* sc=0f */ 0x09, 0x08, NOP, NOP, 0x09, 0x08, NOP, NOP, 0x77, 0x00, 389c3b435bbSJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, 'q', 'Q', 0x11, 0x11, 0x00, 0x01, 390c3b435bbSJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, 'w', 'W', 0x17, 0x17, 0x00, 0x01, 391c3b435bbSJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, 'e', 'E', 0x05, 0x05, 0x00, 0x01, 392c3b435bbSJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, 'r', 'R', 0x12, 0x12, 0x00, 0x01, 393c3b435bbSJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, 't', 'T', 0x14, 0x14, 0x00, 0x01, 394c3b435bbSJordan K. Hubbard /* sc=15 */ 'y', 'Y', 0x19, 0x19, 'y', 'Y', 0x19, 0x19, 0x00, 0x01, 395c3b435bbSJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, 'u', 'U', 0x15, 0x15, 0x00, 0x01, 396c3b435bbSJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, 'i', 'I', 0x09, 0x09, 0x00, 0x01, 397c3b435bbSJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, 'o', 'O', 0x0F, 0x0F, 0x00, 0x01, 398c3b435bbSJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, 'p', 'P', 0x10, 0x10, 0x00, 0x01, 399c3b435bbSJordan K. Hubbard /* sc=1a */ 0xE5, 0xC5, NOP, NOP, '[', '{', 0x1B, NOP, 0x31, 0x01, 400c3b435bbSJordan K. Hubbard /* sc=1b */ 0xA8, '^', NOP, NOP, ']', '}', 0x1D, NOP, 0x31, 0x00, 401c3b435bbSJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, 0x0D, 0x0D, 0x0A, 0x0A, 0x00, 0x00, 402c3b435bbSJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 403c3b435bbSJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, 'a', 'A', 0x01, 0x01, 0x00, 0x01, 404c3b435bbSJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, 's', 'S', 0x13, 0x13, 0x00, 0x01, 405c3b435bbSJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, 'd', 'D', 0x04, 0x04, 0x00, 0x01, 406c3b435bbSJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, 'f', 'F', 0x06, 0x06, 0x00, 0x01, 407c3b435bbSJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, 'g', 'G', 0x07, 0x07, 0x00, 0x01, 408c3b435bbSJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, 'h', 'H', 0x08, 0x08, 0x00, 0x01, 409c3b435bbSJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, 'j', 'J', 0x0A, 0x0A, 0x00, 0x01, 410c3b435bbSJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, 'k', 'K', 0x0B, 0x0B, 0x00, 0x01, 411c3b435bbSJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, 'l', 'L', 0x0C, 0x0C, 0x00, 0x01, 412c3b435bbSJordan K. Hubbard /* sc=27 */ 0xF8, 0xD8, NOP, NOP, ';', ':', NOP, NOP, 0x33, 0x01, 413c3b435bbSJordan K. Hubbard /* sc=28 */ 0xE6, 0xC6, NOP, NOP, '\'', '"', NOP, NOP, 0x33, 0x01, 414c3b435bbSJordan K. Hubbard /* sc=29 */ '<', '>', NOP, NOP, '\\', '|', 0x1C, NOP, 0x31, 0x00, 415c3b435bbSJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 416c3b435bbSJordan K. Hubbard /* sc=2b */ '\'', '*', NOP, NOP, '`', '~', NOP, NOP, 0x33, 0x00, 417c3b435bbSJordan K. Hubbard /* sc=2c */ 'z', 'Z', 0x1A, 0x1A, 'z', 'Z', 0x1A, 0x1A, 0x00, 0x01, 418c3b435bbSJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, 'x', 'X', 0x18, 0x18, 0x00, 0x01, 419c3b435bbSJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, 'c', 'C', 0x03, 0x03, 0x00, 0x01, 420c3b435bbSJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, 'v', 'V', 0x16, 0x16, 0x00, 0x01, 421c3b435bbSJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, 'b', 'B', 0x02, 0x02, 0x00, 0x01, 422c3b435bbSJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, 'n', 'N', 0x0E, 0x0E, 0x00, 0x01, 423c3b435bbSJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, 'm', 'M', 0x0D, 0x0D, 0x00, 0x01, 424c3b435bbSJordan K. Hubbard /* sc=33 */ ',', ';', NOP, NOP, NOP, '<', NOP, NOP, 0x3B, 0x00, 425c3b435bbSJordan K. Hubbard /* sc=34 */ '.', ':', NOP, NOP, NOP, '>', NOP, NOP, 0x3B, 0x00, 426c3b435bbSJordan K. Hubbard /* sc=35 */ '-', '_', 0x1F, NOP, '/', '?', NOP, NOP, 0x13, 0x00, 427c3b435bbSJordan K. Hubbard /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 428c3b435bbSJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, '*', '*', 0x0A, 0x0A, 0x33, 0x00, 429c3b435bbSJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 430c3b435bbSJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x00, 0x00, 431c3b435bbSJordan K. Hubbard /* sc=3a */ CLK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 432c3b435bbSJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 433c3b435bbSJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 434c3b435bbSJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 435c3b435bbSJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 436c3b435bbSJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 437c3b435bbSJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 438c3b435bbSJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 439c3b435bbSJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 440c3b435bbSJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 441c3b435bbSJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 442c3b435bbSJordan K. Hubbard /* sc=45 */ NLK, NLK, 0x13, 0x13, NLK, NLK, 0x13, 0x13, 0xCC, 0x00, 443c3b435bbSJordan K. Hubbard /* sc=46 */ SLK, SLK, 0x7F, 0x7F, SLK, SLK, 0x7F, 0x7F, 0xCC, 0x00, 444c3b435bbSJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', '7', '7', '7', '7', 0x80, 0x02, 445c3b435bbSJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', '8', '8', '8', '8', 0x80, 0x02, 446c3b435bbSJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02, 447c3b435bbSJordan K. Hubbard /* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02, 448c3b435bbSJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02, 449c3b435bbSJordan K. Hubbard /* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02, 450c3b435bbSJordan K. Hubbard /* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02, 451c3b435bbSJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02, 452c3b435bbSJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02, 453c3b435bbSJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02, 454c3b435bbSJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02, 455c3b435bbSJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02, 456c3b435bbSJordan K. Hubbard /* sc=53 */ 0x7F, '.', 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x02, 457c3b435bbSJordan K. Hubbard /* sc=54 */ 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x00, 0x00, 458c3b435bbSJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 459c3b435bbSJordan K. Hubbard /* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 460c3b435bbSJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 461c3b435bbSJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 462c3b435bbSJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0xFF, 0x02, 463c3b435bbSJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 464c3b435bbSJordan K. Hubbard /* sc=5b */ '/', '/', '/', '/', '/', '/', '/', '/', 0x00, 0x02, 46533853f97SJordan K. Hubbard /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 466c3b435bbSJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 467c3b435bbSJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 468c3b435bbSJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 469c3b435bbSJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 470c3b435bbSJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 471c3b435bbSJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 472c3b435bbSJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 473c3b435bbSJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 474c3b435bbSJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 475c3b435bbSJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 476c3b435bbSJordan K. Hubbard /* sc=67 */ F(54), F(54), F(54), F(54), F(54), F(54), F(54), F(54), 0xFF, 0x00, 477c3b435bbSJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 478c3b435bbSJordan K. Hubbard }; 479c3b435bbSJordan K. Hubbard #endif 480c3b435bbSJordan K. Hubbard 481c3b435bbSJordan K. Hubbard #ifdef RUKEYMAP 48202aa90d8SRodney W. Grimes keymap_t key_map = { 0xe9, /* keys number */ 483c3b435bbSJordan K. Hubbard /* alt 484c3b435bbSJordan K. Hubbard * scan cntrl alt alt cntrl 485c3b435bbSJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 486c3b435bbSJordan K. Hubbard * ------------------------------------------------------------------------------------------- 487c3b435bbSJordan K. Hubbard */ 488c3b435bbSJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 48933853f97SJordan K. Hubbard /* sc=01 */ 0x1B, 0x1B, NOP, NOP, SET8|0x1B, SET8|0x1B, NOP, NOP, 0x33, 0x00, 49033853f97SJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, SET8|'1', SET8|'!', NOP, NOP, 0x33, 0x00, 49133853f97SJordan K. Hubbard /* sc=03 */ '2', '@', 0x00, 0x00, SET8|'2', SET8|'@', SET8|0x00, SET8|0x00, 0x00, 0x00, 49233853f97SJordan K. Hubbard /* sc=04 */ '3', '#', NOP, NOP, SET8|'3', SET8|'#', NOP, NOP, 0x33, 0x00, 49333853f97SJordan K. Hubbard /* sc=05 */ '4', '$', NOP, NOP, SET8|'4', SET8|'$', NOP, NOP, 0x33, 0x00, 49433853f97SJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, SET8|'5', SET8|'%', NOP, NOP, 0x33, 0x00, 49533853f97SJordan K. Hubbard /* sc=07 */ '6', '^', 0x1E, 0x1E, SET8|'6', SET8|'^', SET8|0x1E, SET8|0x1E, 0x00, 0x00, 49633853f97SJordan K. Hubbard /* sc=08 */ '7', '&', NOP, NOP, SET8|'7', SET8|'&', NOP, NOP, 0x33, 0x00, 49733853f97SJordan K. Hubbard /* sc=09 */ '8', '*', NOP, NOP, SET8|'8', SET8|'*', NOP, NOP, 0x33, 0x00, 49833853f97SJordan K. Hubbard /* sc=0a */ '9', '(', NOP, NOP, SET8|'9', SET8|'(', NOP, NOP, 0x33, 0x00, 49933853f97SJordan K. Hubbard /* sc=0b */ '0', ')', NOP, NOP, SET8|'0', SET8|')', NOP, NOP, 0x33, 0x00, 50033853f97SJordan K. Hubbard /* sc=0c */ '-', '_', 0x1F, 0x1F, SET8|'-', SET8|'_', SET8|0x1F, SET8|0x1F, 0x00, 0x00, 50133853f97SJordan K. Hubbard /* sc=0d */ '=', '+', NOP, NOP, SET8|'=', SET8|'+', NOP, NOP, 0x33, 0x00, 50233853f97SJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, SET8|0x08, SET8|0x08, SET8|0x7F, SET8|0x7F, 0x00, 0x00, 50333853f97SJordan K. Hubbard /* sc=0f */ 0x09, F(16), NOP, NOP, SET8|0x09, F(16), NOP, NOP, 0x77, 0x00, 50433853f97SJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, SET8|'q', SET8|'Q', SET8|0x11, SET8|0x11, 0x00, 0x01, 50533853f97SJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, SET8|'w', SET8|'W', SET8|0x17, SET8|0x17, 0x00, 0x01, 50633853f97SJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, SET8|'e', SET8|'E', SET8|0x05, SET8|0x05, 0x00, 0x01, 50733853f97SJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, SET8|'r', SET8|'R', SET8|0x12, SET8|0x12, 0x00, 0x01, 50833853f97SJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, SET8|'t', SET8|'T', SET8|0x14, SET8|0x14, 0x00, 0x01, 50933853f97SJordan K. Hubbard /* sc=15 */ 'y', 'Y', 0x19, 0x19, SET8|'y', SET8|'Y', SET8|0x19, SET8|0x19, 0x00, 0x01, 51033853f97SJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, SET8|'u', SET8|'U', SET8|0x15, SET8|0x15, 0x00, 0x01, 51133853f97SJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, SET8|'i', SET8|'I', SET8|0x09, SET8|0x09, 0x00, 0x01, 51233853f97SJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, SET8|'o', SET8|'O', SET8|0x0F, SET8|0x0F, 0x00, 0x01, 51333853f97SJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, SET8|'p', SET8|'P', SET8|0x10, SET8|0x10, 0x00, 0x01, 51433853f97SJordan K. Hubbard /* sc=1a */ '[', '{', 0x1B, 0x1B, SET8|'[', SET8|'{', SET8|0x1B, SET8|0x1B, 0x00, 0x00, 51533853f97SJordan K. Hubbard /* sc=1b */ ']', '}', 0x1D, 0x1D, SET8|']', SET8|'}', SET8|0x1D, SET8|0x1D, 0x00, 0x00, 51633853f97SJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, SET8|0x0D, SET8|0x0D, SET8|0x0A, SET8|0x0A, 0x00, 0x00, 517c3b435bbSJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 51833853f97SJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, SET8|'a', SET8|'A', SET8|0x01, SET8|0x01, 0x00, 0x01, 51933853f97SJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, SET8|'s', SET8|'S', SET8|0x13, SET8|0x13, 0x00, 0x01, 52033853f97SJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, SET8|'d', SET8|'D', SET8|0x04, SET8|0x04, 0x00, 0x01, 52133853f97SJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, SET8|'f', SET8|'F', SET8|0x06, SET8|0x06, 0x00, 0x01, 52233853f97SJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, SET8|'g', SET8|'G', SET8|0x07, SET8|0x07, 0x00, 0x01, 52333853f97SJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, SET8|'h', SET8|'H', SET8|0x08, SET8|0x08, 0x00, 0x01, 52433853f97SJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, SET8|'j', SET8|'J', SET8|0x0A, SET8|0x0A, 0x00, 0x01, 52533853f97SJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, SET8|'k', SET8|'K', SET8|0x0B, SET8|0x0B, 0x00, 0x01, 52633853f97SJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, SET8|'l', SET8|'L', SET8|0x0C, SET8|0x0C, 0x00, 0x01, 52733853f97SJordan K. Hubbard /* sc=27 */ ';', ':', NOP, NOP, SET8|';', SET8|':', NOP, NOP, 0x33, 0x00, 52833853f97SJordan K. Hubbard /* sc=28 */ '\'', '"', NOP, NOP, SET8|'\'', SET8|'"', NOP, NOP, 0x33, 0x00, 52933853f97SJordan K. Hubbard /* sc=29 */ '`', '~', NOP, NOP, SET8|'`', SET8|'~', NOP, NOP, 0x33, 0x00, 530c3b435bbSJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 53133853f97SJordan K. Hubbard /* sc=2b */ '\\', '|', 0x1C, 0x1C, SET8|'\\', SET8|'|', SET8|0x1C, SET8|0x1C, 0x00, 0x00, 53233853f97SJordan K. Hubbard /* sc=2c */ 'z', 'Z', 0x1A, 0x1A, SET8|'z', SET8|'Z', SET8|0x1A, SET8|0x1A, 0x00, 0x01, 53333853f97SJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, SET8|'x', SET8|'X', SET8|0x18, SET8|0x18, 0x00, 0x01, 53433853f97SJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, SET8|'c', SET8|'C', SET8|0x03, SET8|0x03, 0x00, 0x01, 53533853f97SJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, SET8|'v', SET8|'V', SET8|0x16, SET8|0x16, 0x00, 0x01, 53633853f97SJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, SET8|'b', SET8|'B', SET8|0x02, SET8|0x02, 0x00, 0x01, 53733853f97SJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, SET8|'n', SET8|'N', SET8|0x0E, SET8|0x0E, 0x00, 0x01, 53833853f97SJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, SET8|'m', SET8|'M', SET8|0x0D, SET8|0x0D, 0x00, 0x01, 53933853f97SJordan K. Hubbard /* sc=33 */ ',', '<', NOP, NOP, SET8|',', SET8|'<', NOP, NOP, 0x33, 0x00, 54033853f97SJordan K. Hubbard /* sc=34 */ '.', '>', NOP, NOP, SET8|'.', SET8|'>', NOP, NOP, 0x33, 0x00, 54133853f97SJordan K. Hubbard /* sc=35 */ '/', '?', NOP, NOP, SET8|'/', SET8|'?', NOP, NOP, 0x33, 0x00, 542c3b435bbSJordan K. Hubbard /* sc=36 */ ASH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 54333853f97SJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, SET8|'*', SET8|'*', SET8|0x0A, SET8|0x0A, 0x00, 0x00, 544c3b435bbSJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 54533853f97SJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', SET8|' ', SET8|' ', SET8|' ', SET8|' ', 0x00, 0x00, 546c3b435bbSJordan K. Hubbard /* sc=3a */ ALK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 547c3b435bbSJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 548c3b435bbSJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 549c3b435bbSJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 550c3b435bbSJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 551c3b435bbSJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 552c3b435bbSJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 553c3b435bbSJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 554c3b435bbSJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 555c3b435bbSJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 556c3b435bbSJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 557c3b435bbSJordan K. Hubbard /* sc=45 */ NLK, NLK, NLK, NLK, NLK, NLK, NLK, NLK, 0xFF, 0x00, 558c3b435bbSJordan K. Hubbard /* sc=46 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 55933853f97SJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', SET8|'7', SET8|'7', SET8|'7', SET8|'7', 0x80, 0x02, 56033853f97SJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', SET8|'8', SET8|'8', SET8|'8', SET8|'8', 0x80, 0x02, 56133853f97SJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', SET8|'9', SET8|'9', SET8|'9', SET8|'9', 0x80, 0x02, 56233853f97SJordan K. Hubbard /* sc=4a */ F(52), '-', '-', '-', SET8|'-', SET8|'-', SET8|'-', SET8|'-', 0x80, 0x02, 56333853f97SJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', SET8|'4', SET8|'4', SET8|'4', SET8|'4', 0x80, 0x02, 56433853f97SJordan K. Hubbard /* sc=4c */ F(48), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02, 56533853f97SJordan K. Hubbard /* sc=4d */ F(55), '6', '6', '6', SET8|'6', SET8|'6', SET8|'6', SET8|'6', 0x80, 0x02, 56633853f97SJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', SET8|'+', SET8|'+', SET8|'+', SET8|'+', 0x80, 0x02, 56733853f97SJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', SET8|'1', SET8|'1', SET8|'1', SET8|'1', 0x80, 0x02, 56833853f97SJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', SET8|'2', SET8|'2', SET8|'2', SET8|'2', 0x80, 0x02, 56933853f97SJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', SET8|'3', SET8|'3', SET8|'3', SET8|'3', 0x80, 0x02, 57033853f97SJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', SET8|'0', SET8|'0', SET8|'0', SET8|'0', 0x80, 0x02, 57133853f97SJordan K. Hubbard /* sc=53 */ F(54), '.', 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, SET8|0x7F, SET8|0x7F, 0x80, 0x02, 572c3b435bbSJordan K. Hubbard /* sc=54 */ ALK, ALK, ALK, ALK, ALK, ALK, ALK, ALK, 0xFF, 0x00, 573c3b435bbSJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 574c3b435bbSJordan K. Hubbard /* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 575c3b435bbSJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 576c3b435bbSJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 57733853f97SJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0A, 0x0A, SET8|0x0D, SET8|0x0D, SET8|0x0A, SET8|0x0A, 0x00, 0x00, 578c3b435bbSJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 57933853f97SJordan K. Hubbard /* sc=5b */ '/', '/', NOP, NOP, SET8|'/', SET8|'/', NOP, NOP, 0x33, 0x00, 580c3b435bbSJordan K. Hubbard /* sc=5c */ CLK, ALK, ALK, ALK, ALK, ALK, ALK, ALK, 0xFF, 0x00, 581c3b435bbSJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 582c3b435bbSJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 583c3b435bbSJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 584c3b435bbSJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 585c3b435bbSJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 586c3b435bbSJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 587c3b435bbSJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 588c3b435bbSJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 589c3b435bbSJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 590c3b435bbSJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 59133853f97SJordan K. Hubbard /* sc=67 */ F(54), F(54), 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, SET8|0x7F, SET8|0x7F, 0xC0, 0x00, 592c3b435bbSJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 593c3b435bbSJordan K. Hubbard /* sc=69 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 594c3b435bbSJordan K. Hubbard /* sc=6a */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 595c3b435bbSJordan K. Hubbard /* sc=6b */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 596c3b435bbSJordan K. Hubbard /* sc=6c */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 597c3b435bbSJordan K. Hubbard /* sc=6d */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 598c3b435bbSJordan K. Hubbard /* sc=6e */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 599c3b435bbSJordan K. Hubbard /* sc=6f */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 600c3b435bbSJordan K. Hubbard /* sc=70 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 601c3b435bbSJordan K. Hubbard /* sc=71 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 602c3b435bbSJordan K. Hubbard /* sc=72 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 603c3b435bbSJordan K. Hubbard /* sc=73 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 604c3b435bbSJordan K. Hubbard /* sc=74 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 605c3b435bbSJordan K. Hubbard /* sc=75 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 606c3b435bbSJordan K. Hubbard /* sc=76 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 607c3b435bbSJordan K. Hubbard /* sc=77 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 608c3b435bbSJordan K. Hubbard /* sc=78 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 609c3b435bbSJordan K. Hubbard /* sc=79 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 610c3b435bbSJordan K. Hubbard /* sc=7a */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 611c3b435bbSJordan K. Hubbard /* sc=7b */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 612c3b435bbSJordan K. Hubbard /* sc=7c */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 613c3b435bbSJordan K. Hubbard /* sc=7d */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 614c3b435bbSJordan K. Hubbard /* sc=7e */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 615c3b435bbSJordan K. Hubbard /* sc=7f */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 616c3b435bbSJordan K. Hubbard /* extended (ALTGR LOCK keys) */ 617c3b435bbSJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 61833853f97SJordan K. Hubbard /* sc=01 */ 0x1B, 0x1B, NOP, NOP, SET8|0x1B, SET8|0x1B, NOP, NOP, 0x33, 0x00, 61933853f97SJordan K. Hubbard /* sc=02 */ '!', '1', NOP, NOP, SET8|'1', SET8|'!', NOP, NOP, 0x33, 0x00, 62033853f97SJordan K. Hubbard /* sc=03 */ '"', '2', 0x00, 0x00, SET8|'2', SET8|'@', SET8|0x00, SET8|0x00, 0x00, 0x00, 62133853f97SJordan K. Hubbard /* sc=04 */ '\'', '3', NOP, NOP, SET8|'3', SET8|'#', NOP, NOP, 0x33, 0x00, 62233853f97SJordan K. Hubbard /* sc=05 */ ';', '4', NOP, NOP, SET8|'4', SET8|'$', NOP, NOP, 0x33, 0x00, 62333853f97SJordan K. Hubbard /* sc=06 */ ':', '5', NOP, NOP, SET8|'5', SET8|'%', NOP, NOP, 0x33, 0x00, 62433853f97SJordan K. Hubbard /* sc=07 */ ',', '6', 0x1E, 0x1E, SET8|'6', SET8|'^', SET8|0x1E, SET8|0x1E, 0x00, 0x00, 62533853f97SJordan K. Hubbard /* sc=08 */ '.', '7', NOP, NOP, SET8|'7', SET8|'&', NOP, NOP, 0x33, 0x00, 62633853f97SJordan K. Hubbard /* sc=09 */ '*', '8', NOP, NOP, SET8|'8', SET8|'*', NOP, NOP, 0x33, 0x00, 62733853f97SJordan K. Hubbard /* sc=0a */ '(', '9', NOP, NOP, SET8|'9', SET8|'(', NOP, NOP, 0x33, 0x00, 62833853f97SJordan K. Hubbard /* sc=0b */ ')', '0', NOP, NOP, SET8|'0', SET8|')', NOP, NOP, 0x33, 0x00, 62933853f97SJordan K. Hubbard /* sc=0c */ '_', '-', 0x1F, 0x1F, SET8|'-', SET8|'_', SET8|0x1F, SET8|0x1F, 0x00, 0x00, 63033853f97SJordan K. Hubbard /* sc=0d */ '+', '=', NOP, NOP, SET8|'=', SET8|'+', NOP, NOP, 0x33, 0x00, 63133853f97SJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, SET8|0x08, SET8|0x08, SET8|0x7F, SET8|0x7F, 0x00, 0x00, 63233853f97SJordan K. Hubbard /* sc=0f */ 0x09, F(16), NOP, NOP, SET8|0x09, F(16), NOP, NOP, 0x77, 0x00, 63333853f97SJordan K. Hubbard /* sc=10 */ 0xca, 0xea, 0x11, 0x11, SET8|'q', SET8|'Q', SET8|0x11, SET8|0x11, 0x00, 0x01, 63433853f97SJordan K. Hubbard /* sc=11 */ 0xc3, 0xe3, 0x17, 0x17, SET8|'w', SET8|'W', SET8|0x17, SET8|0x17, 0x00, 0x01, 63533853f97SJordan K. Hubbard /* sc=12 */ 0xd5, 0xf5, 0x05, 0x05, SET8|'e', SET8|'E', SET8|0x05, SET8|0x05, 0x00, 0x01, 63633853f97SJordan K. Hubbard /* sc=13 */ 0xcb, 0xeb, 0x12, 0x12, SET8|'r', SET8|'R', SET8|0x12, SET8|0x12, 0x00, 0x01, 63733853f97SJordan K. Hubbard /* sc=14 */ 0xc5, 0xe5, 0x14, 0x14, SET8|'t', SET8|'T', SET8|0x14, SET8|0x14, 0x00, 0x01, 63833853f97SJordan K. Hubbard /* sc=15 */ 0xce, 0xee, 0x19, 0x19, SET8|'y', SET8|'Y', SET8|0x19, SET8|0x19, 0x00, 0x01, 63933853f97SJordan K. Hubbard /* sc=16 */ 0xc7, 0xe7, 0x15, 0x15, SET8|'u', SET8|'U', SET8|0x15, SET8|0x15, 0x00, 0x01, 64033853f97SJordan K. Hubbard /* sc=17 */ 0xdb, 0xfb, 0x09, 0x09, SET8|'i', SET8|'I', SET8|0x09, SET8|0x09, 0x00, 0x01, 64133853f97SJordan K. Hubbard /* sc=18 */ 0xdd, 0xfd, 0x0F, 0x0F, SET8|'o', SET8|'O', SET8|0x0F, SET8|0x0F, 0x00, 0x01, 64233853f97SJordan K. Hubbard /* sc=19 */ 0xda, 0xfa, 0x10, 0x10, SET8|'p', SET8|'P', SET8|0x10, SET8|0x10, 0x00, 0x01, 64333853f97SJordan K. Hubbard /* sc=1a */ 0xc8, 0xe8, 0x1B, 0x1B, SET8|'[', SET8|'{', SET8|0x1B, SET8|0x1B, 0x00, 0x01, 64433853f97SJordan K. Hubbard /* sc=1b */ 0xdf, 0xff, 0x1D, 0x1D, SET8|']', SET8|'}', SET8|0x1D, SET8|0x1D, 0x00, 0x01, 64533853f97SJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, SET8|0x0D, SET8|0x0D, SET8|0x0A, SET8|0x0A, 0x00, 0x00, 646c3b435bbSJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 64733853f97SJordan K. Hubbard /* sc=1e */ 0xc6, 0xe6, 0x01, 0x01, SET8|'a', SET8|'A', SET8|0x01, SET8|0x01, 0x00, 0x01, 64833853f97SJordan K. Hubbard /* sc=1f */ 0xd9, 0xf9, 0x13, 0x13, SET8|'s', SET8|'S', SET8|0x13, SET8|0x13, 0x00, 0x01, 64933853f97SJordan K. Hubbard /* sc=20 */ 0xd7, 0xf7, 0x04, 0x04, SET8|'d', SET8|'D', SET8|0x04, SET8|0x04, 0x00, 0x01, 65033853f97SJordan K. Hubbard /* sc=21 */ 0xc1, 0xe1, 0x06, 0x06, SET8|'f', SET8|'F', SET8|0x06, SET8|0x06, 0x00, 0x01, 65133853f97SJordan K. Hubbard /* sc=22 */ 0xd0, 0xf0, 0x07, 0x07, SET8|'g', SET8|'G', SET8|0x07, SET8|0x07, 0x00, 0x01, 65233853f97SJordan K. Hubbard /* sc=23 */ 0xd2, 0xf2, 0x08, 0x08, SET8|'h', SET8|'H', SET8|0x08, SET8|0x08, 0x00, 0x01, 65333853f97SJordan K. Hubbard /* sc=24 */ 0xcf, 0xef, 0x0A, 0x0A, SET8|'j', SET8|'J', SET8|0x0A, SET8|0x0A, 0x00, 0x01, 65433853f97SJordan K. Hubbard /* sc=25 */ 0xcc, 0xec, 0x0B, 0x0B, SET8|'k', SET8|'K', SET8|0x0B, SET8|0x0B, 0x00, 0x01, 65533853f97SJordan K. Hubbard /* sc=26 */ 0xc4, 0xe4, 0x0C, 0x0C, SET8|'l', SET8|'L', SET8|0x0C, SET8|0x0C, 0x00, 0x01, 65633853f97SJordan K. Hubbard /* sc=27 */ 0xd6, 0xf6, NOP, NOP, SET8|';', SET8|':', NOP, NOP, 0x33, 0x01, 65733853f97SJordan K. Hubbard /* sc=28 */ 0xdc, 0xfc, NOP, NOP, SET8|'\'', SET8|'"', NOP, NOP, 0x33, 0x01, 65833853f97SJordan K. Hubbard /* sc=29 */ 0xa3, 0xb3, NOP, NOP, SET8|'`', SET8|'~', NOP, NOP, 0x33, 0x01, 659c3b435bbSJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 66033853f97SJordan K. Hubbard /* sc=2b */ '\\', '|', 0x1C, 0x1C, SET8|'\\', SET8|'|', SET8|0x1C, SET8|0x1C, 0x00, 0x00, 66133853f97SJordan K. Hubbard /* sc=2c */ 0xd1, 0xf1, 0x1A, 0x1A, SET8|'z', SET8|'Z', SET8|0x1A, SET8|0x1A, 0x00, 0x01, 66233853f97SJordan K. Hubbard /* sc=2d */ 0xde, 0xfe, 0x18, 0x18, SET8|'x', SET8|'X', SET8|0x18, SET8|0x18, 0x00, 0x01, 66333853f97SJordan K. Hubbard /* sc=2e */ 0xd3, 0xf3, 0x03, 0x03, SET8|'c', SET8|'C', SET8|0x03, SET8|0x03, 0x00, 0x01, 66433853f97SJordan K. Hubbard /* sc=2f */ 0xcd, 0xed, 0x16, 0x16, SET8|'v', SET8|'V', SET8|0x16, SET8|0x16, 0x00, 0x01, 66533853f97SJordan K. Hubbard /* sc=30 */ 0xc9, 0xe9, 0x02, 0x02, SET8|'b', SET8|'B', SET8|0x02, SET8|0x02, 0x00, 0x01, 66633853f97SJordan K. Hubbard /* sc=31 */ 0xd4, 0xf4, 0x0E, 0x0E, SET8|'n', SET8|'N', SET8|0x0E, SET8|0x0E, 0x00, 0x01, 66733853f97SJordan K. Hubbard /* sc=32 */ 0xd8, 0xf8, 0x0D, 0x0D, SET8|'m', SET8|'M', SET8|0x0D, SET8|0x0D, 0x00, 0x01, 66833853f97SJordan K. Hubbard /* sc=33 */ 0xc2, 0xe2, NOP, NOP, SET8|',', SET8|'<', NOP, NOP, 0x33, 0x01, 66933853f97SJordan K. Hubbard /* sc=34 */ 0xc0, 0xe0, NOP, NOP, SET8|'.', SET8|'>', NOP, NOP, 0x33, 0x01, 67033853f97SJordan K. Hubbard /* sc=35 */ '/', '?', NOP, NOP, SET8|'/', SET8|'?', NOP, NOP, 0x33, 0x00, 671c3b435bbSJordan K. Hubbard /* sc=36 */ ASH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 67233853f97SJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, SET8|'*', SET8|'*', SET8|0x0A, SET8|0x0A, 0x00, 0x00, 673c3b435bbSJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 67433853f97SJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', SET8|' ', SET8|' ', SET8|' ', SET8|' ', 0x00, 0x00, 675c3b435bbSJordan K. Hubbard /* sc=3a */ ALK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 676c3b435bbSJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 677c3b435bbSJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 678c3b435bbSJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 679c3b435bbSJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 680c3b435bbSJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 681c3b435bbSJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 682c3b435bbSJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 683c3b435bbSJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 684c3b435bbSJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 685c3b435bbSJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 686c3b435bbSJordan K. Hubbard /* sc=45 */ NLK, NLK, NLK, NLK, NLK, NLK, NLK, NLK, 0xFF, 0x00, 687c3b435bbSJordan K. Hubbard /* sc=46 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 68833853f97SJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', SET8|'7', SET8|'7', SET8|'7', SET8|'7', 0x80, 0x02, 68933853f97SJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', SET8|'8', SET8|'8', SET8|'8', SET8|'8', 0x80, 0x02, 69033853f97SJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', SET8|'9', SET8|'9', SET8|'9', SET8|'9', 0x80, 0x02, 69133853f97SJordan K. Hubbard /* sc=4a */ F(52), '-', '-', '-', SET8|'-', SET8|'-', SET8|'-', SET8|'-', 0x80, 0x02, 69233853f97SJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', SET8|'4', SET8|'4', SET8|'4', SET8|'4', 0x80, 0x02, 69333853f97SJordan K. Hubbard /* sc=4c */ F(48), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02, 69433853f97SJordan K. Hubbard /* sc=4d */ F(55), '6', '6', '6', SET8|'6', SET8|'6', SET8|'6', SET8|'6', 0x80, 0x02, 69533853f97SJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', SET8|'+', SET8|'+', SET8|'+', SET8|'+', 0x80, 0x02, 69633853f97SJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', SET8|'1', SET8|'1', SET8|'1', SET8|'1', 0x80, 0x02, 69733853f97SJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', SET8|'2', SET8|'2', SET8|'2', SET8|'2', 0x80, 0x02, 69833853f97SJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', SET8|'3', SET8|'3', SET8|'3', SET8|'3', 0x80, 0x02, 69933853f97SJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', SET8|'0', SET8|'0', SET8|'0', SET8|'0', 0x80, 0x02, 70033853f97SJordan K. Hubbard /* sc=53 */ F(54), '.', 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, SET8|0x7F, SET8|0x7F, 0x80, 0x02, 701c3b435bbSJordan K. Hubbard /* sc=54 */ ALK, ALK, ALK, ALK, ALK, ALK, ALK, ALK, 0xFF, 0x00, 702c3b435bbSJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 703c3b435bbSJordan K. Hubbard /* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 704c3b435bbSJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 705c3b435bbSJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 70633853f97SJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0A, 0x0A, SET8|0x0D, SET8|0x0D, SET8|0x0A, SET8|0x0A, 0x00, 0x00, 707c3b435bbSJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 70833853f97SJordan K. Hubbard /* sc=5b */ '/', '/', NOP, NOP, SET8|'/', SET8|'/', NOP, NOP, 0x33, 0x00, 709c3b435bbSJordan K. Hubbard /* sc=5c */ CLK, ALK, ALK, ALK, ALK, ALK, ALK, ALK, 0xFF, 0x00, 710c3b435bbSJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 711c3b435bbSJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 712c3b435bbSJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 713c3b435bbSJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 714c3b435bbSJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 715c3b435bbSJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 716c3b435bbSJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 717c3b435bbSJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 718c3b435bbSJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 719c3b435bbSJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 72033853f97SJordan K. Hubbard /* sc=67 */ F(54), F(54), 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, SET8|0x7F, SET8|0x7F, 0xC0, 0x00, 721c3b435bbSJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 722c3b435bbSJordan K. Hubbard }; 723c3b435bbSJordan K. Hubbard 724c3b435bbSJordan K. Hubbard #endif 725c3b435bbSJordan K. Hubbard 726c3b435bbSJordan K. Hubbard #if !defined(DKKEYMAP) && !defined(UKKEYMAP) && !defined(GRKEYMAP) && !defined(SWKEYMAP) && !defined(RUKEYMAP) 727c3b435bbSJordan K. Hubbard keymap_t key_map = { 0x69, /* US iso8859 keymap */ 728916347f7SJordan K. Hubbard /* alt 729916347f7SJordan K. Hubbard * scan cntrl alt alt cntrl 730916347f7SJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 731916347f7SJordan K. Hubbard * --------------------------------------------------------------------------- 732916347f7SJordan K. Hubbard */ 733916347f7SJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 734916347f7SJordan K. Hubbard /* sc=01 */ 0x1B, 0x1B, NOP, NOP, 0x1B, 0x1B, NOP, NOP, 0x33, 0x00, 735916347f7SJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, '1', '!', NOP, NOP, 0x33, 0x00, 736916347f7SJordan K. Hubbard /* sc=03 */ '2', '@', 0x00, 0x00, '2', '@', 0x00, 0x00, 0x00, 0x00, 737916347f7SJordan K. Hubbard /* sc=04 */ '3', '#', NOP, NOP, '3', '#', NOP, NOP, 0x33, 0x00, 738916347f7SJordan K. Hubbard /* sc=05 */ '4', '$', NOP, NOP, '4', '$', NOP, NOP, 0x33, 0x00, 739916347f7SJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, '5', '%', NOP, NOP, 0x33, 0x00, 740916347f7SJordan K. Hubbard /* sc=07 */ '6', '^', 0x1E, 0x1E, '6', '^', 0x1E, 0x1E, 0x00, 0x00, 741916347f7SJordan K. Hubbard /* sc=08 */ '7', '&', NOP, NOP, '7', '&', NOP, NOP, 0x33, 0x00, 742916347f7SJordan K. Hubbard /* sc=09 */ '8', '*', NOP, NOP, '8', '*', NOP, NOP, 0x33, 0x00, 743916347f7SJordan K. Hubbard /* sc=0a */ '9', '(', NOP, NOP, '9', '(', NOP, NOP, 0x33, 0x00, 744916347f7SJordan K. Hubbard /* sc=0b */ '0', ')', NOP, NOP, '0', ')', NOP, NOP, 0x33, 0x00, 745916347f7SJordan K. Hubbard /* sc=0c */ '-', '_', 0x1F, 0x1F, '-', '_', 0x1F, 0x1F, 0x00, 0x00, 746916347f7SJordan K. Hubbard /* sc=0d */ '=', '+', NOP, NOP, '=', '+', NOP, NOP, 0x33, 0x00, 747916347f7SJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x00, 0x00, 748916347f7SJordan K. Hubbard /* sc=0f */ 0x09, 0x08, NOP, NOP, 0x09, 0x08, NOP, NOP, 0x33, 0x00, 749916347f7SJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, 'q', 'Q', 0x11, 0x11, 0x00, 0x01, 750916347f7SJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, 'w', 'W', 0x17, 0x17, 0x00, 0x01, 751916347f7SJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, 'e', 'E', 0x05, 0x05, 0x00, 0x01, 752916347f7SJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, 'r', 'R', 0x12, 0x12, 0x00, 0x01, 753916347f7SJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, 't', 'T', 0x14, 0x14, 0x00, 0x01, 754916347f7SJordan K. Hubbard /* sc=15 */ 'y', 'Y', 0x19, 0x19, 'y', 'Y', 0x19, 0x19, 0x00, 0x01, 755916347f7SJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, 'u', 'U', 0x15, 0x15, 0x00, 0x01, 756916347f7SJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, 'i', 'I', 0x09, 0x09, 0x00, 0x01, 757916347f7SJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, 'o', 'O', 0x0F, 0x0F, 0x00, 0x01, 758916347f7SJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, 'p', 'P', 0x10, 0x10, 0x00, 0x01, 759916347f7SJordan K. Hubbard /* sc=1a */ '[', '{', 0x1B, 0x1B, '[', '{', 0x1B, 0x1B, 0x00, 0x00, 760916347f7SJordan K. Hubbard /* sc=1b */ ']', '}', 0x1D, 0x1D, ']', '}', 0x1D, 0x1D, 0x00, 0x00, 761916347f7SJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, 0x0D, 0x0D, 0x0A, 0x0A, 0x00, 0x00, 762916347f7SJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 763916347f7SJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, 'a', 'A', 0x01, 0x01, 0x00, 0x01, 764916347f7SJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, 's', 'S', 0x13, 0x13, 0x00, 0x01, 765916347f7SJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, 'd', 'D', 0x04, 0x04, 0x00, 0x01, 766916347f7SJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, 'f', 'F', 0x06, 0x06, 0x00, 0x01, 767916347f7SJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, 'g', 'G', 0x07, 0x07, 0x00, 0x01, 768916347f7SJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, 'h', 'H', 0x08, 0x08, 0x00, 0x01, 769916347f7SJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, 'j', 'J', 0x0A, 0x0A, 0x00, 0x01, 770916347f7SJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, 'k', 'K', 0x0B, 0x0B, 0x00, 0x01, 771916347f7SJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, 'l', 'L', 0x0C, 0x0C, 0x00, 0x01, 772916347f7SJordan K. Hubbard /* sc=27 */ ';', ':', NOP, NOP, ';', ':', NOP, NOP, 0x33, 0x00, 773916347f7SJordan K. Hubbard /* sc=28 */ '\'', '"', NOP, NOP, '\'', '"', NOP, NOP, 0x33, 0x00, 774916347f7SJordan K. Hubbard /* sc=29 */ '`', '~', NOP, NOP, '`', '~', NOP, NOP, 0x33, 0x00, 775916347f7SJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 776916347f7SJordan K. Hubbard /* sc=2b */ '\\', '|', 0x1C, 0x1C, '\\', '|', 0x1C, 0x1C, 0x00, 0x00, 777916347f7SJordan K. Hubbard /* sc=2c */ 'z', 'Z', 0x1A, 0x1A, 'z', 'Z', 0x1A, 0x1A, 0x00, 0x01, 778916347f7SJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, 'x', 'X', 0x18, 0x18, 0x00, 0x01, 779916347f7SJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, 'c', 'C', 0x03, 0x03, 0x00, 0x01, 780916347f7SJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, 'v', 'V', 0x16, 0x16, 0x00, 0x01, 781916347f7SJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, 'b', 'B', 0x02, 0x02, 0x00, 0x01, 782916347f7SJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, 'n', 'N', 0x0E, 0x0E, 0x00, 0x01, 783916347f7SJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, 'm', 'M', 0x0D, 0x0D, 0x00, 0x01, 784916347f7SJordan K. Hubbard /* sc=33 */ ',', '<', NOP, NOP, ',', '<', NOP, NOP, 0x33, 0x00, 785916347f7SJordan K. Hubbard /* sc=34 */ '.', '>', NOP, NOP, '.', '>', NOP, NOP, 0x33, 0x00, 786916347f7SJordan K. Hubbard /* sc=35 */ '/', '?', NOP, NOP, '/', '?', NOP, NOP, 0x33, 0x00, 787916347f7SJordan K. Hubbard /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 788916347f7SJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, '*', '*', 0x0A, 0x0A, 0x33, 0x00, 789916347f7SJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 790916347f7SJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x00, 0x00, 791916347f7SJordan K. Hubbard /* sc=3a */ CLK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 792916347f7SJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 793916347f7SJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 794916347f7SJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 795916347f7SJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 796916347f7SJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 797916347f7SJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 798916347f7SJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 799916347f7SJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 800916347f7SJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 801916347f7SJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 802916347f7SJordan K. Hubbard /* sc=45 */ NLK, NLK, NLK, NLK, NLK, NLK, NLK, NLK, 0xFF, 0x00, 803916347f7SJordan K. Hubbard /* sc=46 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 804916347f7SJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', '7', '7', '7', '7', 0x80, 0x02, 805916347f7SJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', '8', '8', '8', '8', 0x80, 0x02, 806916347f7SJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02, 807916347f7SJordan K. Hubbard /* sc=4a */ F(52), '-', '-', '-', '-', '-', '-', '-', 0x80, 0x02, 808916347f7SJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02, 809916347f7SJordan K. Hubbard /* sc=4c */ NOP, '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02, 810916347f7SJordan K. Hubbard /* sc=4d */ F(55), '6', '6', '6', '6', '6', '6', '6', 0x80, 0x02, 811916347f7SJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02, 812916347f7SJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02, 813916347f7SJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02, 814916347f7SJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02, 815916347f7SJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02, 816916347f7SJordan K. Hubbard /* sc=53 */ 0x7F, '.', 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x7F, 0x00, 0x02, 817916347f7SJordan K. Hubbard /* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 818916347f7SJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 819916347f7SJordan K. Hubbard /* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 820916347f7SJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 821916347f7SJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 822916347f7SJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x00, 0x00, 823916347f7SJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 824916347f7SJordan K. Hubbard /* sc=5b */ '/', '/', '/', '/', '/', '/', '/', '/', 0x00, 0x00, 82533853f97SJordan K. Hubbard /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 826916347f7SJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 827916347f7SJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 828916347f7SJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 829916347f7SJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 830916347f7SJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 831916347f7SJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 832916347f7SJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 833916347f7SJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 834916347f7SJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 835916347f7SJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 836916347f7SJordan K. Hubbard /* sc=67 */ F(54), F(54), F(54), F(54), F(54), F(54), F(54), F(54), 0xFF, 0x00, 837916347f7SJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 838916347f7SJordan K. Hubbard }; 839916347f7SJordan K. Hubbard 840916347f7SJordan K. Hubbard #endif 841916347f7SJordan K. Hubbard 842916347f7SJordan K. Hubbard fkeytab_t fkey_tab[60] = { 843916347f7SJordan K. Hubbard /* 00-03 */ {"\033[M", 3}, {"\033[N", 3}, {"\033[O", 3}, {"\033[P", 3}, 844916347f7SJordan K. Hubbard /* 04-07 */ {"\033[Q", 3}, {"\033[R", 3}, {"\033[S", 3}, {"\033[T", 3}, 845916347f7SJordan K. Hubbard /* 08-0B */ {"\033[U", 3}, {"\033[V", 3}, {"\033[W", 3}, {"\033[X", 3}, 846916347f7SJordan K. Hubbard /* 0C-0F */ {"\033[W", 3}, {"\033[X", 3}, {"\033[Y", 3}, {"\033[Z", 3}, 847916347f7SJordan K. Hubbard /* 10-13 */ {"\033[a", 3}, {"\033[b", 3}, {"\033[c", 3}, {"\033[d", 3}, 848916347f7SJordan K. Hubbard /* 14-17 */ {"\033[e", 3}, {"\033[f", 3}, {"\033[g", 3}, {"\033[h", 3}, 849916347f7SJordan K. Hubbard /* 18-1B */ {"\033[g", 3}, {"\033[h", 3}, {"\033[i", 3}, {"\033[j", 3}, 850916347f7SJordan K. Hubbard /* 1C-1F */ {"\033[k", 3}, {"\033[l", 3}, {"\033[m", 3}, {"\033[n", 3}, 851916347f7SJordan K. Hubbard /* 20-23 */ {"\033[o", 3}, {"\033[p", 3}, {"\033[q", 3}, {"\033[r", 3}, 852916347f7SJordan K. Hubbard /* 24-27 */ {"\033[g", 3}, {"\033[h", 3}, {"\033[i", 3}, {"\033[j", 3}, 853916347f7SJordan K. Hubbard /* 28-2B */ {"\033[k", 3}, {"\033[l", 3}, {"\033[m", 3}, {"\033[n", 3}, 854916347f7SJordan K. Hubbard /* 2C-2F */ {"\033[o", 3}, {"\033[p", 3}, {"\033[q", 3}, {"\033[r", 3}, 855916347f7SJordan K. Hubbard /* 30-33 */ {"\033[H", 3}, {"\033[A", 3}, {"\033[I", 3}, {"-" , 1}, 856916347f7SJordan K. Hubbard /* 34-37 */ {"\033[D", 3}, {"\177" , 1}, {"\033[C", 3}, {"+" , 1}, 857916347f7SJordan K. Hubbard /* 38-3B */ {"\033[F", 3}, {"\033[B", 3}, {"\033[G", 3}, {"\033[L", 3} 858916347f7SJordan K. Hubbard }; 859