git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
keyboard/altgr: proper function to convert char maps
[sheet.git]
/
keyboard
/
altgr
/
macos-abc.eng.inc.pl
diff --git
a/keyboard/altgr/macos-abc.eng.inc.pl
b/keyboard/altgr/macos-abc.eng.inc.pl
index 18c7bed1d05369b0a7d60f6a3b3cc4c67d89c2e3..f4a4a0023d6c2192fb5a2c045e58e760594dba06 100644
(file)
--- a/
keyboard/altgr/macos-abc.eng.inc.pl
+++ b/
keyboard/altgr/macos-abc.eng.inc.pl
@@
-1,7
+1,9
@@
use utf8;
use strict;
use warnings;
use utf8;
use strict;
use warnings;
-our %rows = (
+do './keyboard/altgr/groups.inc.pl';
+
+my %rows = (
'A' => "\N{MACRON}",
'a' => "\N{COMBINING MACRON}",
'B' => "\N{BREVE}",
'A' => "\N{MACRON}",
'a' => "\N{COMBINING MACRON}",
'B' => "\N{BREVE}",
@@
-181,7
+183,7
@@
our %rows = (
'>b' => 'ɓ',
);
'>b' => 'ɓ',
);
-my $groups =
do './keyboard/altgr/groups.inc.pl'
;
+my $groups =
kbchars(\%rows)
;
$groups->{mode} = {
'' => 'option-shifted ⌥',
':' => '№ number prefix ⌥:',
$groups->{mode} = {
'' => 'option-shifted ⌥',
':' => '№ number prefix ⌥:',