summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Le Marre <dev@wismill.eu>2024-02-14 08:28:12 +0100
committerPierre Le Marre <dev@wismill.eu>2024-02-14 08:28:12 +0100
commitcc79edb0bf6879d83893fa2f9b3a0640870d3d15 (patch)
treedc0ed56b2a46913f03eeec83e7923a0e53eaf2ef
parent06a88885fee923c5778cc8675679870edc98af77 (diff)
Add option `eurosign:E`
-rw-r--r--rules/0042-o_s.part1
-rw-r--r--rules/base.xml8
-rw-r--r--symbols/eurosign8
3 files changed, 16 insertions, 1 deletions
diff --git a/rules/0042-o_s.part b/rules/0042-o_s.part
index c047f3ec..d03decde 100644
--- a/rules/0042-o_s.part
+++ b/rules/0042-o_s.part
@@ -92,6 +92,7 @@
nbsp:zwnj2nb3nnb4 = +nbsp(zwnj2nb3nnb4)
nbsp:zwnj3zwj4 = +nbsp(zwnj3zwj4)
eurosign:e = +eurosign(e)
+ eurosign:E = +eurosign(E)
eurosign:2 = +eurosign(2)
eurosign:4 = +eurosign(4)
eurosign:5 = +eurosign(5)
diff --git a/rules/base.xml b/rules/base.xml
index ad4df7c8..f19fd5bb 100644
--- a/rules/base.xml
+++ b/rules/base.xml
@@ -7955,7 +7955,13 @@
<option>
<configItem>
<name>eurosign:e</name>
- <description>Euro on E</description>
+ <description>Euro on E, third level</description>
+ </configItem>
+ </option>
+ <option>
+ <configItem>
+ <name>eurosign:E</name>
+ <description>Euro on E, fourth level</description>
</configItem>
</option>
<option>
diff --git a/symbols/eurosign b/symbols/eurosign
index 0d95a900..3b5f66da 100644
--- a/symbols/eurosign
+++ b/symbols/eurosign
@@ -1,9 +1,17 @@
// Most keyboards have the EuroSign engraved on the E key
+// EuroSign on E, level 3
partial
xkb_symbols "e" {
key <AD03> { [ NoSymbol, NoSymbol, EuroSign, NoSymbol ] };
};
+// EuroSign on E, level 4
+// Alternative to eurosing(e) to keep 3rd level symbol.
+partial
+xkb_symbols "E" {
+ key <AD03> { [ NoSymbol, NoSymbol, NoSymbol, EuroSign ] };
+};
+
// Many Apple keyboards have the EuroSign engraved on the 2 key
partial
xkb_symbols "2" {