summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Myllynen <myllynen@redhat.com>2012-02-20 17:01:21 +0200
committerJames Cloos <cloos@jhcloos.com>2012-02-21 09:15:13 -0500
commitab1fba1a0967ac2289909c3f1a643f876a5dd393 (patch)
treed37bd6c9ff0229682d840dcab3267a98446b31d8
parent67dd3bfe1ea20473944aec414d9f4b5eba196d8b (diff)
x11proto: add permille, ezh, and EZH to keysymdef.h
This patch adds the following mnemonic symbols: XK_permille for U+2030 PER MILLE SIGN XK_EZH for U+01B7 LATIN CAPITAL LETTER EZH XK_ezh for U+0292 LATIN SMALL LETTER EZH These are the last mnemonic symbols missing from the Finnish keyboard layout. The characters are part of the Finnish standard, ezh is used in Sami and permille sign is used commonly in Finland, probably in other countries as well. https://bugs.freedesktop.org/show_bug.cgi?id=19687 Signed-off-by: Marko Myllynen <myllynen@redhat.com> Reviewed-by: Matt Dew <marcoz@osource.org> Signed-off-by: James Cloos <cloos@jhcloos.com>
-rw-r--r--keysymdef.h11
-rw-r--r--specs/keysyms.xml6
2 files changed, 13 insertions, 4 deletions
diff --git a/keysymdef.h b/keysymdef.h
index 8d3ada2..ae73977 100644
--- a/keysymdef.h
+++ b/keysymdef.h
@@ -102,13 +102,13 @@ SOFTWARE.
* does not represent any existing Unicode character.
*
* When adding new keysyms to this file, do not forget to also update the
- * following:
+ * following as needed:
*
* - the mappings in src/KeyBind.c in the repo
- * git://anongit.freedesktop.org/xorg/lib/libX11
+ * git://anongit.freedesktop.org/xorg/lib/libX11.git
*
- * - the protocol specification in specs/XProtocol/X11.keysyms
- * in the repo git://anongit.freedesktop.org/xorg/doc/xorg-docs
+ * - the protocol specification in specs/keysyms.xml
+ * in the repo git://anongit.freedesktop.org/xorg/proto/x11proto.git
*
*/
@@ -1469,6 +1469,7 @@ SOFTWARE.
#define XK_leftdoublequotemark 0x0ad2 /* U+201C LEFT DOUBLE QUOTATION MARK */
#define XK_rightdoublequotemark 0x0ad3 /* U+201D RIGHT DOUBLE QUOTATION MARK */
#define XK_prescription 0x0ad4 /* U+211E PRESCRIPTION TAKE */
+#define XK_permille 0x0ad5 /* U+2030 PER MILLE SIGN */
#define XK_minutes 0x0ad6 /* U+2032 PRIME */
#define XK_seconds 0x0ad7 /* U+2033 DOUBLE PRIME */
#define XK_latincross 0x0ad9 /* U+271D LATIN CROSS */
@@ -1972,6 +1973,8 @@ SOFTWARE.
#define XK_obarred 0x1000275 /* U+0275 LATIN SMALL LETTER BARRED O */
#define XK_SCHWA 0x100018f /* U+018F LATIN CAPITAL LETTER SCHWA */
#define XK_schwa 0x1000259 /* U+0259 LATIN SMALL LETTER SCHWA */
+#define XK_EZH 0x10001b7 /* U+01B7 LATIN CAPITAL LETTER EZH */
+#define XK_ezh 0x1000292 /* U+0292 LATIN SMALL LETTER EZH */
/* those are not really Caucasus */
/* For Inupiak */
#define XK_Lbelowdot 0x1001e36 /* U+1E36 LATIN CAPITAL LETTER L WITH DOT BELOW */
diff --git a/specs/keysyms.xml b/specs/keysyms.xml
index 9c88ce7..e2fa0d0 100644
--- a/specs/keysyms.xml
+++ b/specs/keysyms.xml
@@ -4375,6 +4375,12 @@ already been deprecated by the introduction of the Unicode KEYSYMs.
<entry>Publish</entry>
</row>
<row>
+ <entry>#x0AD5</entry>
+ <entry>U+2030</entry>
+ <entry>PER MILLE SIGN</entry>
+ <entry>Publish</entry>
+ </row>
+ <row>
<entry>#x0AD6</entry>
<entry>U+2032</entry>
<entry>MINUTES</entry>