1// 2//Copyright 1996, 1998 The Open Group 3// 4//Permission to use, copy, modify, distribute, and sell this software and its 5//documentation for any purpose is hereby granted without fee, provided that 6//the above copyright notice appear in all copies and that both that 7//copyright notice and this permission notice appear in supporting 8//documentation. 9// 10//The above copyright notice and this permission notice shall be 11//included in all copies or substantial portions of the Software. 12// 13//THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 14//EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 15//MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 16//IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR 17//OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 18//ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 19//OTHER DEALINGS IN THE SOFTWARE. 20// 21//Except as contained in this notice, the name of The Open Group shall 22//not be used in advertising or otherwise to promote the sale, use or 23//other dealings in this Software without prior written authorization 24//from The Open Group. 25// 26 27default xkb_geometry "pc98" { 28 29 description= "Generic PC98"; 30 width= 405; 31 height= 172; 32 33 shape.cornerRadius= 1; 34 shape "NORM" { { [ 17,18] }, { [2,1], [ 15,17] } }; 35 shape "RTRN" { { [ 20,37] }, { [2,1], [ 18,35] } }; 36 shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } }; 37 shape "RTSH" { { [ 31,18] }, { [2,1], [ 29,17] } }; 38 shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } }; 39 shape "SPCE" { { [115,18] }, { [2,1], [113,17] } }; 40 shape "FUNC" { { [ 21,18] }, { [2,1], [ 19,17] } }; 41 shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } }; 42 shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } }; 43 shape "TABK" { { [ 30,18] }, { [2,1], [ 28,17] } }; 44 shape "ARRW" { { [ 35,18] }, { [2,1], [ 33,17] } }; 45 46 section.left= 8; 47 row.left= 1; 48 key.shape= "NORM"; 49 key.gap= 1; 50 section "Function" { 51 top= 29; 52 row { 53 top= 1; 54 key.shape="FUNC"; 55 keys { { <BRK>, "NORM" }, { <PRSC>, "NORM", 5 }, 56 { <FK01>, 6 }, <FK02>, <FK03>, <FK04>, <FK05>, 57 { <FK06>, 6 }, <FK07>, <FK08>, <FK09>, <FK10>, 58 { <FK11>, 6 }, <FK12>, <FK13>, <FK14>, <FK15> 59 }; 60 }; 61 }; // End of "Function" section 62 63 section "Alpha" { 64 top= 54; 65 row { 66 top= 1; 67 keys { { <ESC>, shape="BKSP"}, 68 <AE01>, <AE02>, <AE03>, <AE04>, 69 <AE05>, <AE06>, <AE07>, <AE08>, <AE09>, 70 <AE10>, <AE11>, <AE12>, <BKSL>, 71 { <BKSP>, "BKSP" } 72 }; 73 }; 74 row { 75 top= 20; 76 keys { { <TAB>, "TABK" }, 77 <AD01>, <AD02>, <AD03>, <AD04>, <AD05>, 78 <AD06>, <AD07>, <AD08>, <AD09>, <AD10>, 79 <AD11>, <AD12>, { <RTRN>, "RTRN", 6 } 80 }; 81 }; 82 row { 83 top= 39; 84 keys { <LCTL>, <CAPS>, 85 <AC01>, <AC02>, <AC03>, <AC04>, <AC05>, 86 <AC06>, <AC07>, <AC08>, <AC09>, <AC10>, 87 <AC11>, <AC12> 88 }; 89 }; 90 row { 91 top= 58; 92 keys { { <LFSH>, "LFSH" }, 93 <AB01>, <AB02>, <AB03>, <AB04>, <AB05>, 94 <AB06>, <AB07>, <AB08>, <AB09>, <AB10>, <AB11>, 95 { <RTSH>, "RTSH" } 96 }; 97 }; 98 row { 99 top= 77; 100 keys { { <ALGR>, 35 } , <LALT>, { <NFER>, "FUNC" }, 101 { <SPCE>, "SPCE" }, { <XFER>, "FUNC" } 102 103 }; 104 }; 105 }; // End of "Alpha" section 106 107 section "Editing" { 108 top= 54; 109 left= 281; 110 row { 111 top= 1; 112 keys { <INS>, <DELE> }; 113 }; 114 row { 115 top= 20; 116 keys { <PGDN>, <PGUP> }; 117 }; 118 row { 119 top= 39; 120 keys { { <UP>, "ARRW" } }; 121 }; 122 row { 123 top= 58; 124 keys { <LEFT>, <RGHT> }; 125 }; 126 row { 127 top= 77; 128 keys { { <DOWN>, "ARRW" } }; 129 }; 130 }; // End of "Editing" section 131 132 section "Keypad" { 133 top= 54; 134 left= 320; 135 row { 136 top= 1; 137 keys { <HOME>, <HELP>, <KPSU>, <KPDV> }; 138 }; 139 row { 140 top= 20; 141 keys { <KP7>, <KP8>, <KP9>, <KPMU> }; 142 }; 143 row { 144 top= 39; 145 keys { <KP4>, <KP5>, <KP6>, <KPAD> }; 146 }; 147 row { 148 top= 58; 149 keys { <KP1>, <KP2>, <KP3>, <KPEQ> }; 150 }; 151 row { 152 top= 77; 153 keys { <KP0>, <KPSP>, <KPDC>, <KPEN> }; 154 }; 155 }; // End of "Keypad" section 156 157}; // End of "pc98" geometry 158