Add 3 new Apple Aluminum keyboard layout files and update and rename the

existing 'Apple Aluminium' keyboard layout to 'Apple Aluminium Extended
International.' The 3 new layout files are US mini and extended version
as well as an international mini version. This completes #7964

International corresponds to keyboard layouts for all locales except the US
and Japan. I have Japanese Apple Aluminum keyboard layout files almost
ready but I first need to determine what the special kana and eisu keys
are mapped to.

The Apple Aluminum keyboard layout files are tucked away in an Apple Aluminum
subdirectory. The Keymap preference app has been modified to turn
subdirectories into submenus of the Layout menu.

HaikuImage has been modified to include each keyboard layout file in the 
image individually as recommended by Ingo.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43093 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
John Scipione
2011-11-02 04:30:44 +00:00
parent 001f379993
commit 08cd4bc208
7 changed files with 224 additions and 52 deletions
@@ -1,4 +1,4 @@
name = Apple aluminium
name = Apple Aluminium Extended International
# Size shortcuts
default-size = 10,10
@@ -15,9 +15,8 @@ $f = 10,20
$two = 20,10
# Key rows
[ 0,0; 4,5:-; d$fn:0x01; $fn:+12; d$fn:0x00; 5,6:-; 10,6:0x04+2; 5,6:-;
10,6:+4 ]
[ 0,6; 4,5:-; :0x11+12; d$back:+; $b:-; d:+3; $b:-; d:+1; d:0x6a; d:0x23+1 ]
[ 0,0; 4,5:-; d$fn:0x01; $fn:+12; 15.5,6:-; 10,6:0x70068; 10,6:+2; 5,6:-; 10,6:+4; ]
[ 0,6; 4,5:-; :0x11+12; d$back:+; $b:-; :-; d:0x20; d:+1; $b:-; d:+1; d:0x6a; d:0x23+1 ]
[ 0,16; 4,5:-; d$d:0x26; :+12; d$e:0x47; $b:-; d:0x34-0x36; $b:-; :+3; d:0x25 ]
[ 0,26; 4,5:led-caps; # integrated into caps key
d17,10:0x3b; :+11; :0x33; 50,10:-; :0x48-0x4a; d:0x3a ]
@@ -0,0 +1,27 @@
name = Apple Aluminium International
# Size shortcuts
default-size = 10,10
$back = 17,10
$fn = 10.5,6
$lshift = 13,10
$b = 2,12
$d = 15,10
$e = l12,20,8
$f = 10,20
$two = 20,10
$last = 10,12
$cmd = 14,12
$arrow = 10,6
# Key rows
[ 0,0; 4,5:-; d$fn:0x01; $fn:+12; ]
[ 0,6; 4,5:-; :0x11+12; d$back:+; ]
[ 0,16; 4,5:-; d$d:0x26; :+12; d$e:0x47; ]
[ 0,26; 4,5:led-caps; # integrated into caps key
d17,10:0x3b; :+11; :0x33; ]
[ 0,36; 4,5:-; d$lshift:0x4b; :0x69; :0x4c+9; d24,10:+1; ]
[ 0,46; 4,5:-; d$last:-; # fn key
d$last:0x5c; d$last:0x5d; d$cmd:0x66; 49,12:0x5e; d$cmd:0x67;
d$last:0x5f; $arrow:-; d$arrow:0x57; $arrow:-; ]
[ 121,52; d$arrow:0x61+2; ]
@@ -0,0 +1,24 @@
name = Apple Aluminum (US)
# Size shortcuts
default-size = 10,10
$back = 17,10
$fn = 10.5,6
$b = 2,12
$f = 10,20
$two = 20,10
$last = 10,12
$cmd = 14,12
$arrow = 10,6
# Key rows
[ 0,0; 4,5:-; d$fn:0x01; $fn:+12; ]
[ 0,6; 4,5:-; :0x11+12; d$back:+; ]
[ 0,16; 4,5:-; d17,10:0x26; :+13; ]
[ 0,26; 4,5:led-caps; # integrated into caps key
d19,10:0x3b; :+11; d18,10:0x47; ]
[ 0,36; 4,5:-; d24,10:0x4b; :+10; d23,10:+1; ]
[ 0,46; 4,5:-; d$last:-; # fn key
d$last:0x5c; d$last:0x5d; d$cmd:0x66; 49,12:0x5e; d$cmd:0x67;
d$last:0x5f; $arrow:-; d$arrow:0x57; $arrow:-; ]
[ 121,52; d$arrow:0x61+2; ]
@@ -0,0 +1,23 @@
name = Apple Aluminum Extended (US)
# Size shortcuts
default-size = 10,10
$back = 17,10
$fn = 10.5,6
$shift = 24,10
$ctrl = 14,10
$alt = 12,10
$cmd = 14,10
$b = 5,10
$f = 10,20
$two = 20,10
# Key rows
[ 0,0; 4,5:-; d$fn:0x01; $fn:+12; 15.5,6:-; 10,6:0x70068; 10,6:+2; 5,6:-; 10,6:+4; ]
[ 0,6; 4,5:-; :0x11+12; d$back:+; $b:-; :-; d:0x20; d:+1; $b:-; d:+1; d:0x6a; d:0x23+1 ]
[ 0,16; 4,5:-; 0,16; 4,5:-; d17,10:0x26; :+13; $b:-; d:0x34-0x36; $b:-; :+3; d:0x25 ]
[ 0,26; 4,5:led-caps; # integrated into caps key
d19,10:0x3b; :+11; d18,10:0x47; 40,10:-; :0x48-0x4a; d:0x3a ]
[ 0,36; 4,5:-; d24,10:0x4b; :+10; d23,10:+1; 15,10:-; d:+1; 15,10:-; :+3; d$f:+1 ]
[ 0,46; 4,5:-; d$ctrl:0x5c; d$alt:0x5d; d$cmd:0x66; 67,10:0x5e; d$cmd:0x67;
d$alt:0x5f; d$ctrl:0x60; $b:-; d:+3; $b:-; $two:+1; :+1 ]