Add US and international keyboard layout files for ThinkPad, ThinkPad T400s,

ThinkPad X1 and ThinkPad X100e keyboards. The name of these layout files
correspond to the model that introduced them and should cover every US and
international laptop made by IBM and Lenovo except Japanese (and perhaps some
other Asian locale) versions.

Like the Apple Aluminum keyboard layouts these are neatly tucked away in a
ThinkPad submenu in the Keymap preference app.

Removed the 'IBM Laptop International' keyboard layout file which has been
superseded by 'ThinkPad International'. Closes #8021

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43094 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
John Scipione
2011-11-02 04:51:30 +00:00
parent 08cd4bc208
commit 8d15934d9b
9 changed files with 215 additions and 4 deletions
@@ -0,0 +1,27 @@
name = ThinkPad (US)
# Size shortcuts
default-size = 18,18
$s = 17,10
$gap = 6,10
$sgap = 5,10
$backspace = 38,18
$tab = 28,18
$caps = 32,18
$enter = d42,18
$lshift = 41,18
$rshift = 51,18
$lctrl = 23,18
$option = 13,18
$space = 95,18
# Key rows
[ 0,0; $s:0x01; 148,10:-; $s:0x0e+2; $sgap:-; $s:0x1f+2; ]
[ 0,10; $s:0x02+3; $gap:-; $s:+4; $gap:-; $s:+4; $sgap:-; $s:0x34+2; ]
[ 0,20; :0x11+12; $backspace:+1; ]
[ 0,38; $tab:0x26; :+12; 28,18:+1; ]
[ 0,56; $caps:0x3b; :+11; $enter:0x47; ]
[ 0,74; $lshift:0x4b; :0x4c+9; $rshift:+1 ]
[ 0,92; :-; $lctrl:0x5c; $option:0x66; :0x5d; $space:+1;
:+1; :0x68; :0x60; $s:0x9a; $s:0x57; $s:0x9b ]
[ 221,102; $s:0x61+2; ]
@@ -1,4 +1,4 @@
name = IBM Laptop International
name = ThinkPad International
# Size shortcuts
default-size = 18,18
@@ -17,10 +17,10 @@ $space = 95,18
# Key rows
[ 0,0; $s:0x01; 148,10:-; $s:0x0e+2; $sgap:-; $s:0x1f+2; ]
[ 0,10; $s:0x02+3; $gap:-; $s:+4; $gap:-; $s:+4; $sgap:-; $s:0x34+2; ]
[ 0,20; :0x11+12; $backspace:+1 ]
[ 0,20; :0x11+12; $backspace:+1; ]
[ 0,38; $tab:0x26; :+12; $enter:0x47; ]
[ 0,56; $caps:0x3b; :+11; :0x33 ]
[ 0,74; $l-shift-ctrl:0x4b; :0x69; :0x4c+9; $r-shift:+1 ]
[ 0,92; :0x99; $l-shift-ctrl:0x5c; $option:0x66; :0x5d; $space:+1;
[ 0,92; :-; $l-shift-ctrl:0x5c; $option:0x66; :0x5d; $space:+1;
:+1; :0x68; :0x60; $s:0x9a; $s:0x57; $s:0x9b ]
[ 221,102; $s:0x61+2; ]
@@ -0,0 +1,28 @@
name = ThinkPad T400s (US)
# Size shortcuts
default-size = 18,18
$s = 16,10
$sdouble = 16,20
$gap = 4,10
$backspace = 38,18
$tab = 28,18
$caps = 32,18
$enter = d42,18
$lshift = 41,18
$rshift = 51,18
$lctrl = 23,18
$option = 13,18
$space = 95,18
$arrow = 17,10
# Key rows
[ 0,0; $sdouble:0x01; 140,10:-; $s:0x0e+2; $s:0x1f; $gap:-; $sdouble:0x34; $s:0x20+1; ]
[ 0,10; 20,10:-; $s:0x02+3; $gap:-; $s:+4; $gap:-; $s:+4; 20,10:-; $s:0x35+1; ]
[ 0,20; :0x11+12; $backspace:+1; ]
[ 0,38; $tab:0x26; :+12; 28,18:+1; ]
[ 0,56; $caps:0x3b; :+11; $enter:0x47; ]
[ 0,74; $lshift:0x4b; :0x4c+9; $rshift:+1 ]
[ 0,92; :-; $lctrl:0x5c; $option:0x66; :0x5d; $space:+1;
:+1; :0x68; :0x60; $arrow:0x9a; $arrow:0x57; $arrow:0x9b ]
[ 221,102; $arrow:0x61+2; ]
@@ -0,0 +1,27 @@
name = ThinkPad T400s International
# Size shortcuts
default-size = 18,18
$s = 16,10
$sdouble = 16,20
$gap = 4,10
$backspace = 38,18
$tab = 28,18
$caps = 32,18
$enter = dl28,36,22
$l-shift-ctrl = 23,18
$r-shift = 51,18
$option = 13,18
$space = 95,18
$arrow = 17,10
# Key rows
[ 0,0; $sdouble:0x01; 140,10:-; $s:0x0e+2; $s:0x1f; $gap:-; $sdouble:0x34; $s:0x20+1; ]
[ 0,10; 20,10:-; $s:0x02+3; $gap:-; $s:+4; $gap:-; $s:+4; 20,10:-; $s:0x35+1; ]
[ 0,20; :0x11+12; $backspace:+1; ]
[ 0,38; $tab:0x26; :+12; $enter:0x47; ]
[ 0,56; $caps:0x3b; :+11; :0x33 ]
[ 0,74; $l-shift-ctrl:0x4b; :0x69; :0x4c+9; $r-shift:+1 ]
[ 0,92; :-; $l-shift-ctrl:0x5c; $option:0x66; :0x5d; $space:+1;
:+1; :0x68; :0x60; $arrow:0x9a; $arrow:0x57; $arrow:0x9b ]
[ 221,102; $arrow:0x61+2; ]
@@ -0,0 +1,28 @@
name = ThinkPad X1 (US)
# Size shortcuts
default-size = 18,18
$s = 15,10
$s2 = 23.5,10
$backspace = 38,18
$tab = 28,18
$caps = 32,18
$enter = d42,18
$lshift = 42,18
$rshift = 50,18
$lctrl = 24,20
$bottom = 18,20
$space = 90,20
$sarrow = 16,10
$arrow = 18,10
# Key rows
[ 0,0; $s2:0x01; $s:+12; $s:0x20; $s:0x35; $s:0x1f; $s2:0x34; ]
[ 0,10; :0x11+12; $backspace:+1; ]
[ 0,28; $tab:0x26; :+12; 28,18:+1; ]
[ 0,46; $caps:0x3b; :+11; $enter:0x47; ]
[ 0,64; $lshift:0x4b; :0x4c+9; $rshift:+1 ]
[ 0,82; $bottom:-; $lctrl:0x5c; $bottom:0x66; $bottom:0x5d; $space:+1;
$bottom:+1; $bottom:0x0e; $bottom:0x60; $sarrow:0x21; $arrow:0x57;
$sarrow:0x36; ]
[ 222,92; $sarrow:0x61; $arrow:0x62; $sarrow:0x63; ]
@@ -0,0 +1,28 @@
name = ThinkPad X1 International
# Size shortcuts
default-size = 18,18
$s = 15,10
$s2 = 23.5,10
$backspace = 38,18
$tab = 28,18
$caps = 32,18
$enter = dl28,36,22
$lshift = 24,18
$rshift = 50,18
$lctrl = 24,20
$bottom = 18,20
$space = 90,20
$sarrow = 16,10
$arrow = 18,10
# Key rows
[ 0,0; $s2:0x01; $s:+12; $s:0x20; $s:0x35; $s:0x1f; $s2:0x34; ]
[ 0,10; :0x11+12; $backspace:+1; ]
[ 0,28; $tab:0x26; :+12; $enter:0x47; ]
[ 0,46; $caps:0x3b; :+11; :0x33 ]
[ 0,64; $lshift:0x4b; :0x69; :0x4c+9; $rshift:+1 ]
[ 0,82; $bottom:-; $lctrl:0x5c; $bottom:0x66; $bottom:0x5d; $space:+1;
$bottom:+1; $bottom:0x0e; $bottom:0x60; $sarrow:0x21; $arrow:0x57;
$sarrow:0x36; ]
[ 222,92; $sarrow:0x61; $arrow:0x62; $sarrow:0x63; ]
@@ -0,0 +1,26 @@
name = ThinkPad X100e (US)
# Size shortcuts
default-size = 19,18
$s = 15.5,10
$gap = 2.125,10
$backspace = 25,18
$tab = 25,18
$caps = 32,18
$enter = d31,18
$shift = 41,18
$bottom = 19,20
$space = 105,20
$sarrow = 17,10
$arrow = 19,10
# Key rows
[ 0,0; $s:0x01; $gap:-; $s:+4; $gap:-; $s:+4; $gap:-; $s:+4; $gap:-; $s:0x1f;
$s:0x34; $s:0x20; $s:0x35; ]
[ 0,10; :0x11+12; $backspace:+1; ]
[ 0,28; $tab:0x26; :+13; ]
[ 0,46; $caps:0x3b; :+11; $enter:0x47; ]
[ 0,64; $shift:0x4b; :0x4c+9; $shift:+1 ]
[ 0,82; $bottom:-; $bottom:0x5c; $bottom:0x66; $bottom:0x5d; $space:+1;
$bottom:+1; $bottom:0x60; 17,9:0x21; $arrow:0x57; 17,9:0x36; ]
[ 219,92; $sarrow:0x61; $arrow:0x62; $sarrow:0x63; ]
@@ -0,0 +1,29 @@
name = ThinkPad X100e International
# Size shortcuts
default-size = 19,18
$s = 15.5,10
$gap = 2.125,10
$backspace = 25,18
$tab = 27,18
$caps = 33,18
$small = 16,18
$enter = dl23,36,15
$lshift = 22,18
$rshift = 41,18
$bottom = 19,20
$space = 105,20
$sarrow = 17,10
$arrow = 19,10
# Key rows
[ 0,0; $s:0x01; $gap:-; $s:+4; $gap:-; $s:+4; $gap:-; $s:+4; $gap:-; $s:0x1f;
$s:0x34; $s:0x20; $s:0x35; ]
[ 0,10; :0x11+12; $backspace:+1; ]
[ 0,28; $tab:0x26; :+10; $small:+1; $small:+1; $enter:0x47; ]
[ 0,46; $caps:0x3b; :+10; $small:+1; $small:0x33; ]
[ 0,64; $lshift:0x4b; :0x69; :0x4c+9; $rshift:+1; ]
[ 0,82; $bottom:-; $bottom:0x5c; $bottom:0x66; $bottom:0x5d; $space:+1;
$bottom:+1; $bottom:0x60; 17,9:0x21; $arrow:0x57;
17,9:0x36; ]
[ 219,92; $sarrow:0x61; $arrow:0x62; $sarrow:0x63; ]