// Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved. // //Copyright 1996, 1998 The Open Group // //Permission to use, copy, modify, distribute, and sell this software and its //documentation for any purpose is hereby granted without fee, provided that //the above copyright notice appear in all copies and that both that //copyright notice and this permission notice appear in supporting //documentation. // //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. // xkb_geometry "t6" { // This is an approximate layout for a (US/ASCII) Sun Type6 // keyboard. I just took a similar layout (101 key PC keyboard) // and adjusted the sizes. width= 515; height= 170; shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } }; shape.cornerRadius= 1; shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } }; shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } }; shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } }; shape "BKSL" { { [ 27,18] }, { [2,1], [25,17] } }; shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } }; shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } }; shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } }; shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } }; shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } }; shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } }; shape "SPCE" { { [136,18] }, { [2,1], [134,17] } }; shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } }; shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } }; shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } }; shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } }; shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } }; shape "LOGO" { { [ 16,16] } }; outline "Edges" { top= 0; left= 0; shape= "EDGE"; }; section.left= 14; row.left= 1; key.shape= "NORM"; key.gap= 1; section "Function" { top= 24; row { top= 1; keys { { , "HELP" }, { , 9 }, { , 19 }, , , , { , 11 }, , , , { , 11 }, , , , { , 9 }, , , { , 9 }, , , }; }; }; // End of "Function" section section "Alpha" { top= 61; row { top= 1; keys { , , { , 9}, , , , , , , , , , , , , { , "BKSP", color="grey20" } }; }; row { top= 20; keys { , , { , 9, shape="TABK" }, , , , , , , , , , , , , { , "BKSL" } }; }; row { top= 39; keys { , , { , 9, shape="CAPS" }, , , , , , , , , , , , { , "RTRN" } }; }; row { top= 58; keys { , , { , 9 , shape="LFSH" }, , , , , , , , , , , { , "RTSH", color="grey20" } }; }; row { top= 77; keys { , , { , 9, shape="LCTL" }, , { , "LMTA" }, { , "SPCE" }, { , "RMTA" }, , }; }; }; // End of "Alpha" section section "Editing" { top= 61; left= 352; 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= 420; row { top= 1; 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 shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } }; shape "LED" { cornerRadius= 2, { [ 3, 6 ] } }; solid "LedPanel" { shape= "LEDS"; top= 1; left= 218; }; indicator.onColor= "green"; indicator.offColor= "green30"; indicator.top= 10; indicator.shape= "LED"; indicator "CapsLock" { left= 243; }; indicator "Compose" { left= 281; }; indicator "ScrollLock" { left= 262; }; indicator "NumLock" { left= 224; }; text.top= 1; text.color= "black"; text "CapsLockLabel" { left= 243; text="Caps\nLock"; }; text "ComposeLabel" { left= 281; text="Compose"; }; text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; }; text "NumLockLabel" { left= 224; text="Num\nLock"; }; }; xkb_geometry "t6tuv" { // This is an approximate layout for a (US/ASCII) Sun Type6 // keyboard. I just took a similar layout (101 key PC keyboard) // and adjusted the sizes. width= 515; height= 170; shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } }; shape.cornerRadius= 1; shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } }; shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } }; shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } }; shape "RTRN" { approx = { [ 0, 0], [28,37] }, { [ 0, 0], [28, 0], [28,37], [ 5,37], [ 5,18], [ 0,18] }, { [ 1, 1], [26, 1], [26,36], [ 7,36], [ 7,17], [ 1,17] } }; shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } }; shape "LFSH" { { [ 24,18] }, { [2,1], [22,17] } }; shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } }; shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } }; shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } }; shape "SPCE" { { [137,18] }, { [2,1], [135,17] } }; shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } }; shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } }; shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } }; shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } }; shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } }; shape "LOGO" { { [ 16,16] } }; outline "Edges" { top= 0; left= 0; shape= "EDGE"; }; section.left= 14; row.left= 1; key.shape= "NORM"; key.gap= 1; section "Function" { top= 24; row { top= 1; keys { { , "HELP" }, { , 9 }, { , 19 }, , , , { , 11 }, , , , { , 11 }, , , , { , 9 }, , , { , 9 }, , , }; }; }; // End of "Function" section section "Alpha" { top= 61; row { top= 1; keys { , , { , 9}, , , , , , , , , , , , , { , "BKSP", color="grey20" } }; }; row { top= 20; keys { , , { , 9, shape="TABK" }, , , , , , , , , , , , , { , "RTRN" } }; }; row { top= 39; keys { , , { , 9, shape="CAPS" }, , , , , , , , , , , , }; }; row { top= 58; keys { , , { , 9 , shape="LFSH" }, , , , , , , , , , , , { , "RTSH", color="grey20" } }; }; row { top= 77; keys { , , { , 9, shape="LCTL" }, , { , "LMTA" }, { , "SPCE" }, { , "RMTA" }, , }; }; }; // End of "Alpha" section section "Editing" { top= 61; left= 352; 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= 420; row { top= 1; 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 shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } }; shape "LED" { cornerRadius= 2, { [ 3, 6 ] } }; solid "LedPanel" { shape= "LEDS"; top= 1; left= 218; }; indicator.onColor= "green"; indicator.offColor= "green30"; indicator.top= 10; indicator.shape= "LED"; indicator "CapsLock" { left= 243; }; indicator "Compose" { left= 281; }; indicator "ScrollLock" { left= 262; }; indicator "NumLock" { left= 224; }; text.top= 1; text.color= "black"; text "CapsLockLabel" { left= 243; text="Caps\nLock"; }; text "ComposeLabel" { left= 281; text="Compose"; }; text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; }; text "NumLockLabel" { left= 224; text="Num\nLock"; }; }; xkb_geometry "t6jp" { // This is an approximate layout for a (US/ASCII) Sun Type6 // keyboard. I just took a similar layout (101 key PC keyboard) // and adjusted the sizes. width= 515; height= 170; shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } }; shape.cornerRadius= 1; shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } }; shape "BKSP" { { [ 37,18] }, { [2,1], [35,17] } }; shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } }; shape "KANJ" { { [ 27,18] }, { [2,1], [25,17] } }; shape "EXEC" { { [ 27,18] }, { [2,1], [25,17] } }; shape "RTRN" { approx = { [ 0, 0], [28,37] }, { [ 0, 0], [28, 0], [28,37], [ 5,37], [ 5,18], [ 0,18] }, { [ 1, 1], [26, 1], [26,36], [ 7,36], [ 7,17], [ 1,17] } }; shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } }; shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } }; shape "RTSH" { { [ 33,18] }, { [2,1], [31,17] } }; shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } }; shape "SPCE" { { [ 96,18] }, { [2,1], [94,17] } }; shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } }; shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } }; shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } }; shape "LOGO" { { [ 16,16] } }; outline "Edges" { top= 0; left= 0; shape= "EDGE"; }; section.left= 14; row.left= 1; key.shape= "NORM"; key.gap= 1; section "Function" { top= 24; row { top= 1; keys { { , "HELP" }, { , 9 }, { , 19 }, , , , { , 11 }, , , , { , 11 }, , , , { , 9 }, , , { , 9 }, , , }; }; }; // End of "Function" section section "Alpha" { top= 61; row { top= 1; keys { , , { , 9}, , , , , , , , , , , , , { , "BKSP", color="grey20" } }; }; row { top= 20; keys { , , { , 9, shape="TABK" }, , , , , , , , , , , , , { , "RTRN" } }; }; row { top= 39; keys { , , { , 9, shape="CAPS" }, , , , , , , , , , , , }; }; row { top= 58; keys { , , { , 9 , shape="LFSH" }, , , , , , , , , , , , { , "RTSH", color="grey20" } }; }; row { top= 77; keys { , , { , 9 }, , , { , "EXEC" }, { , "SPCE" }, { , "KANJ" }, , , , }; }; }; // End of "Alpha" section section "Editing" { top= 61; left= 352; 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= 420; row { top= 1; 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 shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } }; shape "LED" { cornerRadius= 2, { [ 3, 6 ] } }; solid "LedPanel" { shape= "LEDS"; top= 1; left= 218; }; indicator.onColor= "green"; indicator.offColor= "green30"; indicator.top= 10; indicator.shape= "LED"; indicator "CapsLock" { left= 243; }; indicator "Compose" { left= 281; }; indicator "ScrollLock" { left= 262; }; indicator "NumLock" { left= 224; }; text.top= 1; text.color= "black"; text "CapsLockLabel" { left= 243; text="Caps\nLock"; }; text "ComposeLabel" { left= 281; text="Compose"; }; text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; }; text "NumLockLabel" { left= 224; text="Num\nLock"; }; }; xkb_geometry "t6unix" { // This is an approximate layout for a (US/ASCII) Sun Type6 // keyboard. I just took a similar layout (101 key PC keyboard) // and adjusted the sizes. width= 515; height= 170; shape "EDGE" { cornerRadius= 2, { [ 515, 170 ] } }; shape.cornerRadius= 1; shape "NORM" { { [ 18,18] }, { [2,1], [16,17] } }; shape "BKSP" { { [ 28,18] }, { [2,1], [26,17] } }; shape "TABK" { { [ 27,18] }, { [2,1], [25,17] } }; shape "RTRN" { { [ 42,18] }, { [2,1], [40,17] } }; shape "CAPS" { { [ 32,18] }, { [2,1], [30,17] } }; shape "LFSH" { { [ 42,18] }, { [2,1], [40,17] } }; shape "RTSH" { { [ 51,18] }, { [2,1], [49,17] } }; shape "LCTL" { { [ 32,18] }, { [2,1], [30,17] } }; shape "MODK" { { [ 28,18] }, { [2,1], [26,17] } }; shape "SPCE" { { [136,18] }, { [2,1], [134,17] } }; shape "KP0" { { [ 37,18] }, { [2,1], [35,17] } }; shape "KPAD" { { [ 18,37] }, { [2,1], [16,36] } }; shape "HELP" { { [ 37,18] }, { [2,1], [35,17] } }; shape "RMTA" { { [ 28,18] }, { [2,1], [26,17] } }; shape "LMTA" { { [ 28,18] }, { [2,1], [26,17] } }; shape "LOGO" { { [ 16,16] } }; outline "Edges" { top= 0; left= 0; shape= "EDGE"; }; section.left= 14; row.left= 1; key.shape= "NORM"; key.gap= 1; section "Function" { top= 24; row { top= 1; keys { { , "HELP" }, { , 9 }, { , 19 }, , , , { , 11 }, , , , { , 11 }, , , , { , 9 }, , , { , 9 }, , , }; }; }; // End of "Function" section section "Alpha" { top= 61; row { top= 1; keys { , , { , 9}, , , , , , , , , , , , , , }; }; row { top= 20; keys { , , { , 9, shape="TABK" }, , , , , , , , , , , , , { , "BKSP", color="grey20" } }; }; row { top= 39; keys { , , { , 9, shape="CAPS" }, , , , , , , , , , , , { , "RTRN" } }; }; row { top= 58; keys { , , { , 9 , shape="LFSH" }, , , , , , , , , , , { , "RTSH", color="grey20" } }; }; row { top= 77; keys { , , { , 9, shape="LCTL" }, , {, "LMTA"}, { , "SPCE" }, {, "RMTA"}, , }; }; }; // End of "Alpha" section section "Editing" { top= 61; left= 352; 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= 420; row { top= 1; 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 shape "LEDS" { cornerRadius= 0, { [ 78 ,21 ] } }; shape "LED" { cornerRadius= 2, { [ 3, 6 ] } }; solid "LedPanel" { shape= "LEDS"; top= 1; left= 218; }; indicator.onColor= "green"; indicator.offColor= "green30"; indicator.top= 10; indicator.shape= "LED"; indicator "CapsLock" { left= 243; }; indicator "Compose" { left= 281; }; indicator "ScrollLock" { left= 262; }; indicator "NumLock" { left= 224; }; text.top= 1; text.color= "black"; text "CapsLockLabel" { left= 243; text="Caps\nLock"; }; text "ComposeLabel" { left= 281; text="Compose"; }; text "ScrollLockLabel" { left= 262; text="Scroll\nLock"; }; text "NumLockLabel" { left= 224; text="Num\nLock"; }; }; default xkb_geometry "type6" { include "sun(t6)" description= "Sun Type6 keyboard (US, Korea, Taiwan)"; }; xkb_geometry "type6jp" { include "sun(t6jp)" description= "Sun Type6 Japanese keyboard"; }; xkb_geometry "type6tuv" { include "sun(t6tuv)" description= "Sun Type6 TUV keyboard"; }; xkb_geometry "type6unix" { include "sun(t6unix)" description= "Sun Type6 Unix keyboard"; }; xkb_geometry "type7" { include "sun(t6)" description= "Sun Type7 keyboard (US, Korea, Taiwan)"; }; xkb_geometry "type7jp" { include "sun(t6jp)" description= "Sun Type7 Japanese keyboard"; }; xkb_geometry "type7tuv" { include "sun(t6tuv)" description= "Sun Type7 TUV keyboard"; }; xkb_geometry "type7unix" { include "sun(t6unix)" description= "Sun Type7 Unix keyboard"; };