use utf8;
use strict;
use warnings;
use Shiar_Sheet::KeyboardChars 'kbchars';

my %rows = (
	'~' => "\N{COMBINING CEDILLA}",
	'`' => '§',
	'!' => "\N{COMBINING GRAVE ACCENT}",
	'1' => '¬',
	'@' => "\N{COMBINING ACUTE ACCENT}",
	'2' => '¤',
	'#' => "\N{COMBINING VERTICAL LINE BELOW}",
	'3' => '₵',
	'$' => '€',
	'4' => '£',
	'%' => '°', # assume misaligned
	'5' => '₦',
	'^' => "\N{COMBINING DOT ABOVE}",
	'6' => "\N{COMBINING DOT BELOW}",
	'&' => "\N{COMBINING DIAERESIS}",
	'7' => "\N{COMBINING DIAERESIS BELOW}",
	'*' => "\N{COMBINING TILDE}",
	'8' => "\N{COMBINING TILDE BELOW}",
	'(' => "\N{COMBINING CIRCUMFLEX ACCENT}",
	'9' => "\N{COMBINING CIRCUMFLEX ACCENT BELOW}",
	')' => "\N{COMBINING CARON}",
	'0' => "\N{COMBINING CARON BELOW}",
	'-' => "\N{COMBINING MACRON BELOW}",
	'_' => "\N{COMBINING MACRON}",
	'+' => "\N{COMBINING BRIDGE ABOVE}",
	'=' => "\N{COMBINING BRIDGE BELOW}",

	'Q' => 'Ɵ',
	'W' => 'Ɛ',
	'E' => 'Ǝ',
	'R' => 'Ɍ',
	'T' => 'Ʈ',
	'Y' => 'Ƴ', # subtle
	'U' => 'Ʊ',
	'I' => 'Ɨ',
	'O' => 'Ɖ',
	'P' => 'Ƥ', # different lowercase
	'{' => '¶',
	'}' => 'μ',

	'A' => 'Ʌ',
	'S' => 'Ʃ',
	'D' => 'Ɗ',
	'F' => 'Ƒ',
	'G' => 'Ɂ', # probably caseless ʔ
	'H' => 'Ħ', # different uppercase
	'J' => 'Ɉ', # lowercase shown dotless
	'K' => 'Ƙ', # subtle
	'L' => 'Ɩ',
	':' => 'Œ',
	';' => 'œ',

	'Z' => 'Ʒ',
	'X' => 'Ɣ',
	'C' => 'Ɔ',
	'V' => 'Ʋ',
	'B' => 'Ɓ',
	'N' => 'Ŋ',
	'M' => 'Ɲ',
	'<' => '«',
	'>' => '»',
	'?' => 'Æ',
	'/' => 'æ',
);

$rows{lc $_} //= lc $rows{$_} for 'A'..'Z';

my $groups = kbchars(\%rows);

+{
	%{ $groups },
	version => '1.0',
	title => 'Boyeg',
	category => 'latin',
	intro => join("\n",
		'Commercial product by',
		'<a href="https://keyboardafrica.com/" target="_blank">Keyboard Africa</a>',
		'providing <a href="/unicode">Unicode</a> characters',
		'for various African languages while pressing',
		# Ewe, Baoule, Akan, Dagbani, Hausa, Temme, Ewondo, Igbo, Fon, Wolof, Fulfide, Berber, IIshan, Fula, Dyula, Yoruba, Itsekiri, Konkomba, Kanuri, Dan, Luhya, Bukusu, Gusii, Meru, Kikuyu, English, French, Spanish and more
		'<em title="additional key left of right Ctrl">Fn</em>.',
	),
	description => [
		"Boyeg Keyboard layout table with its Fn modifier key",
		"providing latin letters and accents for various African languages.",
	],
	image => 'data/keyboard/thumb/boyeg.jpg',
	imagealt => 'Fn on the Boyeg Office Keyboard',
}
