From d8f81c980a46279ac619312a914b563144894512 Mon Sep 17 00:00:00 2001 From: marha Date: Tue, 13 Jul 2010 07:48:55 +0000 Subject: Renamed xkbdata.src also on trunk since the current merging of subversion will loose all the changes in xkbdata.src when the directory is renamed on the source branch. --- xorg-server/xkeyboard-config/geometry/macintosh | 1447 +++++++++++++++++++++++ 1 file changed, 1447 insertions(+) create mode 100644 xorg-server/xkeyboard-config/geometry/macintosh (limited to 'xorg-server/xkeyboard-config/geometry/macintosh') diff --git a/xorg-server/xkeyboard-config/geometry/macintosh b/xorg-server/xkeyboard-config/geometry/macintosh new file mode 100644 index 000000000..216612262 --- /dev/null +++ b/xorg-server/xkeyboard-config/geometry/macintosh @@ -0,0 +1,1447 @@ +// $XFree86: xc/programs/xkbcomp/geometry/macintosh,v 1.3 2003/08/09 14:30:47 pascal Exp $ +// +// Some modifications () : +// - Added a key +// - Fixed the shape of the key +// - Moved to the 'AC' row +// - Added a special Macintosh sysctl key +// - Minor changes (Function keys shape, LED position...) + +// Minor changes +// - Mail address above is no longer valid +// - Changed {L,R}MTA to {L,R}WIN, which are defined +// 2005/10 -- Simon Vallet + +default xkb_geometry "macintosh" { + + description= "Apple Extended Keyboard II"; + width = 475; + height = 194; + + shape.cornerRadius= 1; + shape "NORM" { { [ 18,18] }, { [2,1], [ 16,17] } }; + shape "TLDE" { { [ 23,18] }, { [2,1], [ 21,17] } }; + shape "BKSP" { { [ 33,18] }, { [2,1], [ 31,17] } }; + shape "TAB" { { [ 33,18] }, { [2,1], [ 31,17] } }; + shape "RTRN" { + { [0,0],[23,0],[23,37],[4,37],[4,18],[0,18] }, + { [2,1],[21,1],[21,36],[6,36],[6,17],[2,17] } }; + shape "CAPS" { { [ 37,18] }, { [2,1], [ 35,17] } }; + shape "LCTL" { { [ 28,18] }, { [2,1], [ 26,17] } }; + shape "LALT" { { [ 22,18] }, { [2,1], [ 20,17] } }; + shape "LMTA" { { [ 28,18] }, { [2,1], [ 26,17] } }; + shape "LFSH" { { [ 28,18] }, { [2,1], [ 26,17] } }; + shape "RCTL" { { [ 28,18] }, { [2,1], [ 26,17] } }; + shape "RALT" { { [ 22,18] }, { [2,1], [ 20,17] } }; + shape "RMTA" { { [ 28,18] }, { [2,1], [ 26,17] } }; + shape "RTSH" { { [ 47,18] }, { [2,1], [ 45,17] } }; + shape "SPCE" { { [123,18] }, { [2,1], [121,17] } }; + shape "KP0" { { [ 37,18] }, { [2,1], [ 35,17] } }; + shape "KPEN" { { [ 18,37] }, { [2,1], [ 16,36] } }; + // Macintosh keyboards have a special sysctl key at the top right + shape "AAPL" { + { [ 0,0], [ 18,0], [ 18,18], [ 0,18] }, + { [ 1,1], [ 17,1], [ 17,17], [ 1,17] }, + { [ 8,5], [ 8,12], [ 2,9] } }; + + shape "LEDS" { cornerRadius = 0, { [ 55,19] } }; + shape "LED" { cornerRadius = 0, { [ 8, 2] } }; + + solid "LedPanel" { + shape= "LEDS"; + top = 48; + left = 378; + }; + + indicator.onColor= "green"; + indicator.offColor= "green30"; + indicator.top = 50; + indicator.shape= "LED"; + indicator "NumLock" { left = 381; }; + indicator "CapsLock" { left = 398; }; + indicator "ScrollLock" { left = 415; }; + text.top= 55; + text.color= "black"; + text "NumLockLabel" { left = 381; text = "Num\nLock"; }; + text "CapsLockLabel" { left = 398; text = "Caps\nLock"; }; + text "ScrollLockLabel" { left = 415; text = "Scroll\nLock"; }; + + section.left= 19; + row.left= 1; + key.shape= "NORM"; + key.gap= 1; + + section "Function" { + top = 48; + row { + top= 1; + keys { , + { , 20 }, , , , + { , 11 }, , , , + { , 11 }, , , , + { , 10 }, , , + // This is the sysctl key on macintosh keyboards + // keycode is 222 with a 4.21 kernel, which is + { , "AAPL", 67 } + }; + }; + }; // End of "Function" section + + section "Alpha" { + top = 87; + row { + top= 1; + keys { { , "TLDE" }, , , , + , , , , , , + , , , { , "BKSP" } + }; + }; + row { + top= 20; + keys { { , "TAB" }, , , , + , , , , , , + , , , { , "RTRN" } + }; + }; + row { + top= 39; + keys { { , "CAPS" }, , , , + , , , , , , + , , + }; + }; + row { + top= 58; + keys { { , "LFSH" }, , , , + , , , , , , + , , { , "RTSH" } + }; + }; + row { + top= 77; + keys { { , "LCTL" }, { , "LALT" }, + { , "LMTA" }, + { , "SPCE" }, + { , "RMTA" }, + { , "RALT" }, { , "RCTL" } + }; + }; + }; // End of "Alpha" section + + section "Editing" { + top = 87; + left = 314; + row { + top= 1; + keys { , , }; + }; + row { + top= 20; + keys { , , }; + }; + row { + top= 58; + left= 20; + keys { }; + }; + row { + top= 77; + keys { , , }; + }; + }; // End of "Editing" section + + // Begin of "Keypad" section + section "Keypad" { + top = 87; + left = 380; + row { + top= 1; + keys { , , , }; + }; + row { + top= 20; + keys { , , , }; + }; + row { + top= 39; + keys { , , , }; + }; + row { + top= 58; + keys { , , , { , "KPEN" } }; + }; + row { + top= 77; + keys { { , "KP0" }, }; + }; + }; // End of "Keypad" section + +}; // End of "default" geometry + + +// This section describes the geometry of the "Apple Pro" keyboard +// included with NewWorld desktop machines +// +// It adds four new keysyms, labeled SDDN, SDUP, SDNO, EJCT. +// +// 2005/10 -- Simon Vallet + +xkb_geometry "applepro" { + + description= "Apple Pro Keyboard"; + width = 455; + height = 150; + + shape.cornerRadius= 1; + shape "NORM" { { [ 18, 18] }, { [2, 1], [ 16, 15] } }; + shape "FUNC" { { [ 18, 21] }, { [2, 1], [ 16, 16] } }; + shape "BKSP" { { [ 38, 18] }, { [2, 1], [ 36, 15] } }; + shape "TAB" { { [ 29, 18] }, { [2, 1], [ 26, 15] } }; + shape "LFSH" { { [ 28, 18] }, { [2, 1], [ 26, 15] } }; + shape "RTSH" { { [ 47, 18] }, { [2, 1], [ 45, 15] } }; + + shape "RTRN" { + { [0,0],[27,0],[27,37],[4,37],[4,18],[0,18] }, + { [2,1],[25,1],[25,34],[6,34],[6,15],[2,15] } }; + + shape "CAPS" { { [ 32, 18] }, { [2, 1], [ 26, 15] } }; + shape "LCTL" { { [ 28, 20] }, { [2, 1], [ 26, 17] } }; + shape "RCTL" { { [ 28, 20] }, { [2, 1], [ 26, 17] } }; + shape "LALT" { { [ 23, 20] }, { [2, 1], [ 21, 17] } }; + shape "RALT" { { [ 23, 20] }, { [2, 1], [ 21, 17] } }; + shape "LMTA" { { [ 28, 20] }, { [2, 1], [ 26, 17] } }; + shape "RMTA" { { [ 28, 20] }, { [2, 1], [ 26, 17] } }; + shape "SPCE" { { [121, 20] }, { [3, 1], [118, 17] } }; + shape "BOTM" { { [ 18, 20] }, { [2, 1], [ 16, 17] } }; + + shape "KP0" { { [ 37, 20] }, { [2, 1], [ 35, 17] } }; + shape "KPEN" { { [ 18, 39] }, { [2, 1], [ 16, 36] } }; + + section.left = 7; + row.left = 1; + key.gap = 1; + key.shape = "NORM"; + + section "Function" { + key.shape = "FUNC"; + top = 26; + row { + top= 1; + keys { , + { , 14 }, , , , + { , 14 }, , , , + { , 14 }, , , , + { , 11 }, , , + { , 11 }, , , + }; + }; + }; // End of "Function" section + + + section "Alpha" { + top = 48; + row { + top= 1; + keys { , , , , + , , , , , , + , , , { , "BKSP" } + }; + }; + row { + top= 20; + keys { { , "TAB" }, , , , + , , , , , , + , , , { , "RTRN" } + }; + }; + row { + top= 39; + keys { { , "CAPS" }, , , , + , , , , , , + , , + }; + }; + row { + top= 58; + keys { { , "LFSH" }, , , , + , , , , , , + , , { , "RTSH" } + }; + }; + row { + top= 77; + keys { { , "LCTL" }, { , "LALT" }, + { , "LMTA" }, + { , "SPCE" }, + { , "RMTA" }, + { , "RALT" }, { , "RCTL" } + }; + }; + }; // End of "Alpha" section + + section "Editing" { + top = 48; + left = 303; + row { + top= 1; + keys { , , }; + }; + row { + top= 20; + keys { , , }; + }; + row { + top= 58; + left= 20; + keys { }; + }; + row { + top= 77; + key.shape = "BOTM"; + keys { , , }; + }; + }; // End of "Editing" section + + // Begin of "Keypad" section + section "Keypad" { + top = 48; + left = 370; + row { + top= 1; + keys { , , , }; + }; + row { + top= 20; + keys { , , , }; + }; + row { + top= 39; + keys { , , , }; + }; + row { + top= 58; + keys { , , , { , "KPEN" } }; + }; + row { + top= 77; + keys { { , "KP0" }, { , "BOTM" } }; + }; + }; // End of "Keypad" section + +}; // End of "applepro" geometry + +xkb_geometry "macbook78" { + + description= "Apple Laptop 78-key (US)"; + width= 273; + height= 110; + + shape.cornerRadius= 0; + shape "ESC" { { [ 21,9] }, cornerRadius=1, { [0,1], [ 19,8] } }; + shape "FUNC" { { [ 18,9] }, cornerRadius=1, { [2,1], [ 16,8] } }; + shape "EJCT" { { [ 20,9] }, cornerRadius=1, { [2,1], [ 20,8] } }; + shape "DEGR" { { [ 16,18] }, cornerRadius=1, { [0,2], [ 14,16] } }; + shape "NORM" { { [ 18,18] }, cornerRadius=1, { [2,2], [ 16,16] } }; + shape "BKSP" { { [ 25,18] }, cornerRadius=1, { [2,2], [ 25,16] } }; + shape "TABK" { { [ 24,18] }, cornerRadius=1, { [0,2], [ 22,16] } }; + shape "BKSL" { { [ 17,18] }, cornerRadius=1, { [2,2], [17,16] } }; + shape "RTRN" { { [ 31,18] }, cornerRadius=1, { [2,2], [31,16] } }; + shape "CAPS" { { [ 29,18] }, cornerRadius=1, { [0,2], [ 27,16] } }; + shape "LFSH" { { [ 40,18] }, cornerRadius=1, { [0,2], [ 38,16] } }; + shape "RTSH" { { [ 39,18] }, cornerRadius=1, { [2,2], [ 39,16] } }; + shape "APPL" { { [ 23,18] }, cornerRadius=1, { [2,2], [ 21,16] } }; + shape "SPCE" { { [ 94,18] }, cornerRadius=1, { [2,2], [ 92,16] } }; + shape "ARRO" { { [ 17,9] }, cornerRadius=1, { [2,1], [ 15,8] } }; + + shape "LED" { cornerRadius= 1, { [ 2, 2 ] } }; + + indicator.onColor= "green"; + indicator.offColor= "gray"; + indicator.shape= "LED"; + indicator "Num Lock" { top=4; left= 119; }; + indicator "Caps Lock" { top=53; left= 4; }; + + section.left=0; + row.left= 1; + key.shape= "FUNC"; + key.gap= 1; + section "Function" { + top= 0; + row { + top= 1; + keys { {, "ESC" }, + , , , , + , , , , + , , , , + {, "EJCT" } + }; + }; + }; // End of "Function" section + + key.shape= "NORM"; + section "Alpha" { + top= 10; + row { + top= 1; + keys { {, "DEGR"}, + , , , , + , , , , + , , , , + { , "BKSP" } + }; + }; + row { + top= 20; + keys { { , "TABK"}, + , , , , , + , , , , , + , , + { , "BKSL" } + }; + }; + row { + top= 39; + keys { { , "CAPS" }, + , , , , , + , , , , , + , + { , "RTRN" } + }; + }; + row { + top= 58; + keys { { , "LFSH"}, + , , , , , + , , , , , + { , "RTSH" } + }; + }; + row { + top= 77; + keys { {, "DEGR"}, + , , + {, "APPL"}, + {, "SPCE" }, + {, "APPL"}, + + }; + }; + + }; // End of "Alpha" section + + key.shape= "ARRO"; + section "Editing" { + top = 86; + left = 217; + row { + top= 1; + left= 19; + keys { }; + }; + row { + top= 10; + keys { , , }; + }; + }; // End of "Editing" section + + alias = ; + alias = ; + +}; + +xkb_geometry "macbook79" { + + description= "Apple Laptop 79-key (Intl)"; + width= 273; + height= 110; + + shape.cornerRadius= 0; + shape "ESC" { { [ 21,9] }, cornerRadius=1, { [0,1], [ 19,8] } }; + shape "FUNC" { { [ 18,9] }, cornerRadius=1, { [2,1], [ 16,8] } }; + shape "EJCT" { { [ 20,9] }, cornerRadius=1, { [2,1], [ 20,8] } }; + shape "DEGR" { { [ 16,18] }, cornerRadius=1, { [0,2], [ 14,16] } }; + shape "NORM" { { [ 18,18] }, cornerRadius=1, { [2,2], [ 16,16] } }; + shape "BKSP" { { [ 25,18] }, cornerRadius=1, { [2,2], [ 25,16] } }; + shape "TABK" { { [ 24,18] }, cornerRadius=1, { [0,2], [ 22,16] } }; + shape "RTRN" { { [ 0,0], [17,0], [17,37], [5,37], [5, 18], [0,18], [0,0] }, + cornerRadius=1, + { [ 2,2], [15,2], [15,35], [7,35], [7, 16], [2,16] } + }; + shape "CAPS" { { [ 29,18] }, cornerRadius=1, { [0,2], [ 27,16] } }; + shape "LFSH" { { [ 21,18] }, cornerRadius=1, { [0,2], [ 19,16] } }; + shape "RTSH" { { [ 39,18] }, cornerRadius=1, { [2,2], [ 39,16] } }; + shape "APPL" { { [ 23,18] }, cornerRadius=1, { [2,2], [ 21,16] } }; + shape "SPCE" { { [ 94,18] }, cornerRadius=1, { [2,2], [ 92,16] } }; + shape "ARRO" { { [ 17,9] }, cornerRadius=1, { [2,1], [ 15,8] } }; + + shape "LED" { cornerRadius= 1, { [ 2, 2 ] } }; + + indicator.onColor= "green"; + indicator.offColor= "gray"; + indicator.shape= "LED"; + indicator "Num Lock" { top=4; left= 119; }; + indicator "Caps Lock" { top=53; left= 4; }; + + section.left=0; + row.left= 1; + key.shape= "FUNC"; + key.gap= 1; + section "Function" { + top= 0; + row { + top= 1; + keys { {, "ESC" }, + , , , , + , , , , + , , , , + {, "EJCT" } + }; + }; + }; // End of "Function" section + + key.shape= "NORM"; + section "Alpha" { + top= 10; + row { + top= 1; + keys { {, "DEGR"}, + , , , , + , , , , + , , , , + { , "BKSP" } + }; + }; + row { + top= 20; + keys { { , "TABK"}, + , , , , , + , , , , , + , , { , "RTRN" } + }; + }; + row { + top= 39; + keys { { , "CAPS" }, + , , , , , + , , , , , + , + }; + }; + row { + top= 58; + keys { { , "LFSH"}, + , , , , , , + , , , , , + { , "RTSH" } + }; + }; + row { + top= 77; + keys { {, "DEGR"}, + , , + {, "APPL"}, + {, "SPCE" }, + {, "APPL"}, + + }; + }; + + }; // End of "Alpha" section + + key.shape= "ARRO"; + section "Editing" { + top = 86; + left = 217; + row { + top= 1; + left= 19; + keys { }; + }; + row { + top= 10; + keys { , , }; + }; + }; // End of "Editing" section + + alias = ; + alias = ; + +}; // End of "default" geometry + + +// Aluminium Keyboard, ANSI model (United States, 109 keys) +xkb_geometry "applealu_ansi" { + + width= 430; + height= 113.5; + + baseColor= "white"; + labelColor= "black"; + xfont= "-*-helvetica-medium-r-normal--*-80-*-*-*-*-iso8859-1"; + description= "Aluminium Keyboard (ANSI)"; + + shape "NORM" { + corner= 1, + { [ 15.5, 15 ] } + }; + shape "FUNC" { + corner= 1, + { [ 16.1, 9 ] } + }; + shape "FUNS" { + corner= 1, + { [ 15.5, 9 ] } + }; + shape "BKSP" { + corner= 1, + { [ 24.5, 15 ] } + }; + shape "TAB" { + corner= 1, + { [ 24.5, 15 ] } + }; + shape "RTRN" { + corner= 1, + { [ 29.5, 15 ] } + }; + shape "CAPS" { + corner= 1, + { [ 29.5, 15 ] } + }; + shape "LCTL" { + corner= 1, + { [ 25, 18 ] } + }; + shape "LALT" { + corner= 1, + { [ 20, 18 ] } + }; + shape "LMTA" { + corner= 1, + { [ 25, 18 ] } + }; + shape "LFSH" { + corner= 1, + { [ 39, 15 ] } + }; + shape "RCTL" { + corner= 1, + { [ 25, 18 ] } + }; + shape "RALT" { + corner= 1, + { [ 20, 18 ] } + }; + shape "RMTA" { + corner= 1, + { [ 25, 18 ] } + }; + shape "RTSH" { + corner= 1, + { [ 39, 15 ] } + }; + shape "SPCE" { + corner= 1, + { [ 110.5, 18 ] } + }; + shape "KP0" { + corner= 1, + { [ 34.5, 18 ] } + }; + shape "KPEN" { + corner= 1, + { [ 15.5, 36.5 ] } + }; + shape "KPDT" { + corner= 1, + { [ 15.5, 18 ] } + }; + shape "LED" { + corner= 0.5, + { [ 1.5, 1.5 ] } + }; + + section "Function" { + key.color= "white"; + priority= 7; + top= 4.5; + left= 4.7; + width= 420.5; + height= 10; + row { + top= 0; + left= 0; + keys { + { , "FUNC", 0 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.5 }, + { , "FUNS", 11.5 }, { , "FUNS", 3.5 }, + { , "FUNS", 3.5 }, { , "FUNS", 11.5 }, + { , "FUNS", 3.5 }, { , "FUNS", 3.5 }, + { , "FUNS", 3.5 } + }; + }; + }; // End of "Function" section + + section "Alpha" { + key.color= "white"; + priority= 8; + top= 17; + left= 5; + width= 271.5; + height= 92; + row { + top= 0; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "BKSP", 3.5 } + }; + }; + row { + top= 18.5; + left= 0; + keys { + { , "TAB", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 } + + }; + }; + row { + top= 37; + left= 0; + keys { + { , "CAPS", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "RTRN", 3.5 } + }; + }; + row { + top= 55.5; + left= 0; + keys { + { , "LFSH", 0 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "RTSH", 3.5 } + }; + }; + row { + top= 74; + left= 0; + keys { + { , "LCTL", 0 }, { , "LALT", 3.5 }, + { , "LMTA", 3.5 }, { , "SPCE", 3.5 }, + { , "RMTA", 3.5 }, { , "RALT", 3.5 }, + { , "RCTL", 3.5 } + }; + }; + }; // End of "Alpha" section + + section "Editing" { + key.color= "white"; + priority= 9; + top= 17; + left= 287.7; + width= 53.5; + height= 92; + row { + top= 0; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 } + }; + }; + row { + top= 18.5; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 } + }; + }; + row { + top= 58.5; + left= 19; + keys { + { , "NORM", 0 } + }; + }; + row { + top= 77; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 } + }; + }; + }; // End of "Editing" section + + section "Keypad" { + key.color= "white"; + priority= 10; + top= 17; + left= 352.7; + width= 72.5; + height= 92; + row { + top= 0; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 } + }; + }; + row { + top= 18.5; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 } + }; + }; + row { + top= 37; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 } + }; + }; + row { + top= 55.5; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "KPEN", 3.5 } + }; + }; + row { + top= 74; + left= 0; + keys { + { , "KP0", 0 }, { , "KPDT", 3.5 } + }; + }; + }; // End of "Keypad" section + + indicator "Caps Lock" { + top= 56; + left= 6.7; + priority= 2; + onColor= "green"; + offColor= "gray"; + shape= "LED"; + }; + +}; + +// Aluminium Keyboard, ISO model (International, 110 keys) +xkb_geometry "applealu_iso" { + + width= 430; + height= 113.5; + + baseColor= "white"; + labelColor= "black"; + xfont= "-*-helvetica-medium-r-normal--*-80-*-*-*-*-iso8859-1"; + description= "Aluminium Keyboard (ISO)"; + + shape "NORM" { + corner= 1, + { [ 15.5, 15 ] } + }; + shape "FUNC" { + corner= 1, + { [ 16.1, 9 ] } + }; + shape "FUNS" { + corner= 1, + { [ 15.5, 9 ] } + }; + shape "BKSP" { + corner= 1, + { [ 24.5, 15 ] } + }; + shape "TAB" { + corner= 1, + { [ 24.5, 15 ] } + }; + shape "RTRN" { + corner= 1, + { [ 0, 0 ], [ 15.5 , 0 ], [ 15.5 , 33.5 ], [ 5, 33.5 ], + [ 5, 15 ], [ 0, 15 ] } + }; + shape "CAPS" { + corner= 1, + { [ 29.5, 15 ] } + }; + shape "LCTL" { + corner= 1, + { [ 25, 18 ] } + }; + shape "LALT" { + corner= 1, + { [ 20, 18 ] } + }; + shape "LMTA" { + corner= 1, + { [ 25, 18 ] } + }; + shape "LFSH" { + corner= 1, + { [ 20, 15 ] } + }; + shape "RCTL" { + corner= 1, + { [ 25, 18 ] } + }; + shape "RALT" { + corner= 1, + { [ 20, 18 ] } + }; + shape "RMTA" { + corner= 1, + { [ 25, 18 ] } + }; + shape "RTSH" { + corner= 1, + { [ 39, 15 ] } + }; + shape "SPCE" { + corner= 1, + { [ 110.5, 18 ] } + }; + shape "KP0" { + corner= 1, + { [ 34.5, 18 ] } + }; + shape "KPEN" { + corner= 1, + { [ 15.5, 36.5 ] } + }; + shape "KPDT" { + corner= 1, + { [ 15.5, 18 ] } + }; + shape "LED" { + corner= 0.5, + { [ 1.5, 1.5 ] } + }; + + section "Function" { + key.color= "white"; + priority= 7; + top= 4.5; + left= 4.7; + width= 420.5; + height= 10; + row { + top= 0; + left= 0; + keys { + { , "FUNC", 0 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.5 }, + { , "FUNS", 11.5 }, { , "FUNS", 3.5 }, + { , "FUNS", 3.5 }, { , "FUNS", 11.5 }, + { , "FUNS", 3.5 }, { , "FUNS", 3.5 }, + { , "FUNS", 3.5 } + }; + }; + }; // End of "Function" section + + section "Alpha" { + key.color= "white"; + priority= 8; + top= 17; + left= 5; + width= 271.5; + height= 92; + row { + top= 0; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "BKSP", 3.5 } + }; + }; + row { + top= 18.5; + left= 0; + keys { + { , "TAB", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "RTRN", 3.5 } + }; + }; + row { + top= 37; + left= 0; + keys { + { , "CAPS", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 } + }; + }; + row { + top= 55.5; + left= 0; + keys { + { , "LFSH", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "RTSH", 3.5 } + }; + }; + row { + top= 74; + left= 0; + keys { + { , "LCTL", 0 }, { , "LALT", 3.5 }, + { , "LMTA", 3.5 }, { , "SPCE", 3.5 }, + { , "RMTA", 3.5 }, { , "RALT", 3.5 }, + { , "RCTL", 3.5 } + }; + }; + }; // End of "Alpha" section + + section "Editing" { + key.color= "white"; + priority= 9; + top= 17; + left= 287.7; + width= 53.5; + height= 92; + row { + top= 0; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 } + }; + }; + row { + top= 18.5; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 } + }; + }; + row { + top= 58.5; + left= 19; + keys { + { , "NORM", 0 } + }; + }; + row { + top= 77; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 } + }; + }; + }; // End of "Editing" section + + section "Keypad" { + key.color= "white"; + priority= 10; + top= 17; + left= 352.7; + width= 72.5; + height= 92; + row { + top= 0; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 } + }; + }; + row { + top= 18.5; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 } + }; + }; + row { + top= 37; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 } + }; + }; + row { + top= 55.5; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "KPEN", 3.5 } + }; + }; + row { + top= 74; + left= 0; + keys { + { , "KP0", 0 }, { , "KPDT", 3.5 } + }; + }; + }; // End of "Keypad" section + + indicator "Caps Lock" { + top= 56; + left= 6.7; + priority= 2; + onColor= "green"; + offColor= "gray"; + shape= "LED"; + }; + +}; + +// Aluminium Keyboard, JIS model (Japanese, 112 keys) +xkb_geometry "applealu_jis" { + + width= 430; + height= 113.5; + + baseColor= "white"; + labelColor= "black"; + xfont= "-*-helvetica-medium-r-normal--*-80-*-*-*-*-iso8859-1"; + description= "Aluminium Keyboard (JIS)"; + + shape "NORM" { + corner= 1, + { [ 15.5, 15 ] } + }; + shape "FUNC" { + corner= 1, + { [ 16.1, 9 ] } + }; + shape "FUNS" { + corner= 1, + { [ 15.5, 9 ] } + }; + shape "KEY1" { + corner= 1, + { [ 24.5, 15 ] } + }; + shape "BKSP" { + corner= 1, + { [ 15.5, 15 ] } + }; + shape "TAB" { + corner= 1, + { [ 15.5, 15 ] } + }; + shape "RTRN" { + corner= 1, + { [ 0, 0 ], [ 24.5 , 0 ], [ 24.5 , 33.5 ], [ 4.5, 33.5 ], + [ 4.5, 15 ], [ 0, 15 ] } + }; + shape "CAPS" { + corner= 1, + { [ 35, 18 ] } + }; + shape "LCTL" { + corner= 1, + { [ 20, 15 ] } + }; + shape "LALT" { + corner= 1, + { [ 27, 18 ] } + }; + shape "LMTA" { + corner= 1, + { [ 27, 18 ] } + }; + shape "LFSH" { + corner= 1, + { [ 29.5, 15 ] } + }; + shape "EISU" { + corner= 1, + { [ 20, 18 ] } + }; + shape "RCTL" { + corner= 1, + { [ 27, 18 ] } + }; + shape "RALT" { + corner= 1, + { [ 27, 18 ] } + }; + shape "RMTA" { + corner= 1, + { [ 27, 18 ] } + }; + shape "RTSH" { + corner= 1, + { [ 29.5, 15 ] } + }; + shape "KANA" { + corner= 1, + { [ 20, 18 ] } + }; + shape "SPCE" { + corner= 1, + { [ 64, 18 ] } + }; + shape "KPDT" { + corner= 1, + { [ 15.5, 18 ] } + }; + shape "KPEN" { + corner= 1, + { [ 15.5, 36.5 ] } + }; + shape "LED" { + corner= 0.5, + { [ 1.5, 1.5 ] } + }; + + section "Function" { + key.color= "white"; + priority= 7; + top= 4.5; + left= 4.7; + width= 420.5; + height= 10; + row { + top= 0; + left= 0; + keys { + { , "FUNC", 0 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.6 }, + { , "FUNC", 3.5 }, { , "FUNC", 3.5 }, + { , "FUNS", 11.5 }, { , "FUNS", 3.5 }, + { , "FUNS", 3.5 }, { , "FUNS", 11.5 }, + { , "FUNS", 3.5 }, { , "FUNS", 3.5 }, + { , "FUNS", 3.5 } + }; + }; + }; // End of "Function" section + + section "Alpha" { + key.color= "white"; + priority= 8; + top= 17; + left= 5; + width= 271.5; + height= 92; + row { + top= 0; + left= 0; + keys { + { , "KEY1", 0 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "BKSP", 3.5 } + }; + }; + row { + top= 18.5; + left= 0; + keys { + { , "TAB", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "RTRN", 3.5 } + }; + }; + row { + top= 37; + left= 0; + keys { + { , "LCTL", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 } + }; + }; + row { + top= 55.5; + left= 0; + keys { + { , "LFSH", 0 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "RTSH", 3.5 } + }; + }; + row { + top= 74; + left= 0; + keys { + { , "LALT", 0 }, { , "LMTA", 3.5 }, + { , "EISU", 3.5 }, { , "SPCE", 3.5 }, + { , "KANA", 3.5 }, { , "RMTA", 3.5 }, + { , "RALT", 3.5 }, { , "CAPS", 3.5 } + }; + }; + }; // End of "Alpha" section + + section "Editing" { + key.color= "white"; + priority= 9; + top= 17; + left= 287.7; + width= 53.5; + height= 92; + row { + top= 0; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 } + }; + }; + row { + top= 18.5; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 } + }; + }; + row { + top= 58.5; + left= 19; + keys { + { , "NORM", 0 } + }; + }; + row { + top= 77; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 } + }; + }; + }; // End of "Editing" section + + section "Keypad" { + key.color= "white"; + priority= 10; + top= 17; + left= 352.7; + width= 72.5; + height= 92; + row { + top= 0; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 } + }; + }; + row { + top= 18.5; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 } + }; + }; + row { + top= 37; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "NORM", 3.5 } + }; + }; + row { + top= 55.5; + left= 0; + keys { + { , "NORM", 0 }, { , "NORM", 3.5 }, + { , "NORM", 3.5 }, { , "KPEN", 3.5 } + }; + }; + row { + top= 74; + left= 0; + keys { + { , "KPDT", 0 }, { , "KPDT", 3.5 }, + { , "KPDT", 3.5 } + }; + }; + }; // End of "Keypad" section + + indicator "Caps Lock" { + top= 93; + left= 273.2; + priority= 2; + onColor= "green"; + offColor= "gray"; + shape= "LED"; + }; + +}; -- cgit v1.2.3