X-Git-Url: http://git.shiar.net/sheet.git/blobdiff_plain/b55f16d857eb0de23413f042f61462c06f7f14e7..17e692e15f94c64b89ec740856aa0b42087a675b:/keyboard/altgr/windows.eng.inc.pl?ds=inline
diff --git a/keyboard/altgr/windows.eng.inc.pl b/keyboard/altgr/windows.eng.inc.pl
index fe1438b..252884d 100644
--- a/keyboard/altgr/windows.eng.inc.pl
+++ b/keyboard/altgr/windows.eng.inc.pl
@@ -1,20 +1,75 @@
use utf8;
use strict;
use warnings;
+use Shiar_Sheet::KeyboardChars 'kbchars';
+
my @az = ('A'..'Z', 'a'..'z');
my @letters = qw(
à B ¢ à à F G H à J Šà µ à à à à ® § à à V Ã
X Ã Ã
á b © ð é f g h à j Šø µ ñ ó ö ä ® à þ ú v å x ü æ
);
-our %rows = map {
- ($az[$_] eq $letters[$_]) ? () :
- ($az[$_] => $letters[$_])
-} 0 .. $#az;
+my %xkb = (
+ '@' => "\N{COMBINING DOUBLE ACUTE ACCENT}",
+ '#' => "\N{COMBINING MACRON}",
+ '%' => "\N{COMBINING CEDILLA}",
+ '&' => "\N{COMBINING HORN}",
+ '*' => "\N{COMBINING OGONEK}",
+ '(' => "\N{COMBINING BREVE}",
+ ')' => "\N{COMBINING RING ABOVE}",
+ '_' => "\N{COMBINING DOT BELOW}",
+ '>' => "\N{COMBINING CARON}",
+ '.' => "\N{COMBINING DOT ABOVE}",
+ '?' => "\N{COMBINING HOOK ABOVE}",
+);
+
+my %rows = (
+ '~' => "\N{COMBINING TILDE}",
+ '`' => "\N{COMBINING GRAVE ACCENT}",
+ '!' => '¹',
+ '1' => '¡',
+ '2' => '²',
+ '3' => '³',
+ '$' => '£',
+ '4' => '¤',
+ '5' => 'â¬',
+ '^' => "\N{COMBINING CIRCUMFLEX ACCENT}",
+ '6' => '¼',
+ '7' => '½',
+ '8' => '¾',
+ '9' => 'â',
+ '0' => 'â',
+ '-' => 'Â¥',
+ '+' => '÷',
+ '=' => 'Ã',
+ '{' => 'â',
+ '}' => 'â',
+ '[' => '«',
+ ']' => '»',
+ ':' => '°',
+ ';' => '¶',
+ "'" => "\N{COMBINING ACUTE ACCENT}",
+ '"' => "\N{COMBINING DIAERESIS}",
+ '<' => 'Ã',
+ ',' => 'ç',
+ '/' => '¿',
+ '|' => '¦',
+ '\\'=> '¬',
+ %xkb,
+ map {
+ ($az[$_] eq $letters[$_]) ? () :
+ ($az[$_] => $letters[$_])
+ } 0 .. $#az
+);
+
+my $groups = kbchars(\%rows);
+$groups->{def}{''}{$_} .= ' ext' for keys %xkb;
+$groups->{flag}{ext} = ['xkb', 'unofficial extensions added in Linux (Gnome, KDE)'];
+{
- %{ do 'keyboard/altgr/groups.inc.pl' },
+ %{$groups},
title => 'Windows AltGr',
- version => '1.3',
+ category => 'latin/windows',
+ version => '1.4',
intro => join("\n",
'Resulting selection of Unicode characters',
'while pressing the AltGr modifier',
@@ -25,6 +80,6 @@ our %rows = map {
"Windows US international keyboard layout table",
"with the AltGr modifier key.",
],
- image => 'keyboard/altgr/ibmmkey.jpg',
- moderows => '21-',
+ image => 'data/keyboard/thumb/ku2971b-usint.jpg',
+ imagealt => 'AltGr on a KeyboardCompany KU2971B with USA International keycaps',
}