1444ada0bSSøren Schmidt /*- 2444ada0bSSøren Schmidt * Copyright (c) 1992-1994 S�ren Schmidt 3444ada0bSSøren Schmidt * All rights reserved. 4916347f7SJordan K. Hubbard * 5444ada0bSSøren Schmidt * Redistribution and use in source and binary forms, with or without 6444ada0bSSøren Schmidt * modification, are permitted provided that the following conditions 7444ada0bSSøren Schmidt * are met: 8444ada0bSSøren Schmidt * 1. Redistributions of source code must retain the above copyright 9444ada0bSSøren Schmidt * notice, this list of conditions and the following disclaimer 10444ada0bSSøren Schmidt * in this position and unchanged. 11444ada0bSSøren Schmidt * 2. Redistributions in binary form must reproduce the above copyright 12444ada0bSSøren Schmidt * notice, this list of conditions and the following disclaimer in the 13444ada0bSSøren Schmidt * documentation and/or other materials provided with the distribution. 14444ada0bSSøren Schmidt * 3. The name of the author may not be used to endorse or promote products 15444ada0bSSøren Schmidt * derived from this software withough specific prior written permission 16916347f7SJordan K. Hubbard * 17444ada0bSSøren Schmidt * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 18444ada0bSSøren Schmidt * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19444ada0bSSøren Schmidt * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20444ada0bSSøren Schmidt * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21444ada0bSSøren Schmidt * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22444ada0bSSøren Schmidt * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23444ada0bSSøren Schmidt * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24444ada0bSSøren Schmidt * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25444ada0bSSøren Schmidt * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26444ada0bSSøren Schmidt * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27916347f7SJordan K. Hubbard * 28444ada0bSSøren Schmidt * $Id$ 29916347f7SJordan K. Hubbard */ 30916347f7SJordan K. Hubbard 3133853f97SJordan K. Hubbard #define SET8 0x80 /* eight bit for emacs SET8-key */ 32916347f7SJordan K. Hubbard 33c3b435bbSJordan K. Hubbard #ifdef DKKEYMAP 34c3b435bbSJordan K. Hubbard keymap_t key_map = { 0x69, /* DK iso8859 keymap */ 35916347f7SJordan K. Hubbard /* alt 36916347f7SJordan K. Hubbard * scan cntrl alt alt cntrl 37916347f7SJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 38916347f7SJordan K. Hubbard * --------------------------------------------------------------------------- 39916347f7SJordan K. Hubbard */ 40916347f7SJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 418b2e5491SNate Williams /* sc=01 */ 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, DBG, 0x1B, 0x02, 0x00, 42916347f7SJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, '1', '!', NOP, NOP, 0x33, 0x00, 43916347f7SJordan K. Hubbard /* sc=03 */ '2', '"', 0x00, 0x00, '@', '"', 0x00, 0x00, 0x00, 0x00, 44916347f7SJordan K. Hubbard /* sc=04 */ '3', '#', NOP, NOP, 0x9E, '#', NOP, NOP, 0x33, 0x00, 45916347f7SJordan K. Hubbard /* sc=05 */ '4', 0xA4, NOP, NOP, '$', 0xA4, NOP, NOP, 0x33, 0x00, 46916347f7SJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, '5', '%', NOP, NOP, 0x33, 0x00, 47916347f7SJordan K. Hubbard /* sc=07 */ '6', '&', NOP, NOP, '6', '&', NOP, NOP, 0x33, 0x00, 48916347f7SJordan K. Hubbard /* sc=08 */ '7', '/', NOP, NOP, '{', '/', NOP, NOP, 0x33, 0x00, 49916347f7SJordan K. Hubbard /* sc=09 */ '8', '(', 0x1B, 0x1B, '[', '(', 0x1B, 0x1B, 0x00, 0x00, 50916347f7SJordan K. Hubbard /* sc=0a */ '9', ')', 0x1D, 0x1D, ']', ')', 0x1D, 0x1D, 0x00, 0x00, 51916347f7SJordan K. Hubbard /* sc=0b */ '0', '=', NOP, NOP, '}', '=', NOP, NOP, 0x33, 0x00, 52916347f7SJordan K. Hubbard /* sc=0c */ '+', '?', NOP, NOP, '+', '?', NOP, NOP, 0x33, 0x00, 53916347f7SJordan K. Hubbard /* sc=0d */ '\'', '`', NOP, NOP, '|', '`', NOP, NOP, 0x33, 0x00, 54c3b435bbSJordan K. Hubbard /* sc=0e */ 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x08, 0x08, 0x00, 0x00, 55916347f7SJordan K. Hubbard /* sc=0f */ 0x09, 0x08, NOP, NOP, 0x09, 0x08, NOP, NOP, 0x33, 0x00, 56916347f7SJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, 'q', 'Q', 0x11, 0x11, 0x00, 0x01, 57916347f7SJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, 'w', 'W', 0x17, 0x17, 0x00, 0x01, 58916347f7SJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, 'e', 'E', 0x05, 0x05, 0x00, 0x01, 59916347f7SJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, 'r', 'R', 0x12, 0x12, 0x00, 0x01, 60916347f7SJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, 't', 'T', 0x14, 0x14, 0x00, 0x01, 61916347f7SJordan K. Hubbard /* sc=15 */ 'y', 'Y', 0x19, 0x19, 'y', 'Y', 0x19, 0x19, 0x00, 0x01, 62916347f7SJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, 'u', 'U', 0x15, 0x15, 0x00, 0x01, 63916347f7SJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, 'i', 'I', 0x09, 0x09, 0x00, 0x01, 64916347f7SJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, 'o', 'O', 0x0F, 0x0F, 0x00, 0x01, 65916347f7SJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, 'p', 'P', 0x10, 0x10, 0x00, 0x01, 66916347f7SJordan K. Hubbard /* sc=1a */ 0xE5, 0xC5, NOP, NOP, 0x86, 0x8F, NOP, NOP, 0x33, 0x01, 67916347f7SJordan K. Hubbard /* sc=1b */ '"', '^', 0x1E, 0x1E, '~', '^', 0x1E, 0x1E, 0x00, 0x00, 68916347f7SJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, 0x0D, 0x0D, 0x0A, 0x0A, 0x00, 0x00, 69916347f7SJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 70916347f7SJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, 'a', 'A', 0x01, 0x01, 0x00, 0x01, 71916347f7SJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, 's', 'S', 0x13, 0x13, 0x00, 0x01, 72916347f7SJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, 'd', 'D', 0x04, 0x04, 0x00, 0x01, 73916347f7SJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, 'f', 'F', 0x06, 0x06, 0x00, 0x01, 74916347f7SJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, 'g', 'G', 0x07, 0x07, 0x00, 0x01, 75916347f7SJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, 'h', 'H', 0x08, 0x08, 0x00, 0x01, 76916347f7SJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, 'j', 'J', 0x0A, 0x0A, 0x00, 0x01, 77916347f7SJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, 'k', 'K', 0x0B, 0x0B, 0x00, 0x01, 78916347f7SJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, 'l', 'L', 0x0C, 0x0C, 0x00, 0x01, 79916347f7SJordan K. Hubbard /* sc=27 */ 0xE6, 0xC6, NOP, NOP, 0x91, 0x92, NOP, NOP, 0x33, 0x01, 80916347f7SJordan K. Hubbard /* sc=28 */ 0xF8, 0xD8, NOP, NOP, 0x9B, 0x9D, NOP, NOP, 0x33, 0x01, 81916347f7SJordan K. Hubbard /* sc=29 */ 0xBD, 0xA7, NOP, NOP, 0xBD, 0xA7, NOP, NOP, 0x33, 0x00, 82916347f7SJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 83916347f7SJordan K. Hubbard /* sc=2b */ '\'', '*', NOP, NOP, '\'', '*', NOP, NOP, 0x33, 0x00, 84916347f7SJordan K. Hubbard /* sc=2c */ 'z', 'Z', 0x1A, 0x1A, 'z', 'Z', 0x1A, 0x1A, 0x00, 0x01, 85916347f7SJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, 'x', 'X', 0x18, 0x18, 0x00, 0x01, 86916347f7SJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, 'c', 'C', 0x03, 0x03, 0x00, 0x01, 87916347f7SJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, 'v', 'V', 0x16, 0x16, 0x00, 0x01, 88916347f7SJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, 'b', 'B', 0x02, 0x02, 0x00, 0x01, 89916347f7SJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, 'n', 'N', 0x0E, 0x0E, 0x00, 0x01, 90916347f7SJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, 'm', 'M', 0x0D, 0x0D, 0x00, 0x01, 91916347f7SJordan K. Hubbard /* sc=33 */ ',', ';', NOP, NOP, ',', ';', NOP, NOP, 0x33, 0x00, 92916347f7SJordan K. Hubbard /* sc=34 */ '.', ':', NOP, NOP, '.', ':', NOP, NOP, 0x33, 0x00, 93916347f7SJordan K. Hubbard /* sc=35 */ '-', '_', 0x1F, 0x1F, '-', '_', 0x1F, 0x1F, 0x00, 0x00, 94916347f7SJordan K. Hubbard /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 9533853f97SJordan K. Hubbard /* sc=37 */ '*', '*', '*', '*', '*', '*', '*', '*', 0x00, 0x00, 96916347f7SJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 97916347f7SJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x00, 0x00, 98916347f7SJordan K. Hubbard /* sc=3a */ CLK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 99916347f7SJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 100916347f7SJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 101916347f7SJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 102916347f7SJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 103916347f7SJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 104916347f7SJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 105916347f7SJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 106916347f7SJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 107916347f7SJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 108916347f7SJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 109916347f7SJordan K. Hubbard /* sc=45 */ NLK, NLK, NLK, NLK, NLK, NLK, NLK, NLK, 0xFF, 0x00, 110916347f7SJordan K. Hubbard /* sc=46 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 111916347f7SJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', '7', '7', '7', '7', 0x80, 0x02, 112916347f7SJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', '8', '8', '8', '8', 0x80, 0x02, 113916347f7SJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02, 114c3b435bbSJordan K. Hubbard /* sc=4a */ F(52), '-', '-', '-', '-', '-', '-', '-', 0x80, 0x02, 115916347f7SJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02, 116916347f7SJordan K. Hubbard /* sc=4c */ NOP, '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02, 117916347f7SJordan K. Hubbard /* sc=4d */ F(55), '6', '6', '6', '6', '6', '6', '6', 0x80, 0x02, 118916347f7SJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02, 119916347f7SJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02, 120916347f7SJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02, 121916347f7SJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02, 122916347f7SJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02, 1238b2e5491SNate Williams /* sc=53 */ 0x7F, '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0x02, 0x02, 124916347f7SJordan K. Hubbard /* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 125916347f7SJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 126916347f7SJordan K. Hubbard /* sc=56 */ '<', '>', 0x1C, 0x1C, '\\', '>', 0x1C, 0x1C, 0x00, 0x00, 127916347f7SJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 128916347f7SJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 129916347f7SJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x00, 0x02, 130916347f7SJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 131916347f7SJordan K. Hubbard /* sc=5b */ '/', '/', '/', '/', '/', '/', '/', '/', 0x00, 0x00, 13233853f97SJordan K. Hubbard /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 133916347f7SJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 134916347f7SJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 135916347f7SJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 136916347f7SJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 137916347f7SJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 138916347f7SJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 139916347f7SJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 140916347f7SJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 141916347f7SJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 142916347f7SJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 1438b2e5491SNate Williams /* sc=67 */ F(54), F(54), F(54), F(54), F(54), F(54), RBT, F(54), 0xFF, 0x00, 144916347f7SJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 145916347f7SJordan K. Hubbard }; 146c3b435bbSJordan K. Hubbard #endif 147916347f7SJordan K. Hubbard 148c3b435bbSJordan K. Hubbard #ifdef UKKEYMAP 14902aa90d8SRodney W. Grimes keymap_t key_map = { 0x69, /* uk iso8859 keymap */ 150c3b435bbSJordan K. Hubbard /* alt 151c3b435bbSJordan K. Hubbard * scan cntrl alt alt cntrl 152c3b435bbSJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 153c3b435bbSJordan K. Hubbard * --------------------------------------------------------------------------- 154c3b435bbSJordan K. Hubbard */ 155c3b435bbSJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 1568b2e5491SNate Williams /* sc=01 */ 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, DBG, 0x1B, 0x02, 0x00, 157c3b435bbSJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, '`', '`', NOP, NOP, 0x33, 0x00, 158c3b435bbSJordan K. Hubbard /* sc=03 */ '2', '"', 0x00, 0x00, '@', '@', 0x00, 0x00, 0x00, 0x00, 159c3b435bbSJordan K. Hubbard /* sc=04 */ '3', 0xA3, NOP, NOP, '#', '#', NOP, NOP, 0x33, 0x00, 160c3b435bbSJordan K. Hubbard /* sc=05 */ '4', '$', NOP, NOP, '4', '$', NOP, NOP, 0x33, 0x00, 161c3b435bbSJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, '5', '%', NOP, NOP, 0x33, 0x00, 162c3b435bbSJordan K. Hubbard /* sc=07 */ '6', '^', 0x1E, 0x1E, '^', '^', 0x1E, 0x1E, 0x00, 0x00, 163c3b435bbSJordan K. Hubbard /* sc=08 */ '7', '&', NOP, NOP, '[', '[', 0x1B, 0x1B, 0x30, 0x00, 164c3b435bbSJordan K. Hubbard /* sc=09 */ '8', '*', NOP, NOP, '8', '*', NOP, NOP, 0x33, 0x00, 165c3b435bbSJordan K. Hubbard /* sc=0a */ '9', '(', NOP, NOP, ']', ']', 0x1D, 0x1D, 0x30, 0x00, 166c3b435bbSJordan K. Hubbard /* sc=0b */ '0', ')', NOP, NOP, '{', '{', NOP, NOP, 0x33, 0x00, 167c3b435bbSJordan K. Hubbard /* sc=0c */ '-', '_', 0x1F, 0x1F, '|', '|', 0x1F, 0x1F, 0x00, 0x00, 168c3b435bbSJordan K. Hubbard /* sc=0d */ '=', '+', NOP, NOP, '}', '}', NOP, NOP, 0x33, 0x00, 169c3b435bbSJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x00, 0x00, 170c3b435bbSJordan K. Hubbard /* sc=0f */ 0x09, 0x08, NOP, NOP, 0x09, 0x08, NOP, NOP, 0x77, 0x00, 171c3b435bbSJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, 'q', 'Q', 0x11, 0x11, 0x00, 0x01, 172c3b435bbSJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, 'w', 'W', 0x17, 0x17, 0x00, 0x01, 173c3b435bbSJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, 'e', 'E', 0x05, 0x05, 0x00, 0x01, 174c3b435bbSJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, 'r', 'R', 0x12, 0x12, 0x00, 0x01, 175c3b435bbSJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, 't', 'T', 0x14, 0x14, 0x00, 0x01, 176c3b435bbSJordan K. Hubbard /* sc=15 */ 'y', 'Y', 0x19, 0x19, 'y', 'Y', 0x19, 0x19, 0x00, 0x01, 177c3b435bbSJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, 'u', 'U', 0x15, 0x15, 0x00, 0x01, 178c3b435bbSJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, 'i', 'I', 0x09, 0x09, 0x00, 0x01, 179c3b435bbSJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, 'o', 'O', 0x0F, 0x0F, 0x00, 0x01, 180c3b435bbSJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, 'p', 'P', 0x10, 0x10, 0x00, 0x01, 181c3b435bbSJordan K. Hubbard /* sc=1a */ '[', '{', 0x1B, 0x1B, '[', '{', 0x1B, 0x1B, 0x00, 0x00, 182c3b435bbSJordan K. Hubbard /* sc=1b */ ']', '}', 0x1D, 0x1D, ']', '}', 0x1D, 0x1D, 0x00, 0x00, 183c3b435bbSJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, 0x0D, 0x0D, 0x0A, 0x0A, 0x00, 0x00, 184c3b435bbSJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 185c3b435bbSJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, 'a', 'A', 0x01, 0x01, 0x00, 0x01, 186c3b435bbSJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, 's', 'S', 0x13, 0x13, 0x00, 0x01, 187c3b435bbSJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, 'd', 'D', 0x04, 0x04, 0x00, 0x01, 188c3b435bbSJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, 'f', 'F', 0x06, 0x06, 0x00, 0x01, 189c3b435bbSJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, 'g', 'G', 0x07, 0x07, 0x00, 0x01, 190c3b435bbSJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, 'h', 'H', 0x08, 0x08, 0x00, 0x01, 191c3b435bbSJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, 'j', 'J', 0x0A, 0x0A, 0x00, 0x01, 192c3b435bbSJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, 'k', 'K', 0x0B, 0x0B, 0x00, 0x01, 193c3b435bbSJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, 'l', 'L', 0x0C, 0x0C, 0x00, 0x01, 194c3b435bbSJordan K. Hubbard /* sc=27 */ ';', ':', NOP, NOP, ';', ':', NOP, NOP, 0x33, 0x00, 195c3b435bbSJordan K. Hubbard /* sc=28 */ '\'', '@', 0x00, 0x00, '\'', '@', 0x00, 0x00, 0x00, 0x00, 196c3b435bbSJordan K. Hubbard /* sc=29 */ '\\', '|', 0x1C, 0x1C, '\\', '\\', 0x1C, 0x1C, 0x00, 0x00, 197c3b435bbSJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 198c3b435bbSJordan K. Hubbard /* sc=2b */ '#', '~', NOP, NOP, '~', '~', NOP, NOP, 0x33, 0x00, 199c3b435bbSJordan K. Hubbard /* sc=2c */ 'z', 'Z', 0x1A, 0x1A, 'z', 'Z', 0x1A, 0x1A, 0x00, 0x01, 200c3b435bbSJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, 'x', 'X', 0x18, 0x18, 0x00, 0x01, 201c3b435bbSJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, 'c', 'C', 0x03, 0x03, 0x00, 0x01, 202c3b435bbSJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, 'v', 'V', 0x16, 0x16, 0x00, 0x01, 203c3b435bbSJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, 'b', 'B', 0x02, 0x02, 0x00, 0x01, 204c3b435bbSJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, 'n', 'N', 0x0E, 0x0E, 0x00, 0x01, 205c3b435bbSJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, 'm', 'M', 0x0D, 0x0D, 0x00, 0x01, 206c3b435bbSJordan K. Hubbard /* sc=33 */ ',', '<', NOP, NOP, ',', '<', NOP, NOP, 0x33, 0x00, 207c3b435bbSJordan K. Hubbard /* sc=34 */ '.', '>', NOP, NOP, '.', '>', NOP, NOP, 0x33, 0x00, 208c3b435bbSJordan K. Hubbard /* sc=35 */ '/', '?', NOP, NOP, '/', '?', NOP, NOP, 0x33, 0x00, 209c3b435bbSJordan K. Hubbard /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 210c3b435bbSJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, '*', '*', 0x0A, 0x0A, 0x33, 0x00, 211c3b435bbSJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 212c3b435bbSJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x00, 0x00, 213c3b435bbSJordan K. Hubbard /* sc=3a */ CLK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 214c3b435bbSJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 215c3b435bbSJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 216c3b435bbSJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 217c3b435bbSJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 218c3b435bbSJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 219c3b435bbSJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 220c3b435bbSJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 221c3b435bbSJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 222c3b435bbSJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 223c3b435bbSJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 224c3b435bbSJordan K. Hubbard /* sc=45 */ NLK, NLK, 0x13, 0x13, NLK, NLK, 0x13, 0x13, 0xCC, 0x00, 225c3b435bbSJordan K. Hubbard /* sc=46 */ SLK, SLK, 0x7F, 0x7F, SLK, SLK, 0x7F, 0x7F, 0xCC, 0x00, 226c3b435bbSJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', '7', '7', '7', '7', 0x80, 0x02, 227c3b435bbSJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', '8', '8', '8', '8', 0x80, 0x02, 228c3b435bbSJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02, 229c3b435bbSJordan K. Hubbard /* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02, 230c3b435bbSJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02, 231c3b435bbSJordan K. Hubbard /* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02, 232c3b435bbSJordan K. Hubbard /* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02, 233c3b435bbSJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02, 234c3b435bbSJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02, 235c3b435bbSJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02, 236c3b435bbSJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02, 237c3b435bbSJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02, 2388b2e5491SNate Williams /* sc=53 */ 0x7F, '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0x02, 0x02, 2398b2e5491SNate Williams /* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 240c3b435bbSJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 241c3b435bbSJordan K. Hubbard /* sc=56 */ '\\', '|', 0x1C, 0x1C, '\\', '|', 0x1C, 0x1C, 0x00, 0x00, 242c3b435bbSJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 243c3b435bbSJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 244c3b435bbSJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0xFF, 0x02, 245c3b435bbSJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 246c3b435bbSJordan K. Hubbard /* sc=5b */ '/', '/', '/', '/', '/', '/', '/', '/', 0x00, 0x02, 24733853f97SJordan K. Hubbard /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 248c3b435bbSJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 249c3b435bbSJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 250c3b435bbSJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 251c3b435bbSJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 252c3b435bbSJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 253c3b435bbSJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 254c3b435bbSJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 255c3b435bbSJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 256c3b435bbSJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 257c3b435bbSJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 2588b2e5491SNate Williams /* sc=67 */ F(54), F(54), F(54), F(54), F(54), F(54), RBT, F(54), 0xFF, 0x00, 259c3b435bbSJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 260c3b435bbSJordan K. Hubbard }; 261c3b435bbSJordan K. Hubbard #endif 262916347f7SJordan K. Hubbard 263c3b435bbSJordan K. Hubbard #ifdef GRKEYMAP 26402aa90d8SRodney W. Grimes keymap_t key_map = { 0x69, /* german iso8859 keymap */ 265c3b435bbSJordan K. Hubbard /* alt 266c3b435bbSJordan K. Hubbard * scan cntrl alt alt cntrl 267c3b435bbSJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 268c3b435bbSJordan K. Hubbard * --------------------------------------------------------------------------- 269c3b435bbSJordan K. Hubbard */ 270c3b435bbSJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 2718b2e5491SNate Williams /* sc=01 */ 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, DBG, 0x1B, 0x02, 0x00, 272c3b435bbSJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, '`', '`', NOP, NOP, 0x33, 0x00, 273c3b435bbSJordan K. Hubbard /* sc=03 */ '2', '"', 0x00, 0x00, '@', '@', 0x00, 0x00, 0x00, 0x00, 274c3b435bbSJordan K. Hubbard /* sc=04 */ '3', 0xA7, NOP, NOP, '#', '#', NOP, NOP, 0x33, 0x00, 275c3b435bbSJordan K. Hubbard /* sc=05 */ '4', '$', NOP, NOP, '4', '$', NOP, NOP, 0x33, 0x00, 276c3b435bbSJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, '5', '%', NOP, NOP, 0x33, 0x00, 277c3b435bbSJordan K. Hubbard /* sc=07 */ '6', '&', 0x1E, 0x1E, '^', '^', 0x1E, 0x1E, 0x00, 0x00, 278c3b435bbSJordan K. Hubbard /* sc=08 */ '7', '/', 0x1B, 0x1B, '[', '[', 0x1B, 0x1B, 0x00, 0x00, 279c3b435bbSJordan K. Hubbard /* sc=09 */ '8', '(', NOP, NOP, '8', '(', NOP, NOP, 0x33, 0x00, 280c3b435bbSJordan K. Hubbard /* sc=0a */ '9', ')', 0x1D, 0x1D, ']', ']', 0x1D, 0x1D, 0x00, 0x00, 281c3b435bbSJordan K. Hubbard /* sc=0b */ '0', '=', NOP, NOP, '{', '{', NOP, NOP, 0x33, 0x00, 282c3b435bbSJordan K. Hubbard /* sc=0c */ 0xDF, '?', NOP, NOP, '|', '|', NOP, NOP, 0x33, 0x00, 283c3b435bbSJordan K. Hubbard /* sc=0d */ 0x92, 0x93, NOP, NOP, '\'', '`', NOP, NOP, 0x33, 0x00, 284c3b435bbSJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x00, 0x00, 285c3b435bbSJordan K. Hubbard /* sc=0f */ 0x09, 0x08, NOP, NOP, 0x09, 0x08, NOP, NOP, 0x77, 0x00, 286c3b435bbSJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, 'q', 'Q', 0x11, 0x11, 0x00, 0x01, 287c3b435bbSJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, 'w', 'W', 0x17, 0x17, 0x00, 0x01, 288c3b435bbSJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, 'e', 'E', 0x05, 0x05, 0x00, 0x01, 289c3b435bbSJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, 'r', 'R', 0x12, 0x12, 0x00, 0x01, 290c3b435bbSJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, 't', 'T', 0x14, 0x14, 0x00, 0x01, 291c3b435bbSJordan K. Hubbard /* sc=15 */ 'z', 'Z', 0x1A, 0x1A, 'z', 'Z', 0x1A, 0x1A, 0x00, 0x01, 292c3b435bbSJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, 'u', 'U', 0x15, 0x15, 0x00, 0x01, 293c3b435bbSJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, 'i', 'I', 0x09, 0x09, 0x00, 0x01, 294c3b435bbSJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, 'o', 'O', 0x0F, 0x0F, 0x00, 0x01, 295c3b435bbSJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, 'p', 'P', 0x10, 0x10, 0x00, 0x01, 296c3b435bbSJordan K. Hubbard /* sc=1a */ 0xFC, 0xDC, 0x1B, 0x1B, '[', '{', 0x1B, 0x1B, 0x00, 0x01, 297c3b435bbSJordan K. Hubbard /* sc=1b */ '+', '*', 0x1D, 0x1D, ']', '}', 0x1D, 0x1D, 0x00, 0x00, 298c3b435bbSJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, 0x0D, 0x0D, 0x0A, 0x0A, 0x00, 0x00, 299c3b435bbSJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 300c3b435bbSJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, 'a', 'A', 0x01, 0x01, 0x00, 0x01, 301c3b435bbSJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, 's', 'S', 0x13, 0x13, 0x00, 0x01, 302c3b435bbSJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, 'd', 'D', 0x04, 0x04, 0x00, 0x01, 303c3b435bbSJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, 'f', 'F', 0x06, 0x06, 0x00, 0x01, 304c3b435bbSJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, 'g', 'G', 0x07, 0x07, 0x00, 0x01, 305c3b435bbSJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, 'h', 'H', 0x08, 0x08, 0x00, 0x01, 306c3b435bbSJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, 'j', 'J', 0x0A, 0x0A, 0x00, 0x01, 307c3b435bbSJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, 'k', 'K', 0x0B, 0x0B, 0x00, 0x01, 308c3b435bbSJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, 'l', 'L', 0x0C, 0x0C, 0x00, 0x01, 309c3b435bbSJordan K. Hubbard /* sc=27 */ 0xF6, 0xD6, NOP, NOP, 0xF6, 0xD6, NOP, NOP, 0x33, 0x01, 310c3b435bbSJordan K. Hubbard /* sc=28 */ 0xE4, 0xC4, NOP, NOP, 0xE4, 0xC4, NOP, NOP, 0x33, 0x01, 311c3b435bbSJordan K. Hubbard /* sc=29 */ '<', '>', 0x1C, 0x1C, '\\', '|', 0x1C, 0x1C, 0x00, 0x00, 312c3b435bbSJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 313c3b435bbSJordan K. Hubbard /* sc=2b */ '#', '^', 0x1E, 0x1E, '`', '~', 0x1E, 0x1E, 0x00, 0x00, 314c3b435bbSJordan K. Hubbard /* sc=2c */ 'y', 'Y', 0x19, 0x19, 'y', 'Y', 0x19, 0x19, 0x00, 0x01, 315c3b435bbSJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, 'x', 'X', 0x18, 0x18, 0x00, 0x01, 316c3b435bbSJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, 'c', 'C', 0x03, 0x03, 0x00, 0x01, 317c3b435bbSJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, 'v', 'V', 0x16, 0x16, 0x00, 0x01, 318c3b435bbSJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, 'b', 'B', 0x02, 0x02, 0x00, 0x01, 319c3b435bbSJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, 'n', 'N', 0x0E, 0x0E, 0x00, 0x01, 320c3b435bbSJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, 'm', 'M', 0x0D, 0x0D, 0x00, 0x01, 321c3b435bbSJordan K. Hubbard /* sc=33 */ ',', ';', NOP, NOP, ',', ';', NOP, NOP, 0x33, 0x00, 322c3b435bbSJordan K. Hubbard /* sc=34 */ '.', ':', NOP, NOP, '.', ':', NOP, NOP, 0x33, 0x00, 323c3b435bbSJordan K. Hubbard /* sc=35 */ '-', '_', 0x1F, 0x1F, '-', '_', 0x1F, 0x1F, 0x00, 0x00, 324c3b435bbSJordan K. Hubbard /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 325c3b435bbSJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, '*', '*', 0x0A, 0x0A, 0x33, 0x00, 326c3b435bbSJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 327c3b435bbSJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x00, 0x00, 328c3b435bbSJordan K. Hubbard /* sc=3a */ CLK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 329c3b435bbSJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 330c3b435bbSJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 331c3b435bbSJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 332c3b435bbSJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 333c3b435bbSJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 334c3b435bbSJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 335c3b435bbSJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 336c3b435bbSJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 337c3b435bbSJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 338c3b435bbSJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 339c3b435bbSJordan K. Hubbard /* sc=45 */ NLK, NLK, 0x13, 0x13, NLK, NLK, 0x13, 0x13, 0xCC, 0x00, 340c3b435bbSJordan K. Hubbard /* sc=46 */ SLK, SLK, 0x7F, 0x7F, SLK, SLK, 0x7F, 0x7F, 0xCC, 0x00, 341c3b435bbSJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', '7', '7', '7', '7', 0x80, 0x02, 342c3b435bbSJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', '8', '8', '8', '8', 0x80, 0x02, 343c3b435bbSJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02, 344c3b435bbSJordan K. Hubbard /* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02, 345c3b435bbSJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02, 346c3b435bbSJordan K. Hubbard /* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02, 347c3b435bbSJordan K. Hubbard /* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02, 348c3b435bbSJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02, 349c3b435bbSJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02, 350c3b435bbSJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02, 351c3b435bbSJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02, 352c3b435bbSJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02, 3538b2e5491SNate Williams /* sc=53 */ 0x7F, '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0x02, 0x02, 354c3b435bbSJordan K. Hubbard /* sc=54 */ 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x00, 0x00, 355c3b435bbSJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 356c3b435bbSJordan K. Hubbard /* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 357c3b435bbSJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 358c3b435bbSJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 359c3b435bbSJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0xFF, 0x02, 360c3b435bbSJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 361c3b435bbSJordan K. Hubbard /* sc=5b */ '/', '/', '/', '/', '/', '/', '/', '/', 0x00, 0x02, 36233853f97SJordan K. Hubbard /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 363c3b435bbSJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 364c3b435bbSJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 365c3b435bbSJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 366c3b435bbSJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 367c3b435bbSJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 368c3b435bbSJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 369c3b435bbSJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 370c3b435bbSJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 371c3b435bbSJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 372c3b435bbSJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 3738b2e5491SNate Williams /* sc=67 */ F(54), F(54), F(54), F(54), F(54), F(54), RBT, F(54), 0xFF, 0x00, 374c3b435bbSJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 375c3b435bbSJordan K. Hubbard }; 376c3b435bbSJordan K. Hubbard #endif 377c3b435bbSJordan K. Hubbard 378c3b435bbSJordan K. Hubbard #ifdef SWKEYMAP 37902aa90d8SRodney W. Grimes keymap_t key_map = { 0x69, /* swedish iso8859 keymap */ 380c3b435bbSJordan K. Hubbard /* alt 381c3b435bbSJordan K. Hubbard * scan cntrl alt alt cntrl 382c3b435bbSJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 383c3b435bbSJordan K. Hubbard * --------------------------------------------------------------------------- 384c3b435bbSJordan K. Hubbard */ 385c3b435bbSJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 3868b2e5491SNate Williams /* sc=01 */ 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, DBG, 0x1B, 0x02, 0x00, 387c3b435bbSJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, NOP, NOP, NOP, NOP, 0x3F, 0x00, 3880573e739SSøren Schmidt /* sc=03 */ '2', '"', NOP, NOP, '@', NOP, NOP, NOP, 0x37, 0x00, 3890573e739SSøren Schmidt /* sc=04 */ '3', '#', NOP, NOP, 0xA3, NOP, NOP, NOP, 0x37, 0x00, 3900573e739SSøren Schmidt /* sc=05 */ '4', '$', NOP, NOP, 0xA4, NOP, NOP, NOP, 0x37, 0x00, 391c3b435bbSJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, NOP, NOP, NOP, NOP, 0x3F, 0x00, 3920573e739SSøren Schmidt /* sc=07 */ '6', '&', NOP, NOP, NOP, NOP, NOP, NOP, 0x3F, 0x00, 3930573e739SSøren Schmidt /* sc=08 */ '7', '/', NOP, NOP, '{', NOP, NOP, NOP, 0x37, 0x00, 3940573e739SSøren Schmidt /* sc=09 */ '8', '(', NOP, NOP, '[', NOP, NOP, NOP, 0x37, 0x00, 3950573e739SSøren Schmidt /* sc=0a */ '9', ')', NOP, NOP, ']', NOP, NOP, NOP, 0x37, 0x00, 3960573e739SSøren Schmidt /* sc=0b */ '0', '=', NOP, NOP, '}', NOP, NOP, NOP, 0x37, 0x00, 3970573e739SSøren Schmidt /* sc=0c */ '+', '?', NOP, NOP, '\\', NOP, 0x1C, NOP, 0x35, 0x00, 3980573e739SSøren Schmidt /* sc=0d */ 0x180, '`', NOP, NOP, NOP, NOP, NOP, NOP, 0x3F, 0x00, 399c3b435bbSJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x00, 0x00, 400c3b435bbSJordan K. Hubbard /* sc=0f */ 0x09, 0x08, NOP, NOP, 0x09, 0x08, NOP, NOP, 0x77, 0x00, 401c3b435bbSJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, 'q', 'Q', 0x11, 0x11, 0x00, 0x01, 402c3b435bbSJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, 'w', 'W', 0x17, 0x17, 0x00, 0x01, 403c3b435bbSJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, 'e', 'E', 0x05, 0x05, 0x00, 0x01, 404c3b435bbSJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, 'r', 'R', 0x12, 0x12, 0x00, 0x01, 405c3b435bbSJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, 't', 'T', 0x14, 0x14, 0x00, 0x01, 406c3b435bbSJordan K. Hubbard /* sc=15 */ 'y', 'Y', 0x19, 0x19, 'y', 'Y', 0x19, 0x19, 0x00, 0x01, 407c3b435bbSJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, 'u', 'U', 0x15, 0x15, 0x00, 0x01, 408c3b435bbSJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, 'i', 'I', 0x09, 0x09, 0x00, 0x01, 409c3b435bbSJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, 'o', 'O', 0x0F, 0x0F, 0x00, 0x01, 410c3b435bbSJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, 'p', 'P', 0x10, 0x10, 0x00, 0x01, 4110573e739SSøren Schmidt /* sc=1a */ 0xE5, 0xC5, NOP, NOP, '}', ']', NOP, NOP, 0x33, 0x01, 4120573e739SSøren Schmidt /* sc=1b */ 0xA8, '^', NOP, NOP, '~', NOP, NOP, NOP, 0x37, 0x00, 413c3b435bbSJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, 0x0D, 0x0D, 0x0A, 0x0A, 0x00, 0x00, 414c3b435bbSJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 415c3b435bbSJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, 'a', 'A', 0x01, 0x01, 0x00, 0x01, 416c3b435bbSJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, 's', 'S', 0x13, 0x13, 0x00, 0x01, 417c3b435bbSJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, 'd', 'D', 0x04, 0x04, 0x00, 0x01, 418c3b435bbSJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, 'f', 'F', 0x06, 0x06, 0x00, 0x01, 419c3b435bbSJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, 'g', 'G', 0x07, 0x07, 0x00, 0x01, 420c3b435bbSJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, 'h', 'H', 0x08, 0x08, 0x00, 0x01, 421c3b435bbSJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, 'j', 'J', 0x0A, 0x0A, 0x00, 0x01, 422c3b435bbSJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, 'k', 'K', 0x0B, 0x0B, 0x00, 0x01, 423c3b435bbSJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, 'l', 'L', 0x0C, 0x0C, 0x00, 0x01, 4240573e739SSøren Schmidt /* sc=27 */ 0xF6, 0xD6, NOP, NOP, '|', '\\', NOP, NOP, 0x33, 0x01, 4250573e739SSøren Schmidt /* sc=28 */ 0xE4, 0xC4, NOP, NOP, '{', '[', NOP, NOP, 0x33, 0x01, 4260573e739SSøren Schmidt /* sc=29 */ 0xA7, 0xBD, NOP, NOP, '\\', '|', NOP, NOP, 0x33, 0x00, 427c3b435bbSJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 4280573e739SSøren Schmidt /* sc=2b */ '\'', '*', NOP, NOP, NOP, NOP, NOP, NOP, 0x3F, 0x00, 429c3b435bbSJordan K. Hubbard /* sc=2c */ 'z', 'Z', 0x1A, 0x1A, 'z', 'Z', 0x1A, 0x1A, 0x00, 0x01, 430c3b435bbSJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, 'x', 'X', 0x18, 0x18, 0x00, 0x01, 431c3b435bbSJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, 'c', 'C', 0x03, 0x03, 0x00, 0x01, 432c3b435bbSJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, 'v', 'V', 0x16, 0x16, 0x00, 0x01, 433c3b435bbSJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, 'b', 'B', 0x02, 0x02, 0x00, 0x01, 434c3b435bbSJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, 'n', 'N', 0x0E, 0x0E, 0x00, 0x01, 435c3b435bbSJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, 'm', 'M', 0x0D, 0x0D, 0x00, 0x01, 436c3b435bbSJordan K. Hubbard /* sc=33 */ ',', ';', NOP, NOP, NOP, '<', NOP, NOP, 0x3B, 0x00, 437c3b435bbSJordan K. Hubbard /* sc=34 */ '.', ':', NOP, NOP, NOP, '>', NOP, NOP, 0x3B, 0x00, 438c3b435bbSJordan K. Hubbard /* sc=35 */ '-', '_', 0x1F, NOP, '/', '?', NOP, NOP, 0x13, 0x00, 439c3b435bbSJordan K. Hubbard /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 440c3b435bbSJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, '*', '*', 0x0A, 0x0A, 0x33, 0x00, 441c3b435bbSJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 442c3b435bbSJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x00, 0x00, 443c3b435bbSJordan K. Hubbard /* sc=3a */ CLK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 444c3b435bbSJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 445c3b435bbSJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 446c3b435bbSJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 447c3b435bbSJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 448c3b435bbSJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 449c3b435bbSJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 450c3b435bbSJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 451c3b435bbSJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 452c3b435bbSJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 453c3b435bbSJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 454c3b435bbSJordan K. Hubbard /* sc=45 */ NLK, NLK, 0x13, 0x13, NLK, NLK, 0x13, 0x13, 0xCC, 0x00, 455c3b435bbSJordan K. Hubbard /* sc=46 */ SLK, SLK, 0x7F, 0x7F, SLK, SLK, 0x7F, 0x7F, 0xCC, 0x00, 456c3b435bbSJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', '7', '7', '7', '7', 0x80, 0x02, 457c3b435bbSJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', '8', '8', '8', '8', 0x80, 0x02, 458c3b435bbSJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02, 459c3b435bbSJordan K. Hubbard /* sc=4a */ F(52), '-', 0x1F, 0x1F, '-', '-', '-', '-', 0x80, 0x02, 460c3b435bbSJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02, 461c3b435bbSJordan K. Hubbard /* sc=4c */ F(54), '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02, 462c3b435bbSJordan K. Hubbard /* sc=4d */ F(55), '6', 0x1E, 0x1E, '6', '6', '6', '6', 0x80, 0x02, 463c3b435bbSJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02, 464c3b435bbSJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02, 465c3b435bbSJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02, 466c3b435bbSJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02, 467c3b435bbSJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02, 4688b2e5491SNate Williams /* sc=53 */ 0x7F, '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0x02, 0x02, 469c3b435bbSJordan K. Hubbard /* sc=54 */ 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x1F, 0x00, 0x00, 470c3b435bbSJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 4710573e739SSøren Schmidt /* sc=56 */ '<', '>', NOP, NOP, '|', NOP, NOP, NOP, 0x37, 0x00, 472c3b435bbSJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 473c3b435bbSJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 474c3b435bbSJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0xFF, 0x02, 475c3b435bbSJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 476c3b435bbSJordan K. Hubbard /* sc=5b */ '/', '/', '/', '/', '/', '/', '/', '/', 0x00, 0x02, 47733853f97SJordan K. Hubbard /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 478c3b435bbSJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 479c3b435bbSJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 480c3b435bbSJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 481c3b435bbSJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 482c3b435bbSJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 483c3b435bbSJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 484c3b435bbSJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 485c3b435bbSJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 486c3b435bbSJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 487c3b435bbSJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 4888b2e5491SNate Williams /* sc=67 */ F(54), F(54), F(54), F(54), F(54), F(54), RBT, F(54), 0xFF, 0x00, 489c3b435bbSJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 490c3b435bbSJordan K. Hubbard }; 491c3b435bbSJordan K. Hubbard #endif 492c3b435bbSJordan K. Hubbard 493c3b435bbSJordan K. Hubbard #ifdef RUKEYMAP 49402aa90d8SRodney W. Grimes keymap_t key_map = { 0xe9, /* keys number */ 495c3b435bbSJordan K. Hubbard /* alt 496c3b435bbSJordan K. Hubbard * scan cntrl alt alt cntrl 497c3b435bbSJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 498c3b435bbSJordan K. Hubbard * ------------------------------------------------------------------------------------------- 499c3b435bbSJordan K. Hubbard */ 500c3b435bbSJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 5012b1c7c76SAndrey A. Chernov /* sc=01 */ 0x1B, 0x1B, NOP, NOP, SET8|0x1B, SET8|0x1B, DBG, NOP, 0x33, 0x00, 50233853f97SJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, SET8|'1', SET8|'!', NOP, NOP, 0x33, 0x00, 50333853f97SJordan K. Hubbard /* sc=03 */ '2', '@', 0x00, 0x00, SET8|'2', SET8|'@', SET8|0x00, SET8|0x00, 0x00, 0x00, 50433853f97SJordan K. Hubbard /* sc=04 */ '3', '#', NOP, NOP, SET8|'3', SET8|'#', NOP, NOP, 0x33, 0x00, 50533853f97SJordan K. Hubbard /* sc=05 */ '4', '$', NOP, NOP, SET8|'4', SET8|'$', NOP, NOP, 0x33, 0x00, 50633853f97SJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, SET8|'5', SET8|'%', NOP, NOP, 0x33, 0x00, 50733853f97SJordan K. Hubbard /* sc=07 */ '6', '^', 0x1E, 0x1E, SET8|'6', SET8|'^', SET8|0x1E, SET8|0x1E, 0x00, 0x00, 50833853f97SJordan K. Hubbard /* sc=08 */ '7', '&', NOP, NOP, SET8|'7', SET8|'&', NOP, NOP, 0x33, 0x00, 50933853f97SJordan K. Hubbard /* sc=09 */ '8', '*', NOP, NOP, SET8|'8', SET8|'*', NOP, NOP, 0x33, 0x00, 51033853f97SJordan K. Hubbard /* sc=0a */ '9', '(', NOP, NOP, SET8|'9', SET8|'(', NOP, NOP, 0x33, 0x00, 51133853f97SJordan K. Hubbard /* sc=0b */ '0', ')', NOP, NOP, SET8|'0', SET8|')', NOP, NOP, 0x33, 0x00, 51233853f97SJordan K. Hubbard /* sc=0c */ '-', '_', 0x1F, 0x1F, SET8|'-', SET8|'_', SET8|0x1F, SET8|0x1F, 0x00, 0x00, 51333853f97SJordan K. Hubbard /* sc=0d */ '=', '+', NOP, NOP, SET8|'=', SET8|'+', NOP, NOP, 0x33, 0x00, 51433853f97SJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, SET8|0x08, SET8|0x08, SET8|0x7F, SET8|0x7F, 0x00, 0x00, 51533853f97SJordan K. Hubbard /* sc=0f */ 0x09, F(16), NOP, NOP, SET8|0x09, F(16), NOP, NOP, 0x77, 0x00, 51633853f97SJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, SET8|'q', SET8|'Q', SET8|0x11, SET8|0x11, 0x00, 0x01, 51733853f97SJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, SET8|'w', SET8|'W', SET8|0x17, SET8|0x17, 0x00, 0x01, 51833853f97SJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, SET8|'e', SET8|'E', SET8|0x05, SET8|0x05, 0x00, 0x01, 51933853f97SJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, SET8|'r', SET8|'R', SET8|0x12, SET8|0x12, 0x00, 0x01, 52033853f97SJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, SET8|'t', SET8|'T', SET8|0x14, SET8|0x14, 0x00, 0x01, 52133853f97SJordan K. Hubbard /* sc=15 */ 'y', 'Y', 0x19, 0x19, SET8|'y', SET8|'Y', SET8|0x19, SET8|0x19, 0x00, 0x01, 52233853f97SJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, SET8|'u', SET8|'U', SET8|0x15, SET8|0x15, 0x00, 0x01, 52333853f97SJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, SET8|'i', SET8|'I', SET8|0x09, SET8|0x09, 0x00, 0x01, 52433853f97SJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, SET8|'o', SET8|'O', SET8|0x0F, SET8|0x0F, 0x00, 0x01, 52533853f97SJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, SET8|'p', SET8|'P', SET8|0x10, SET8|0x10, 0x00, 0x01, 52633853f97SJordan K. Hubbard /* sc=1a */ '[', '{', 0x1B, 0x1B, SET8|'[', SET8|'{', SET8|0x1B, SET8|0x1B, 0x00, 0x00, 52733853f97SJordan K. Hubbard /* sc=1b */ ']', '}', 0x1D, 0x1D, SET8|']', SET8|'}', SET8|0x1D, SET8|0x1D, 0x00, 0x00, 52833853f97SJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, SET8|0x0D, SET8|0x0D, SET8|0x0A, SET8|0x0A, 0x00, 0x00, 529c3b435bbSJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 53033853f97SJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, SET8|'a', SET8|'A', SET8|0x01, SET8|0x01, 0x00, 0x01, 53133853f97SJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, SET8|'s', SET8|'S', SET8|0x13, SET8|0x13, 0x00, 0x01, 53233853f97SJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, SET8|'d', SET8|'D', SET8|0x04, SET8|0x04, 0x00, 0x01, 53333853f97SJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, SET8|'f', SET8|'F', SET8|0x06, SET8|0x06, 0x00, 0x01, 53433853f97SJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, SET8|'g', SET8|'G', SET8|0x07, SET8|0x07, 0x00, 0x01, 53533853f97SJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, SET8|'h', SET8|'H', SET8|0x08, SET8|0x08, 0x00, 0x01, 53633853f97SJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, SET8|'j', SET8|'J', SET8|0x0A, SET8|0x0A, 0x00, 0x01, 53733853f97SJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, SET8|'k', SET8|'K', SET8|0x0B, SET8|0x0B, 0x00, 0x01, 53833853f97SJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, SET8|'l', SET8|'L', SET8|0x0C, SET8|0x0C, 0x00, 0x01, 53933853f97SJordan K. Hubbard /* sc=27 */ ';', ':', NOP, NOP, SET8|';', SET8|':', NOP, NOP, 0x33, 0x00, 54033853f97SJordan K. Hubbard /* sc=28 */ '\'', '"', NOP, NOP, SET8|'\'', SET8|'"', NOP, NOP, 0x33, 0x00, 54133853f97SJordan K. Hubbard /* sc=29 */ '`', '~', NOP, NOP, SET8|'`', SET8|'~', NOP, NOP, 0x33, 0x00, 542c3b435bbSJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 54333853f97SJordan K. Hubbard /* sc=2b */ '\\', '|', 0x1C, 0x1C, SET8|'\\', SET8|'|', SET8|0x1C, SET8|0x1C, 0x00, 0x00, 54433853f97SJordan K. Hubbard /* sc=2c */ 'z', 'Z', 0x1A, 0x1A, SET8|'z', SET8|'Z', SET8|0x1A, SET8|0x1A, 0x00, 0x01, 54533853f97SJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, SET8|'x', SET8|'X', SET8|0x18, SET8|0x18, 0x00, 0x01, 54633853f97SJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, SET8|'c', SET8|'C', SET8|0x03, SET8|0x03, 0x00, 0x01, 54733853f97SJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, SET8|'v', SET8|'V', SET8|0x16, SET8|0x16, 0x00, 0x01, 54833853f97SJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, SET8|'b', SET8|'B', SET8|0x02, SET8|0x02, 0x00, 0x01, 54933853f97SJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, SET8|'n', SET8|'N', SET8|0x0E, SET8|0x0E, 0x00, 0x01, 55033853f97SJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, SET8|'m', SET8|'M', SET8|0x0D, SET8|0x0D, 0x00, 0x01, 55133853f97SJordan K. Hubbard /* sc=33 */ ',', '<', NOP, NOP, SET8|',', SET8|'<', NOP, NOP, 0x33, 0x00, 55233853f97SJordan K. Hubbard /* sc=34 */ '.', '>', NOP, NOP, SET8|'.', SET8|'>', NOP, NOP, 0x33, 0x00, 55333853f97SJordan K. Hubbard /* sc=35 */ '/', '?', NOP, NOP, SET8|'/', SET8|'?', NOP, NOP, 0x33, 0x00, 554ebbb1869SAndrey A. Chernov /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 55533853f97SJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, SET8|'*', SET8|'*', SET8|0x0A, SET8|0x0A, 0x00, 0x00, 556c3b435bbSJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 55733853f97SJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', SET8|' ', SET8|' ', SET8|' ', SET8|' ', 0x00, 0x00, 558c3b435bbSJordan K. Hubbard /* sc=3a */ ALK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 559c3b435bbSJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 560c3b435bbSJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 561c3b435bbSJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 562c3b435bbSJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 563c3b435bbSJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 564c3b435bbSJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 565c3b435bbSJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 566c3b435bbSJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 567c3b435bbSJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 568c3b435bbSJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 569c3b435bbSJordan K. Hubbard /* sc=45 */ NLK, NLK, NLK, NLK, NLK, NLK, NLK, NLK, 0xFF, 0x00, 570c3b435bbSJordan K. Hubbard /* sc=46 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 57133853f97SJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', SET8|'7', SET8|'7', SET8|'7', SET8|'7', 0x80, 0x02, 57233853f97SJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', SET8|'8', SET8|'8', SET8|'8', SET8|'8', 0x80, 0x02, 57333853f97SJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', SET8|'9', SET8|'9', SET8|'9', SET8|'9', 0x80, 0x02, 57433853f97SJordan K. Hubbard /* sc=4a */ F(52), '-', '-', '-', SET8|'-', SET8|'-', SET8|'-', SET8|'-', 0x80, 0x02, 57533853f97SJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', SET8|'4', SET8|'4', SET8|'4', SET8|'4', 0x80, 0x02, 57633853f97SJordan K. Hubbard /* sc=4c */ F(48), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02, 57733853f97SJordan K. Hubbard /* sc=4d */ F(55), '6', '6', '6', SET8|'6', SET8|'6', SET8|'6', SET8|'6', 0x80, 0x02, 57833853f97SJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', SET8|'+', SET8|'+', SET8|'+', SET8|'+', 0x80, 0x02, 57933853f97SJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', SET8|'1', SET8|'1', SET8|'1', SET8|'1', 0x80, 0x02, 58033853f97SJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', SET8|'2', SET8|'2', SET8|'2', SET8|'2', 0x80, 0x02, 58133853f97SJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', SET8|'3', SET8|'3', SET8|'3', SET8|'3', 0x80, 0x02, 58233853f97SJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', SET8|'0', SET8|'0', SET8|'0', SET8|'0', 0x80, 0x02, 583354c7332SDavid Greenman /* sc=53 */ F(54), '.', 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, RBT, 0x83, 0x02, 584c3b435bbSJordan K. Hubbard /* sc=54 */ ALK, ALK, ALK, ALK, ALK, ALK, ALK, ALK, 0xFF, 0x00, 585c3b435bbSJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 586c3b435bbSJordan K. Hubbard /* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 587c3b435bbSJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 588c3b435bbSJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 58933853f97SJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0A, 0x0A, SET8|0x0D, SET8|0x0D, SET8|0x0A, SET8|0x0A, 0x00, 0x00, 590c3b435bbSJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 59133853f97SJordan K. Hubbard /* sc=5b */ '/', '/', NOP, NOP, SET8|'/', SET8|'/', NOP, NOP, 0x33, 0x00, 592ebbb1869SAndrey A. Chernov /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 593c3b435bbSJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 594c3b435bbSJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 595c3b435bbSJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 596c3b435bbSJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 597c3b435bbSJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 598c3b435bbSJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 599c3b435bbSJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 600c3b435bbSJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 601c3b435bbSJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 602c3b435bbSJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 603ebbb1869SAndrey A. Chernov /* sc=67 */ F(54), F(54), 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0xC2, 0x00, 604c3b435bbSJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 605c3b435bbSJordan K. Hubbard /* sc=69 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 606c3b435bbSJordan K. Hubbard /* sc=6a */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 607c3b435bbSJordan K. Hubbard /* sc=6b */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 608c3b435bbSJordan K. Hubbard /* sc=6c */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 609c3b435bbSJordan K. Hubbard /* sc=6d */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 610c3b435bbSJordan K. Hubbard /* sc=6e */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 611c3b435bbSJordan K. Hubbard /* sc=6f */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 612c3b435bbSJordan K. Hubbard /* sc=70 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 613c3b435bbSJordan K. Hubbard /* sc=71 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 614c3b435bbSJordan K. Hubbard /* sc=72 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 615c3b435bbSJordan K. Hubbard /* sc=73 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 616c3b435bbSJordan K. Hubbard /* sc=74 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 617c3b435bbSJordan K. Hubbard /* sc=75 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 618c3b435bbSJordan K. Hubbard /* sc=76 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 619c3b435bbSJordan K. Hubbard /* sc=77 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 620c3b435bbSJordan K. Hubbard /* sc=78 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 621c3b435bbSJordan K. Hubbard /* sc=79 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 622c3b435bbSJordan K. Hubbard /* sc=7a */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 623c3b435bbSJordan K. Hubbard /* sc=7b */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 624c3b435bbSJordan K. Hubbard /* sc=7c */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 625c3b435bbSJordan K. Hubbard /* sc=7d */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 626c3b435bbSJordan K. Hubbard /* sc=7e */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 627c3b435bbSJordan K. Hubbard /* sc=7f */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 628c3b435bbSJordan K. Hubbard /* extended (ALTGR LOCK keys) */ 629c3b435bbSJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 6302b1c7c76SAndrey A. Chernov /* sc=01 */ 0x1B, 0x1B, NOP, NOP, SET8|0x1B, SET8|0x1B, DBG, NOP, 0x33, 0x00, 63133853f97SJordan K. Hubbard /* sc=02 */ '!', '1', NOP, NOP, SET8|'1', SET8|'!', NOP, NOP, 0x33, 0x00, 63233853f97SJordan K. Hubbard /* sc=03 */ '"', '2', 0x00, 0x00, SET8|'2', SET8|'@', SET8|0x00, SET8|0x00, 0x00, 0x00, 63333853f97SJordan K. Hubbard /* sc=04 */ '\'', '3', NOP, NOP, SET8|'3', SET8|'#', NOP, NOP, 0x33, 0x00, 63433853f97SJordan K. Hubbard /* sc=05 */ ';', '4', NOP, NOP, SET8|'4', SET8|'$', NOP, NOP, 0x33, 0x00, 63533853f97SJordan K. Hubbard /* sc=06 */ ':', '5', NOP, NOP, SET8|'5', SET8|'%', NOP, NOP, 0x33, 0x00, 63633853f97SJordan K. Hubbard /* sc=07 */ ',', '6', 0x1E, 0x1E, SET8|'6', SET8|'^', SET8|0x1E, SET8|0x1E, 0x00, 0x00, 63733853f97SJordan K. Hubbard /* sc=08 */ '.', '7', NOP, NOP, SET8|'7', SET8|'&', NOP, NOP, 0x33, 0x00, 63833853f97SJordan K. Hubbard /* sc=09 */ '*', '8', NOP, NOP, SET8|'8', SET8|'*', NOP, NOP, 0x33, 0x00, 63933853f97SJordan K. Hubbard /* sc=0a */ '(', '9', NOP, NOP, SET8|'9', SET8|'(', NOP, NOP, 0x33, 0x00, 64033853f97SJordan K. Hubbard /* sc=0b */ ')', '0', NOP, NOP, SET8|'0', SET8|')', NOP, NOP, 0x33, 0x00, 641ebbb1869SAndrey A. Chernov /* sc=0c */ '-', '_', 0x1F, 0x1F, SET8|'-', SET8|'_', SET8|0x1F, SET8|0x1F, 0x00, 0x00, 642ebbb1869SAndrey A. Chernov /* sc=0d */ '=', '+', NOP, NOP, SET8|'=', SET8|'+', NOP, NOP, 0x33, 0x00, 64333853f97SJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, SET8|0x08, SET8|0x08, SET8|0x7F, SET8|0x7F, 0x00, 0x00, 64433853f97SJordan K. Hubbard /* sc=0f */ 0x09, F(16), NOP, NOP, SET8|0x09, F(16), NOP, NOP, 0x77, 0x00, 64533853f97SJordan K. Hubbard /* sc=10 */ 0xca, 0xea, 0x11, 0x11, SET8|'q', SET8|'Q', SET8|0x11, SET8|0x11, 0x00, 0x01, 64633853f97SJordan K. Hubbard /* sc=11 */ 0xc3, 0xe3, 0x17, 0x17, SET8|'w', SET8|'W', SET8|0x17, SET8|0x17, 0x00, 0x01, 64733853f97SJordan K. Hubbard /* sc=12 */ 0xd5, 0xf5, 0x05, 0x05, SET8|'e', SET8|'E', SET8|0x05, SET8|0x05, 0x00, 0x01, 64833853f97SJordan K. Hubbard /* sc=13 */ 0xcb, 0xeb, 0x12, 0x12, SET8|'r', SET8|'R', SET8|0x12, SET8|0x12, 0x00, 0x01, 64933853f97SJordan K. Hubbard /* sc=14 */ 0xc5, 0xe5, 0x14, 0x14, SET8|'t', SET8|'T', SET8|0x14, SET8|0x14, 0x00, 0x01, 65033853f97SJordan K. Hubbard /* sc=15 */ 0xce, 0xee, 0x19, 0x19, SET8|'y', SET8|'Y', SET8|0x19, SET8|0x19, 0x00, 0x01, 65133853f97SJordan K. Hubbard /* sc=16 */ 0xc7, 0xe7, 0x15, 0x15, SET8|'u', SET8|'U', SET8|0x15, SET8|0x15, 0x00, 0x01, 65233853f97SJordan K. Hubbard /* sc=17 */ 0xdb, 0xfb, 0x09, 0x09, SET8|'i', SET8|'I', SET8|0x09, SET8|0x09, 0x00, 0x01, 65333853f97SJordan K. Hubbard /* sc=18 */ 0xdd, 0xfd, 0x0F, 0x0F, SET8|'o', SET8|'O', SET8|0x0F, SET8|0x0F, 0x00, 0x01, 65433853f97SJordan K. Hubbard /* sc=19 */ 0xda, 0xfa, 0x10, 0x10, SET8|'p', SET8|'P', SET8|0x10, SET8|0x10, 0x00, 0x01, 65533853f97SJordan K. Hubbard /* sc=1a */ 0xc8, 0xe8, 0x1B, 0x1B, SET8|'[', SET8|'{', SET8|0x1B, SET8|0x1B, 0x00, 0x01, 65633853f97SJordan K. Hubbard /* sc=1b */ 0xdf, 0xff, 0x1D, 0x1D, SET8|']', SET8|'}', SET8|0x1D, SET8|0x1D, 0x00, 0x01, 65733853f97SJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, SET8|0x0D, SET8|0x0D, SET8|0x0A, SET8|0x0A, 0x00, 0x00, 658c3b435bbSJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 65933853f97SJordan K. Hubbard /* sc=1e */ 0xc6, 0xe6, 0x01, 0x01, SET8|'a', SET8|'A', SET8|0x01, SET8|0x01, 0x00, 0x01, 66033853f97SJordan K. Hubbard /* sc=1f */ 0xd9, 0xf9, 0x13, 0x13, SET8|'s', SET8|'S', SET8|0x13, SET8|0x13, 0x00, 0x01, 66133853f97SJordan K. Hubbard /* sc=20 */ 0xd7, 0xf7, 0x04, 0x04, SET8|'d', SET8|'D', SET8|0x04, SET8|0x04, 0x00, 0x01, 66233853f97SJordan K. Hubbard /* sc=21 */ 0xc1, 0xe1, 0x06, 0x06, SET8|'f', SET8|'F', SET8|0x06, SET8|0x06, 0x00, 0x01, 66333853f97SJordan K. Hubbard /* sc=22 */ 0xd0, 0xf0, 0x07, 0x07, SET8|'g', SET8|'G', SET8|0x07, SET8|0x07, 0x00, 0x01, 66433853f97SJordan K. Hubbard /* sc=23 */ 0xd2, 0xf2, 0x08, 0x08, SET8|'h', SET8|'H', SET8|0x08, SET8|0x08, 0x00, 0x01, 66533853f97SJordan K. Hubbard /* sc=24 */ 0xcf, 0xef, 0x0A, 0x0A, SET8|'j', SET8|'J', SET8|0x0A, SET8|0x0A, 0x00, 0x01, 66633853f97SJordan K. Hubbard /* sc=25 */ 0xcc, 0xec, 0x0B, 0x0B, SET8|'k', SET8|'K', SET8|0x0B, SET8|0x0B, 0x00, 0x01, 66733853f97SJordan K. Hubbard /* sc=26 */ 0xc4, 0xe4, 0x0C, 0x0C, SET8|'l', SET8|'L', SET8|0x0C, SET8|0x0C, 0x00, 0x01, 66833853f97SJordan K. Hubbard /* sc=27 */ 0xd6, 0xf6, NOP, NOP, SET8|';', SET8|':', NOP, NOP, 0x33, 0x01, 66933853f97SJordan K. Hubbard /* sc=28 */ 0xdc, 0xfc, NOP, NOP, SET8|'\'', SET8|'"', NOP, NOP, 0x33, 0x01, 67033853f97SJordan K. Hubbard /* sc=29 */ 0xa3, 0xb3, NOP, NOP, SET8|'`', SET8|'~', NOP, NOP, 0x33, 0x01, 671c3b435bbSJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 67233853f97SJordan K. Hubbard /* sc=2b */ '\\', '|', 0x1C, 0x1C, SET8|'\\', SET8|'|', SET8|0x1C, SET8|0x1C, 0x00, 0x00, 67333853f97SJordan K. Hubbard /* sc=2c */ 0xd1, 0xf1, 0x1A, 0x1A, SET8|'z', SET8|'Z', SET8|0x1A, SET8|0x1A, 0x00, 0x01, 67433853f97SJordan K. Hubbard /* sc=2d */ 0xde, 0xfe, 0x18, 0x18, SET8|'x', SET8|'X', SET8|0x18, SET8|0x18, 0x00, 0x01, 67533853f97SJordan K. Hubbard /* sc=2e */ 0xd3, 0xf3, 0x03, 0x03, SET8|'c', SET8|'C', SET8|0x03, SET8|0x03, 0x00, 0x01, 67633853f97SJordan K. Hubbard /* sc=2f */ 0xcd, 0xed, 0x16, 0x16, SET8|'v', SET8|'V', SET8|0x16, SET8|0x16, 0x00, 0x01, 67733853f97SJordan K. Hubbard /* sc=30 */ 0xc9, 0xe9, 0x02, 0x02, SET8|'b', SET8|'B', SET8|0x02, SET8|0x02, 0x00, 0x01, 67833853f97SJordan K. Hubbard /* sc=31 */ 0xd4, 0xf4, 0x0E, 0x0E, SET8|'n', SET8|'N', SET8|0x0E, SET8|0x0E, 0x00, 0x01, 67933853f97SJordan K. Hubbard /* sc=32 */ 0xd8, 0xf8, 0x0D, 0x0D, SET8|'m', SET8|'M', SET8|0x0D, SET8|0x0D, 0x00, 0x01, 68033853f97SJordan K. Hubbard /* sc=33 */ 0xc2, 0xe2, NOP, NOP, SET8|',', SET8|'<', NOP, NOP, 0x33, 0x01, 68133853f97SJordan K. Hubbard /* sc=34 */ 0xc0, 0xe0, NOP, NOP, SET8|'.', SET8|'>', NOP, NOP, 0x33, 0x01, 68233853f97SJordan K. Hubbard /* sc=35 */ '/', '?', NOP, NOP, SET8|'/', SET8|'?', NOP, NOP, 0x33, 0x00, 683ebbb1869SAndrey A. Chernov /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 68433853f97SJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, SET8|'*', SET8|'*', SET8|0x0A, SET8|0x0A, 0x00, 0x00, 685c3b435bbSJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 68633853f97SJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', SET8|' ', SET8|' ', SET8|' ', SET8|' ', 0x00, 0x00, 687c3b435bbSJordan K. Hubbard /* sc=3a */ ALK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 688c3b435bbSJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 689c3b435bbSJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 690c3b435bbSJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 691c3b435bbSJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 692c3b435bbSJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 693c3b435bbSJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 694c3b435bbSJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 695c3b435bbSJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 696c3b435bbSJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 697c3b435bbSJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 698c3b435bbSJordan K. Hubbard /* sc=45 */ NLK, NLK, NLK, NLK, NLK, NLK, NLK, NLK, 0xFF, 0x00, 699c3b435bbSJordan K. Hubbard /* sc=46 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 70033853f97SJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', SET8|'7', SET8|'7', SET8|'7', SET8|'7', 0x80, 0x02, 70133853f97SJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', SET8|'8', SET8|'8', SET8|'8', SET8|'8', 0x80, 0x02, 70233853f97SJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', SET8|'9', SET8|'9', SET8|'9', SET8|'9', 0x80, 0x02, 70333853f97SJordan K. Hubbard /* sc=4a */ F(52), '-', '-', '-', SET8|'-', SET8|'-', SET8|'-', SET8|'-', 0x80, 0x02, 70433853f97SJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', SET8|'4', SET8|'4', SET8|'4', SET8|'4', 0x80, 0x02, 70533853f97SJordan K. Hubbard /* sc=4c */ F(48), '5', '5', '5', SET8|'5', SET8|'5', SET8|'5', SET8|'5', 0x80, 0x02, 70633853f97SJordan K. Hubbard /* sc=4d */ F(55), '6', '6', '6', SET8|'6', SET8|'6', SET8|'6', SET8|'6', 0x80, 0x02, 70733853f97SJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', SET8|'+', SET8|'+', SET8|'+', SET8|'+', 0x80, 0x02, 70833853f97SJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', SET8|'1', SET8|'1', SET8|'1', SET8|'1', 0x80, 0x02, 70933853f97SJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', SET8|'2', SET8|'2', SET8|'2', SET8|'2', 0x80, 0x02, 71033853f97SJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', SET8|'3', SET8|'3', SET8|'3', SET8|'3', 0x80, 0x02, 71133853f97SJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', SET8|'0', SET8|'0', SET8|'0', SET8|'0', 0x80, 0x02, 712354c7332SDavid Greenman /* sc=53 */ F(54), '.', 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, RBT, 0x83, 0x02, 713c3b435bbSJordan K. Hubbard /* sc=54 */ ALK, ALK, ALK, ALK, ALK, ALK, ALK, ALK, 0xFF, 0x00, 714c3b435bbSJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 715c3b435bbSJordan K. Hubbard /* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 716c3b435bbSJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 717c3b435bbSJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 71833853f97SJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0A, 0x0A, SET8|0x0D, SET8|0x0D, SET8|0x0A, SET8|0x0A, 0x00, 0x00, 719c3b435bbSJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 72033853f97SJordan K. Hubbard /* sc=5b */ '/', '/', NOP, NOP, SET8|'/', SET8|'/', NOP, NOP, 0x33, 0x00, 721ebbb1869SAndrey A. Chernov /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 722c3b435bbSJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 723c3b435bbSJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 724c3b435bbSJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 725c3b435bbSJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 726c3b435bbSJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 727c3b435bbSJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 728c3b435bbSJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 729c3b435bbSJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 730c3b435bbSJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 731c3b435bbSJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 732ebbb1869SAndrey A. Chernov /* sc=67 */ F(54), F(54), 0x7F, 0x7F, SET8|0x7F, SET8|0x7F, RBT, SET8|0x7F, 0xC2, 0x00, 733c3b435bbSJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 734c3b435bbSJordan K. Hubbard }; 735c3b435bbSJordan K. Hubbard 736c3b435bbSJordan K. Hubbard #endif 737c3b435bbSJordan K. Hubbard 738c3b435bbSJordan K. Hubbard #if !defined(DKKEYMAP) && !defined(UKKEYMAP) && !defined(GRKEYMAP) && !defined(SWKEYMAP) && !defined(RUKEYMAP) 739c3b435bbSJordan K. Hubbard keymap_t key_map = { 0x69, /* US iso8859 keymap */ 740916347f7SJordan K. Hubbard /* alt 741916347f7SJordan K. Hubbard * scan cntrl alt alt cntrl 742916347f7SJordan K. Hubbard * code base shift cntrl shift alt shift cntrl shift spcl flgs 743916347f7SJordan K. Hubbard * --------------------------------------------------------------------------- 744916347f7SJordan K. Hubbard */ 745916347f7SJordan K. Hubbard /* sc=00 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 7468b2e5491SNate Williams /* sc=01 */ 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, 0x1B, DBG, 0x1B, 0x02, 0x00, 747916347f7SJordan K. Hubbard /* sc=02 */ '1', '!', NOP, NOP, '1', '!', NOP, NOP, 0x33, 0x00, 748916347f7SJordan K. Hubbard /* sc=03 */ '2', '@', 0x00, 0x00, '2', '@', 0x00, 0x00, 0x00, 0x00, 749916347f7SJordan K. Hubbard /* sc=04 */ '3', '#', NOP, NOP, '3', '#', NOP, NOP, 0x33, 0x00, 750916347f7SJordan K. Hubbard /* sc=05 */ '4', '$', NOP, NOP, '4', '$', NOP, NOP, 0x33, 0x00, 751916347f7SJordan K. Hubbard /* sc=06 */ '5', '%', NOP, NOP, '5', '%', NOP, NOP, 0x33, 0x00, 752916347f7SJordan K. Hubbard /* sc=07 */ '6', '^', 0x1E, 0x1E, '6', '^', 0x1E, 0x1E, 0x00, 0x00, 753916347f7SJordan K. Hubbard /* sc=08 */ '7', '&', NOP, NOP, '7', '&', NOP, NOP, 0x33, 0x00, 754916347f7SJordan K. Hubbard /* sc=09 */ '8', '*', NOP, NOP, '8', '*', NOP, NOP, 0x33, 0x00, 755916347f7SJordan K. Hubbard /* sc=0a */ '9', '(', NOP, NOP, '9', '(', NOP, NOP, 0x33, 0x00, 756916347f7SJordan K. Hubbard /* sc=0b */ '0', ')', NOP, NOP, '0', ')', NOP, NOP, 0x33, 0x00, 757916347f7SJordan K. Hubbard /* sc=0c */ '-', '_', 0x1F, 0x1F, '-', '_', 0x1F, 0x1F, 0x00, 0x00, 758916347f7SJordan K. Hubbard /* sc=0d */ '=', '+', NOP, NOP, '=', '+', NOP, NOP, 0x33, 0x00, 759916347f7SJordan K. Hubbard /* sc=0e */ 0x08, 0x08, 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x00, 0x00, 760916347f7SJordan K. Hubbard /* sc=0f */ 0x09, 0x08, NOP, NOP, 0x09, 0x08, NOP, NOP, 0x33, 0x00, 761916347f7SJordan K. Hubbard /* sc=10 */ 'q', 'Q', 0x11, 0x11, 'q', 'Q', 0x11, 0x11, 0x00, 0x01, 762916347f7SJordan K. Hubbard /* sc=11 */ 'w', 'W', 0x17, 0x17, 'w', 'W', 0x17, 0x17, 0x00, 0x01, 763916347f7SJordan K. Hubbard /* sc=12 */ 'e', 'E', 0x05, 0x05, 'e', 'E', 0x05, 0x05, 0x00, 0x01, 764916347f7SJordan K. Hubbard /* sc=13 */ 'r', 'R', 0x12, 0x12, 'r', 'R', 0x12, 0x12, 0x00, 0x01, 765916347f7SJordan K. Hubbard /* sc=14 */ 't', 'T', 0x14, 0x14, 't', 'T', 0x14, 0x14, 0x00, 0x01, 766916347f7SJordan K. Hubbard /* sc=15 */ 'y', 'Y', 0x19, 0x19, 'y', 'Y', 0x19, 0x19, 0x00, 0x01, 767916347f7SJordan K. Hubbard /* sc=16 */ 'u', 'U', 0x15, 0x15, 'u', 'U', 0x15, 0x15, 0x00, 0x01, 768916347f7SJordan K. Hubbard /* sc=17 */ 'i', 'I', 0x09, 0x09, 'i', 'I', 0x09, 0x09, 0x00, 0x01, 769916347f7SJordan K. Hubbard /* sc=18 */ 'o', 'O', 0x0F, 0x0F, 'o', 'O', 0x0F, 0x0F, 0x00, 0x01, 770916347f7SJordan K. Hubbard /* sc=19 */ 'p', 'P', 0x10, 0x10, 'p', 'P', 0x10, 0x10, 0x00, 0x01, 771916347f7SJordan K. Hubbard /* sc=1a */ '[', '{', 0x1B, 0x1B, '[', '{', 0x1B, 0x1B, 0x00, 0x00, 772916347f7SJordan K. Hubbard /* sc=1b */ ']', '}', 0x1D, 0x1D, ']', '}', 0x1D, 0x1D, 0x00, 0x00, 773916347f7SJordan K. Hubbard /* sc=1c */ 0x0D, 0x0D, 0x0A, 0x0A, 0x0D, 0x0D, 0x0A, 0x0A, 0x00, 0x00, 774916347f7SJordan K. Hubbard /* sc=1d */ LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, LCTR, 0xFF, 0x00, 775916347f7SJordan K. Hubbard /* sc=1e */ 'a', 'A', 0x01, 0x01, 'a', 'A', 0x01, 0x01, 0x00, 0x01, 776916347f7SJordan K. Hubbard /* sc=1f */ 's', 'S', 0x13, 0x13, 's', 'S', 0x13, 0x13, 0x00, 0x01, 777916347f7SJordan K. Hubbard /* sc=20 */ 'd', 'D', 0x04, 0x04, 'd', 'D', 0x04, 0x04, 0x00, 0x01, 778916347f7SJordan K. Hubbard /* sc=21 */ 'f', 'F', 0x06, 0x06, 'f', 'F', 0x06, 0x06, 0x00, 0x01, 779916347f7SJordan K. Hubbard /* sc=22 */ 'g', 'G', 0x07, 0x07, 'g', 'G', 0x07, 0x07, 0x00, 0x01, 780916347f7SJordan K. Hubbard /* sc=23 */ 'h', 'H', 0x08, 0x08, 'h', 'H', 0x08, 0x08, 0x00, 0x01, 781916347f7SJordan K. Hubbard /* sc=24 */ 'j', 'J', 0x0A, 0x0A, 'j', 'J', 0x0A, 0x0A, 0x00, 0x01, 782916347f7SJordan K. Hubbard /* sc=25 */ 'k', 'K', 0x0B, 0x0B, 'k', 'K', 0x0B, 0x0B, 0x00, 0x01, 783916347f7SJordan K. Hubbard /* sc=26 */ 'l', 'L', 0x0C, 0x0C, 'l', 'L', 0x0C, 0x0C, 0x00, 0x01, 784916347f7SJordan K. Hubbard /* sc=27 */ ';', ':', NOP, NOP, ';', ':', NOP, NOP, 0x33, 0x00, 785916347f7SJordan K. Hubbard /* sc=28 */ '\'', '"', NOP, NOP, '\'', '"', NOP, NOP, 0x33, 0x00, 786916347f7SJordan K. Hubbard /* sc=29 */ '`', '~', NOP, NOP, '`', '~', NOP, NOP, 0x33, 0x00, 787916347f7SJordan K. Hubbard /* sc=2a */ LSH, LSH, LSH, LSH, LSH, LSH, LSH, LSH, 0xFF, 0x00, 788916347f7SJordan K. Hubbard /* sc=2b */ '\\', '|', 0x1C, 0x1C, '\\', '|', 0x1C, 0x1C, 0x00, 0x00, 789916347f7SJordan K. Hubbard /* sc=2c */ 'z', 'Z', 0x1A, 0x1A, 'z', 'Z', 0x1A, 0x1A, 0x00, 0x01, 790916347f7SJordan K. Hubbard /* sc=2d */ 'x', 'X', 0x18, 0x18, 'x', 'X', 0x18, 0x18, 0x00, 0x01, 791916347f7SJordan K. Hubbard /* sc=2e */ 'c', 'C', 0x03, 0x03, 'c', 'C', 0x03, 0x03, 0x00, 0x01, 792916347f7SJordan K. Hubbard /* sc=2f */ 'v', 'V', 0x16, 0x16, 'v', 'V', 0x16, 0x16, 0x00, 0x01, 793916347f7SJordan K. Hubbard /* sc=30 */ 'b', 'B', 0x02, 0x02, 'b', 'B', 0x02, 0x02, 0x00, 0x01, 794916347f7SJordan K. Hubbard /* sc=31 */ 'n', 'N', 0x0E, 0x0E, 'n', 'N', 0x0E, 0x0E, 0x00, 0x01, 795916347f7SJordan K. Hubbard /* sc=32 */ 'm', 'M', 0x0D, 0x0D, 'm', 'M', 0x0D, 0x0D, 0x00, 0x01, 796916347f7SJordan K. Hubbard /* sc=33 */ ',', '<', NOP, NOP, ',', '<', NOP, NOP, 0x33, 0x00, 797916347f7SJordan K. Hubbard /* sc=34 */ '.', '>', NOP, NOP, '.', '>', NOP, NOP, 0x33, 0x00, 798916347f7SJordan K. Hubbard /* sc=35 */ '/', '?', NOP, NOP, '/', '?', NOP, NOP, 0x33, 0x00, 799916347f7SJordan K. Hubbard /* sc=36 */ RSH, RSH, RSH, RSH, RSH, RSH, RSH, RSH, 0xFF, 0x00, 800916347f7SJordan K. Hubbard /* sc=37 */ '*', '*', 0x0A, 0x0A, '*', '*', 0x0A, 0x0A, 0x33, 0x00, 801916347f7SJordan K. Hubbard /* sc=38 */ LALT, LALT, LALT, LALT, LALT, LALT, LALT, LALT, 0xFF, 0x00, 802916347f7SJordan K. Hubbard /* sc=39 */ ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', 0x00, 0x00, 803916347f7SJordan K. Hubbard /* sc=3a */ CLK, CLK, CLK, CLK, CLK, CLK, CLK, CLK, 0xFF, 0x00, 804916347f7SJordan K. Hubbard /* sc=3b */ F( 1), F(13), F(25), F(37), S( 1), S(11), S( 1), S(11), 0xFF, 0x00, 805916347f7SJordan K. Hubbard /* sc=3c */ F( 2), F(14), F(26), F(38), S( 2), S(12), S( 2), S(12), 0xFF, 0x00, 806916347f7SJordan K. Hubbard /* sc=3d */ F( 3), F(15), F(27), F(39), S( 3), S(13), S( 3), S(13), 0xFF, 0x00, 807916347f7SJordan K. Hubbard /* sc=3e */ F( 4), F(16), F(28), F(40), S( 4), S(14), S( 4), S(14), 0xFF, 0x00, 808916347f7SJordan K. Hubbard /* sc=3f */ F( 5), F(17), F(29), F(41), S( 5), S(15), S( 5), S(15), 0xFF, 0x00, 809916347f7SJordan K. Hubbard /* sc=40 */ F( 6), F(18), F(30), F(42), S( 6), S(16), S( 6), S(16), 0xFF, 0x00, 810916347f7SJordan K. Hubbard /* sc=41 */ F( 7), F(19), F(31), F(43), S( 7), S( 7), S( 7), S( 7), 0xFF, 0x00, 811916347f7SJordan K. Hubbard /* sc=42 */ F( 8), F(20), F(32), F(44), S( 8), S( 8), S( 8), S( 8), 0xFF, 0x00, 812916347f7SJordan K. Hubbard /* sc=43 */ F( 9), F(21), F(33), F(45), S( 9), S( 9), S( 9), S( 9), 0xFF, 0x00, 813916347f7SJordan K. Hubbard /* sc=44 */ F(10), F(22), F(34), F(46), S(10), S(10), S(10), S(10), 0xFF, 0x00, 814916347f7SJordan K. Hubbard /* sc=45 */ NLK, NLK, NLK, NLK, NLK, NLK, NLK, NLK, 0xFF, 0x00, 815916347f7SJordan K. Hubbard /* sc=46 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 816916347f7SJordan K. Hubbard /* sc=47 */ F(49), '7', '7', '7', '7', '7', '7', '7', 0x80, 0x02, 817916347f7SJordan K. Hubbard /* sc=48 */ F(50), '8', '8', '8', '8', '8', '8', '8', 0x80, 0x02, 818916347f7SJordan K. Hubbard /* sc=49 */ F(51), '9', '9', '9', '9', '9', '9', '9', 0x80, 0x02, 819916347f7SJordan K. Hubbard /* sc=4a */ F(52), '-', '-', '-', '-', '-', '-', '-', 0x80, 0x02, 820916347f7SJordan K. Hubbard /* sc=4b */ F(53), '4', '4', '4', '4', '4', '4', '4', 0x80, 0x02, 821916347f7SJordan K. Hubbard /* sc=4c */ NOP, '5', '5', '5', '5', '5', '5', '5', 0x80, 0x02, 822916347f7SJordan K. Hubbard /* sc=4d */ F(55), '6', '6', '6', '6', '6', '6', '6', 0x80, 0x02, 823916347f7SJordan K. Hubbard /* sc=4e */ F(56), '+', '+', '+', '+', '+', '+', '+', 0x80, 0x02, 824916347f7SJordan K. Hubbard /* sc=4f */ F(57), '1', '1', '1', '1', '1', '1', '1', 0x80, 0x02, 825916347f7SJordan K. Hubbard /* sc=50 */ F(58), '2', '2', '2', '2', '2', '2', '2', 0x80, 0x02, 826916347f7SJordan K. Hubbard /* sc=51 */ F(59), '3', '3', '3', '3', '3', '3', '3', 0x80, 0x02, 827916347f7SJordan K. Hubbard /* sc=52 */ F(60), '0', '0', '0', '0', '0', '0', '0', 0x80, 0x02, 8288b2e5491SNate Williams /* sc=53 */ 0x7F, '.', 0x7F, 0x7F, 0x7F, 0x7F, RBT, 0x7F, 0x02, 0x02, 829916347f7SJordan K. Hubbard /* sc=54 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 830916347f7SJordan K. Hubbard /* sc=55 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 831916347f7SJordan K. Hubbard /* sc=56 */ NOP, NOP, NOP, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 832916347f7SJordan K. Hubbard /* sc=57 */ F(11), F(23), F(35), F(47), S(11), S(11), S(11), S(11), 0xFF, 0x00, 833916347f7SJordan K. Hubbard /* sc=58 */ F(12), F(24), F(36), F(48), S(12), S(12), S(12), S(12), 0xFF, 0x00, 834916347f7SJordan K. Hubbard /* sc=59 */ 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x0D, 0x00, 0x00, 835916347f7SJordan K. Hubbard /* sc=5a */ RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, RCTR, 0xFF, 0x00, 836916347f7SJordan K. Hubbard /* sc=5b */ '/', '/', '/', '/', '/', '/', '/', '/', 0x00, 0x00, 83733853f97SJordan K. Hubbard /* sc=5c */ NEXT, NOP, DBG, NOP, NOP, NOP, NOP, NOP, 0xFF, 0x00, 838916347f7SJordan K. Hubbard /* sc=5d */ RALT, RALT, RALT, RALT, RALT, RALT, RALT, RALT, 0xFF, 0x00, 839916347f7SJordan K. Hubbard /* sc=5e */ F(49), F(49), F(49), F(49), F(49), F(49), F(49), F(49), 0xFF, 0x00, 840916347f7SJordan K. Hubbard /* sc=5f */ F(50), F(50), F(50), F(50), F(50), F(50), F(50), F(50), 0xFF, 0x00, 841916347f7SJordan K. Hubbard /* sc=60 */ F(51), F(51), F(51), F(51), F(51), F(51), F(51), F(51), 0xFF, 0x00, 842916347f7SJordan K. Hubbard /* sc=61 */ F(53), F(53), F(53), F(53), F(53), F(53), F(53), F(53), 0xFF, 0x00, 843916347f7SJordan K. Hubbard /* sc=62 */ F(55), F(55), F(55), F(55), F(55), F(55), F(55), F(55), 0xFF, 0x00, 844916347f7SJordan K. Hubbard /* sc=63 */ F(57), F(57), F(57), F(57), F(57), F(57), F(57), F(57), 0xFF, 0x00, 845916347f7SJordan K. Hubbard /* sc=64 */ F(58), F(58), F(58), F(58), F(58), F(58), F(58), F(58), 0xFF, 0x00, 846916347f7SJordan K. Hubbard /* sc=65 */ F(59), F(59), F(59), F(59), F(59), F(59), F(59), F(59), 0xFF, 0x00, 847916347f7SJordan K. Hubbard /* sc=66 */ F(60), F(60), F(60), F(60), F(60), F(60), F(60), F(60), 0xFF, 0x00, 84887965552SNate Williams /* sc=67 */ F(54), F(54), F(54), F(54), F(54), F(54), RBT, F(54), 0xFF, 0x00, 849916347f7SJordan K. Hubbard /* sc=68 */ SLK, SLK, SLK, SLK, SLK, SLK, SLK, SLK, 0xFF, 0x00, 850916347f7SJordan K. Hubbard }; 851916347f7SJordan K. Hubbard 852916347f7SJordan K. Hubbard #endif 853916347f7SJordan K. Hubbard 854916347f7SJordan K. Hubbard fkeytab_t fkey_tab[60] = { 855916347f7SJordan K. Hubbard /* 00-03 */ {"\033[M", 3}, {"\033[N", 3}, {"\033[O", 3}, {"\033[P", 3}, 856916347f7SJordan K. Hubbard /* 04-07 */ {"\033[Q", 3}, {"\033[R", 3}, {"\033[S", 3}, {"\033[T", 3}, 857916347f7SJordan K. Hubbard /* 08-0B */ {"\033[U", 3}, {"\033[V", 3}, {"\033[W", 3}, {"\033[X", 3}, 858916347f7SJordan K. Hubbard /* 0C-0F */ {"\033[W", 3}, {"\033[X", 3}, {"\033[Y", 3}, {"\033[Z", 3}, 859916347f7SJordan K. Hubbard /* 10-13 */ {"\033[a", 3}, {"\033[b", 3}, {"\033[c", 3}, {"\033[d", 3}, 860916347f7SJordan K. Hubbard /* 14-17 */ {"\033[e", 3}, {"\033[f", 3}, {"\033[g", 3}, {"\033[h", 3}, 861916347f7SJordan K. Hubbard /* 18-1B */ {"\033[g", 3}, {"\033[h", 3}, {"\033[i", 3}, {"\033[j", 3}, 862916347f7SJordan K. Hubbard /* 1C-1F */ {"\033[k", 3}, {"\033[l", 3}, {"\033[m", 3}, {"\033[n", 3}, 863916347f7SJordan K. Hubbard /* 20-23 */ {"\033[o", 3}, {"\033[p", 3}, {"\033[q", 3}, {"\033[r", 3}, 864916347f7SJordan K. Hubbard /* 24-27 */ {"\033[g", 3}, {"\033[h", 3}, {"\033[i", 3}, {"\033[j", 3}, 865916347f7SJordan K. Hubbard /* 28-2B */ {"\033[k", 3}, {"\033[l", 3}, {"\033[m", 3}, {"\033[n", 3}, 866916347f7SJordan K. Hubbard /* 2C-2F */ {"\033[o", 3}, {"\033[p", 3}, {"\033[q", 3}, {"\033[r", 3}, 867916347f7SJordan K. Hubbard /* 30-33 */ {"\033[H", 3}, {"\033[A", 3}, {"\033[I", 3}, {"-" , 1}, 868916347f7SJordan K. Hubbard /* 34-37 */ {"\033[D", 3}, {"\177" , 1}, {"\033[C", 3}, {"+" , 1}, 869916347f7SJordan K. Hubbard /* 38-3B */ {"\033[F", 3}, {"\033[B", 3}, {"\033[G", 3}, {"\033[L", 3} 870916347f7SJordan K. Hubbard }; 871