summaryrefslogtreecommitdiff
path: root/symbols/vn
diff options
context:
space:
mode:
authorSergey Udaltsov <sergey.udaltsov@gmail.com>2018-10-03 01:07:44 +0100
committerSergey Udaltsov <sergey.udaltsov@gmail.com>2018-10-03 01:07:44 +0100
commit99384cd33c4df77fe0880a688f335dcc98f31013 (patch)
treeb0058efc4efe0c77485671095b55ef55ac8435e8 /symbols/vn
parent3d9928964a395cc4a818a81a7fa10bfc4af96b16 (diff)
New "Vietnamese (AĐERTY)" variant
https://bugs.freedesktop.org/show_bug.cgi?id=107196
Diffstat (limited to 'symbols/vn')
-rw-r--r--symbols/vn31
1 files changed, 30 insertions, 1 deletions
diff --git a/symbols/vn b/symbols/vn
index d1b9ea83..8516f4af 100644
--- a/symbols/vn
+++ b/symbols/vn
@@ -44,7 +44,7 @@ partial alphanumeric_keys
xkb_symbols "us" {
include "us(euro)"
- name[Group1]= "Vietnamese (US keyboard with Vietnamese letters)";
+ name[Group1]= "Vietnamese (US, with Vietnamese letters)";
key <TLDE> { [dead_grave, dead_tilde, grave, asciitilde ] };
key <AE04> { [ 4, dollar, DongSign, currency ] }; // ₫ ¤
@@ -88,3 +88,32 @@ xkb_symbols "fr" {
key <AB07> { [ dead_hook, question, comma ] };
key <AB08> { [dead_belowdot, period, semicolon ] };
};
+
+
+// EXTRAS:
+
+// Vietnamese AÐERTY (60s typewriters adaptation)
+//
+// Copyright (C) 2018, Florent Gallaire Phong <f@gallai.re>
+
+partial alphanumeric_keys
+xkb_symbols "aderty" {
+
+ include "fr(basic)"
+
+ name[Group1]="Vietnamese (AÐERTY)";
+
+ key <AE02> { [dead_tilde, 2, eacute, asciitilde ] };
+ key <AE04> { [dead_acute, 4, apostrophe, braceleft ] };
+ key <AE07> { [dead_grave, 7, egrave, grave ] };
+
+ key <AD02> { [ dstroke, Dstroke, z, Z ] }; // đ Đ
+ key <AD12> { [ dollar, sterling, DongSign, currency ] }; // ₫ ¤
+
+ key <AC04> { [ uhorn, Uhorn, f, F ] }; // ư Ư
+ key <AC07> { [ ohorn, Ohorn, j, J ] }; // ơ Ơ
+
+ key <AB01> { [ abreve, Abreve, w, W ] }; // ă Ă
+ key <AB07> { [ dead_hook, question, comma ] };
+ key <AB08> { [dead_belowdot, period, semicolon ] };
+};