// $TOG: pc /main/6 1998/02/10 13:43:50 kaleb $ // //Copyright 1996, 1998 The Open Group // //All Rights Reserved. // //The above copyright notice and this permission notice shall be //included in all copies or substantial portions of the Software. // //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, //EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF //MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. //IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR //OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, //ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR //OTHER DEALINGS IN THE SOFTWARE. // //Except as contained in this notice, the name of The Open Group shall //not be used in advertising or otherwise to promote the sale, use or //other dealings in this Software without prior written authorization //from The Open Group. // // $XFree86: xc/programs/xkbcomp/geometry/pc,v 3.9 1999/08/30 02:34:21 dawes Exp $ default xkb_geometry "pc101" { description= "Generic 101"; width= 470; height= 210; shape.cornerRadius= 1; shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } }; shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } }; shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } }; shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } }; shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } }; shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } }; shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } }; shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } }; shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } }; shape "SPCE" { { [133,18] }, { [2,1], [131,16] } }; shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } }; shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } }; shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } }; shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; solid "LedPanel" { shape= "LEDS"; top= 52; left= 377; color= "grey10"; }; indicator.onColor= "green"; indicator.offColor= "green30"; indicator.top= 67; indicator.shape= "LED"; indicator "NumLock" { left= 382; }; indicator "CapsLock" { left= 407; }; indicator "ScrollLock" { left= 433; }; text.top= 55; text.color= "black"; text "NumLockLabel" { left= 378; text="Num\nLock"; }; text "CapsLockLabel" { left= 403; text="Caps\nLock"; }; text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; }; section.left= 19; row.left= 1; key.shape= "NORM"; key.gap= 1; section "Function" { top= 52; row { top= 1; keys { { , color="grey20" }, { , 20 }, , , , { , 11 }, , , , { , 11 }, , , , { , 8 }, , }; }; }; // End of "Function" section section "Alpha" { top= 91; row { top= 1; keys { , , , , , , , , , , , , , { , "BKSP", color="grey20" } }; }; row { top= 20; keys { { , "TABK", color="grey20" }, , , , , , , , , , , , , { , "BKSL" } }; }; row { top= 39; keys { { , "CAPS", color="grey20" }, , , , , , , , , , , , { , "RTRN", color="grey20" } }; }; row { top= 58; keys { { , "LFSH", color="grey20" }, , , , , , , , , , , { , "RTSH", color="grey20" } }; }; row { top= 77; key.shape= "MODK"; key.color= "grey20"; keys { , { , 21 }, { , "SPCE", color="white" }, , { , 21 } }; }; }; // End of "Alpha" section section "Editing" { top= 91; left= 312; key.color= "grey20"; row { top= 1; keys { , , }; }; row { top= 20; keys { , , }; }; row { top= 58; left= 20; keys { }; }; row { top= 77; keys { , , }; }; }; // End of "Editing" section section "Keypad" { top= 91; left= 376; row { top= 1; key.color= "grey20"; keys { , , , }; }; row { top= 20; keys { , , , { , "KPAD", color="grey20" } }; }; row { top= 39; keys { , , }; }; row { top= 58; keys { , , , { , "KPAD", color="grey20" } }; }; row { top= 77; keys { { , "KP0" }, }; }; }; // End of "Keypad" section alias = ; alias = ; }; // End of "default" geometry xkb_geometry "pc102" { description= "Generic 102"; width= 470; height= 210; shape.cornerRadius= 1; shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } }; shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } }; shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } }; shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } }; shape "RTRN" { { [16,0],[ 43,0],[43,37],[2,37],[2,19],[16,19] }, { [18,1],[ 41,1],[41,36],[4,36],[4,20],[18,20] } }; shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } }; shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } }; shape "RTSH" { { [ 49,18] }, { [2,1], [ 47,16] } }; shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } }; shape "SPCE" { { [134,18] }, { [2,1], [132,16] } }; shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } }; shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } }; shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } }; shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; solid "LedPanel" { shape= "LEDS"; top= 52; left= 377; color= "grey10"; }; indicator.onColor= "green"; indicator.offColor= "green30"; indicator.top= 67; indicator.shape= "LED"; indicator "NumLock" { left= 382; }; indicator "CapsLock" { left= 407; }; indicator "ScrollLock" { left= 433; }; text.top= 55; text.color= "black"; text "NumLockLabel" { left= 378; text="Num\nLock"; }; text "CapsLockLabel" { left= 403; text="Caps\nLock"; }; text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; }; section.left= 19; row.left= 1; key.shape= "NORM"; key.gap= 1; section "Function" { top= 52; row { top= 1; keys { { , "TABK", color="grey20" }, { , 10 }, , , , { , 11 }, , , , { , 11 }, , , , { , 8 }, , }; }; }; // End of "Function" section section "Alpha" { top= 91; row { top= 1; keys { , , , , , , , , , , , , , , { , color="grey20" } }; }; row { top= 20; keys { { , "TABK", color="grey20" }, , , , , , , , , , , , , { , -15, "RTRN", color="grey20" } }; }; row { top= 39; keys { { , "CAPS", color="grey20" }, , , , , , , , , , , }; }; row { top= 58; keys { { , "LFSH", color="grey20" }, , , , , , , , , , , , { , "RTSH", color="grey20" } }; }; row { top= 77; key.shape= "MODK"; key.color= "grey20"; keys { , { , 20 }, { , "SPCE", color="white" }, , { , 20 } }; }; }; // End of "Alpha" section section "Editing" { top= 91; left= 312; key.color= "grey20"; row { top= 1; keys { , , }; }; row { top= 20; keys { , , }; }; row { top= 58; left= 20; keys { }; }; row { top= 77; keys { , , }; }; }; // End of "Editing" section section "Keypad" { top= 91; left= 376; row { top= 1; key.color= "grey20"; keys { , , , }; }; row { top= 20; keys { , , , { , "KPAD", color="grey20" } }; }; row { top= 39; keys { , , }; }; row { top= 58; keys { , , , { , "KPAD", color="grey20" } }; }; row { top= 77; keys { { , "KP0" }, }; }; }; // End of "Keypad" section alias = ; alias = ; }; // End of "pc102" geometry xkb_geometry "pc104" { description= "Generic 104"; width= 470; height= 210; shape.cornerRadius= 1; shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } }; shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } }; shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } }; shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } }; shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } }; shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } }; shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,16] } }; shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } }; shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } }; shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } }; shape "SPCE" { { [113,18] }, { [2,1], [111,16] } }; shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } }; shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } }; shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } }; shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; solid "LedPanel" { shape= "LEDS"; top= 52; left= 377; color= "grey10"; }; indicator.onColor= "green"; indicator.offColor= "green30"; indicator.top= 67; indicator.shape= "LED"; indicator "NumLock" { left= 382; }; indicator "CapsLock" { left= 407; }; indicator "ScrollLock" { left= 433; }; text.top= 55; text.color= "black"; text "NumLockLabel" { left= 378; text="Num\nLock"; }; text "CapsLockLabel" { left= 403; text="Caps\nLock"; }; text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; }; section.left= 19; row.left= 1; key.shape= "NORM"; key.gap= 1; section "Function" { top= 52; row { top= 1; keys { { , color="grey20" }, { , 20 }, , , , { , 11 }, , , , { , 11 }, , , , { , 8 }, , }; }; }; // End of "Function" section section "Alpha" { top= 91; row { top= 1; keys { , , , , , , , , , , , , , { , "BKSP", color="grey20" } }; }; row { top= 20; keys { { , "TABK", color="grey20" }, , , , , , , , , , , , , { , "BKSL" } }; }; row { top= 39; keys { { , "CAPS", color="grey20" }, , , , , , , , , , , , { , "RTRN", color="grey20" } }; }; row { top= 58; keys { { , "LFSH", color="grey20" }, , , , , , , , , , , { , "RTSH", color="grey20" } }; }; row { top= 77; key.shape= "SMOD"; key.color= "grey20"; keys { { , "MODK" }, , , { , "SPCE", color="white" }, , , , }; }; }; // End of "Alpha" section section "Editing" { top= 91; left= 312; key.color= "grey20"; row { top= 1; keys { , , }; }; row { top= 20; keys { , , }; }; row { top= 58; left= 20; keys { }; }; row { top= 77; keys { , , }; }; }; // End of "Editing" section section "Keypad" { top= 91; left= 376; row { top= 1; key.color= "grey20"; keys { , , , }; }; row { top= 20; keys { , , , { , "KPAD", color="grey20" } }; }; row { top= 39; keys { , , }; }; row { top= 58; keys { , , , { , "KPAD", color="grey20" } }; }; row { top= 77; keys { { , "KP0" }, }; }; }; // End of "Keypad" section alias = ; alias = ; }; // End of "pc104" geometry xkb_geometry "pc105" { description= "Generic 105"; width= 470; height= 210; shape.cornerRadius= 1; shape "NORM" { { [ 18,18] }, { [2,1], [ 16,16] } }; shape "BKSP" { { [ 38,18] }, { [2,1], [ 36,16] } }; shape "TABK" { { [ 28,18] }, { [2,1], [ 26,16] } }; shape "BKSL" { { [ 28,18] }, { [2,1], [ 26,16] } }; shape "RTRN" { { [ 42,18] }, { [2,1], [ 40,16] } }; shape "CAPS" { { [ 33,18] }, { [2,1], [ 31,16] } }; shape "LFSH" { { [ 25,18] }, { [2,1], [ 23,16] } }; shape "RTSH" { { [ 52,18] }, { [2,1], [ 50,16] } }; shape "MODK" { { [ 27,18] }, { [2,1], [ 25,16] } }; shape "SMOD" { { [ 23,18] }, { [2,1], [ 21,16] } }; shape "SPCE" { { [113,18] }, { [2,1], [111,16] } }; shape "KP0" { { [ 37,18] }, { [2,1], [ 35,16] } }; shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,35] } }; shape "LEDS" { cornerRadius= 0, { [ 75 ,20 ] } }; shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; solid "LedPanel" { shape= "LEDS"; top= 52; left= 377; color= "grey10"; }; indicator.onColor= "green"; indicator.offColor= "green30"; indicator.top= 67; indicator.shape= "LED"; indicator "NumLock" { left= 382; }; indicator "CapsLock" { left= 407; }; indicator "ScrollLock" { left= 433; }; text.top= 55; text.color= "black"; text "NumLockLabel" { left= 378; text="Num\nLock"; }; text "CapsLockLabel" { left= 403; text="Caps\nLock"; }; text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; }; section.left= 19; row.left= 1; key.shape= "NORM"; key.gap= 1; section "Function" { top= 52; row { top= 1; keys { { , color="grey20" }, { , 20 }, , , , { , 11 }, , , , { , 11 }, , , , { , 8 }, , }; }; }; // End of "Function" section section "Alpha" { top= 91; row { top= 1; keys { , , , , , , , , , , , , , { , "BKSP", color="grey20" } }; }; row { top= 20; keys { { , "TABK", color="grey20" }, , , , , , , , , , , , , { , "BKSL" } }; }; row { top= 39; keys { { , "CAPS", color="grey20" }, , , , , , , , , , , , { , "RTRN", color="grey20" } }; }; row { top= 58; keys { { , "LFSH", color="grey20" }, , , , , , , , , , , , { , "RTSH", color="grey20" } }; }; row { top= 77; key.shape= "SMOD"; key.color= "grey20"; keys { { , "MODK" }, , , { , "SPCE", color="white" }, , , , }; }; }; // End of "Alpha" section section "Editing" { top= 91; left= 312; key.color= "grey20"; row { top= 1; keys { , , }; }; row { top= 20; keys { , , }; }; row { top= 58; left= 20; keys { }; }; row { top= 77; keys { , , }; }; }; // End of "Editing" section section "Keypad" { top= 91; left= 376; row { top= 1; key.color= "grey20"; keys { , , , }; }; row { top= 20; keys { , , , { , "KPAD", color="grey20" } }; }; row { top= 39; keys { , , }; }; row { top= 58; keys { , , , { , "KPAD", color="grey20" } }; }; row { top= 77; keys { { , "KP0" }, }; }; }; // End of "Keypad" section alias = ; alias = ; }; // End of "pc105" geometry // Added for japanese 106 keyboard // by tsuka@kawalab.dnj.ynu.ac.jp . xkb_geometry "jp106" { description= "Japanese 106"; width= 470; height= 180; shape.cornerRadius= 1; shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } }; shape "BKSP" { { [ 18,18] }, { [2,1], [ 16,17] } }; shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } }; shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } }; shape "RTRN" { { [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } , { [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } }; shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } }; shape "LFSH" { { [ 42,18] }, { [2,1], [ 40,17] } }; shape "RTSH" { { [ 32,18] }, { [2,1], [ 30,17] } }; shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } }; shape "SPCE" { { [ 46,18] }, { [2,1], [ 44,17] } }; shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } }; shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } }; shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } }; shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; solid "LedPanel" { shape= "LEDS"; top= 25; left= 375; color= "grey10"; }; indicator.onColor= "green"; indicator.offColor= "green30"; indicator.top= 40; indicator.shape= "LED"; indicator "NumLock" { left= 379; }; indicator "CapsLock" { left= 404; }; indicator "ScrollLock" { left= 429; }; text.top= 28; text.color= "black"; text "NumLockLabel" { left= 378; text="Num\nLock"; }; text "CapsLockLabel" { left= 403; text="Caps\nLock"; }; text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; }; section.left= 19; row.left= 1; key.shape= "NORM"; key.gap= 1; section "Function" { top= 25; row { top= 1; keys { { , color="grey20" }, { , 18 }, , , , { , 11 ,color="grey20"}, {,color="grey20"}, { , color="grey20"}, {,color="grey20"}, { , 11 }, , , , { , 8 }, , }; }; }; // End of "Function" section section "Alpha" { top= 61; row { top= 1; keys { {,color="grey20"}, , , , , , , , , , , , , , { , "BKSP", color="grey20" } }; }; row { top= 20; keys { { , "TABK", color="grey20" }, , , , , , , , , , , , , { , 1 ,"RTRN",color="grey20" } }; }; row { top= 39; keys { { , "CAPS", color="grey20" }, , , , , , , , , , , , }; }; row { top= 58; keys { { , "LFSH", color="grey20" }, , , , , , , , , , , , { , "RTSH", color="grey20" } }; }; row { top= 77; key.shape= "MODK"; key.color= "grey20"; keys { , { , 20 },, { , "SPCE", color="white" }, ,,, { , 17 } }; }; }; // End of "Alpha" section section "Editing" { top= 61; left= 310; key.color= "grey20"; row { top= 1; keys { , , }; }; row { top= 20; keys { , , }; }; row { top= 58; left= 20; keys { }; }; row { top= 77; keys { , , }; }; }; // End of "Editing" section section "Keypad" { top= 61; left= 375; row { top= 1; key.color= "grey20"; keys { , , , }; }; row { top= 20; keys { , , , { , "KPAD", color="grey20" } }; }; row { top= 39; keys { , , }; }; row { top= 58; keys { , , , { , "KPAD", color="grey20" } }; }; row { top= 77; keys { { , "KP0" }, }; }; }; // End of "Keypad" section alias = ; alias = ; }; // End of "jp106" geometry // Added for brazilian ABNT2 by Ricardo Y. Igarashi(iga@that.com.br) xkb_geometry "abnt2" { description= "Brazilian ABNT2"; width= 470; height= 180; shape.cornerRadius= 1; shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } }; shape "BKSP" { { [ 37,18] }, { [2,1], [ 35,17] } }; shape "TABK" { { [ 28,18] }, { [2,1], [ 26,17] } }; shape "BKSL" { { [ 27,18] }, { [2,1], [ 25,17] } }; shape "RTRN" { { [0,0],[ 27,0],[27,37],[4,37],[4,18],[0,18] } , { [2,1],[ 25,1],[25,36],[5,36],[5,17],[2,17] } }; shape "CAPS" { { [ 32,18] }, { [2,1], [ 30,17] } }; shape "LFSH" { { [ 24,18] }, { [2,1], [ 22,17] } }; shape "RTSH" { { [ 31,18] }, { [2,1], [ 29,17] } }; shape "MODK" { { [ 28,18] }, { [2,1], [ 26,17] } }; shape "SPCE" { { [133,18] }, { [2,1], [131,17] } }; shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } }; shape "KPAD" { { [ 18,37] }, { [2,1], [ 16,36] } }; shape "LEDS" { cornerRadius= 0, { [ 76 ,20 ] } }; shape "LED" { cornerRadius= 0, { [ 5, 1 ] } }; solid "LedPanel" { shape= "LEDS"; top= 25; left= 375; color= "grey10"; }; indicator.onColor= "green"; indicator.offColor= "green30"; indicator.top= 40; indicator.shape= "LED"; indicator "NumLock" { left= 379; }; indicator "CapsLock" { left= 404; }; indicator "ScrollLock" { left= 429; }; text.top= 28; text.color= "black"; text "NumLockLabel" { left= 378; text="Num\nLock"; }; text "CapsLockLabel" { left= 403; text="Caps\nLock"; }; text "ScrollLockLabel" { left= 428; text="Scroll\nLock"; }; section.left= 19; row.left= 1; key.shape= "NORM"; key.gap= 1; section "Function" { top= 25; row { top= 1; keys { { , color="grey20" }, { , 18 }, , , , { , 11 ,color="grey20"}, {,color="grey20"}, { , color="grey20"}, {,color="grey20"}, { , 11 }, , , , { , 8 }, , }; }; }; // End of "Function" section section "Alpha" { top= 61; row { top= 1; keys { {,color="grey20"}, , , , , , , , , , , , , { , "BKSP", color="grey20" } }; }; row { top= 20; keys { { , "TABK", color="grey20" }, , , , , , , , , , , , , { , 1 ,"RTRN",color="grey20" } }; }; row { top= 39; keys { { , "CAPS", color="grey20" }, , , , , , , , , , , , }; }; row { top= 58; keys { { , "LFSH", color="grey20" }, , , , , , , , , , , , , { , "RTSH", color="grey20" } }; }; row { top= 77; key.shape= "MODK"; key.color= "grey20"; keys { , { , 20 }, { , "SPCE", color="white" }, , { , 17 } }; }; }; // End of "Alpha" section section "Editing" { top= 61; left= 310; key.color= "grey20"; row { top= 1; keys { , , }; }; row { top= 20; keys { , , }; }; row { top= 58; left= 20; keys { }; }; row { top= 77; keys { , , }; }; }; // End of "Editing" section section "Keypad" { top= 61; left= 375; row { top= 1; key.color= "grey20"; keys { , , , }; }; row { top= 20; keys { , , , { , "KPAD", color="grey20" } }; }; row { top= 39; keys { , , }; }; row { top= 58; keys { , , , { , "KPAD", color="grey20" } }; }; row { top= 77; keys { { , "KP0" }, }; }; }; // End of "Keypad" section alias = ; alias = ; }; // End of "abnt2" geometry