forked from pool/xkeyboard-config
* Add missing backslash/bar mapping on "us" international variants (fdo#68606, bnc#831823). - U_ara-digits-Generate-arabic-script-digits-also-on-key.patch * ara(digits): Generate arabic script digits also on keypad (fdo#68650, bnc#831823) - refreshed patches OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xkeyboard-config?expand=0&rev=93
56 lines
1.6 KiB
Diff
56 lines
1.6 KiB
Diff
From fcb91cb1013cbdd87a6f77533f188d5934f24046 Mon Sep 17 00:00:00 2001
|
|
From: Stefan Dirsch <sndirsch@suse.de>
|
|
Date: Thu, 29 Aug 2013 13:17:50 +0200
|
|
Subject: [PATCH 2/2] ara(digits): Generate arabic script digits also on keypad
|
|
(fdo#68650)
|
|
|
|
Signed-off-by: Stefan Dirsch <sndirsch@suse.de>
|
|
---
|
|
symbols/ara | 23 +++++++++++++++++++++++
|
|
1 file changed, 23 insertions(+)
|
|
|
|
diff --git a/symbols/ara b/symbols/ara
|
|
index c0d57ef..1944b25 100644
|
|
--- a/symbols/ara
|
|
+++ b/symbols/ara
|
|
@@ -100,6 +100,27 @@ xkb_symbols "azerty" {
|
|
};
|
|
|
|
partial alphanumeric_keys
|
|
+xkb_symbols "digits_KP" {
|
|
+ name[Group1]= "Arabic (digits_KP)";
|
|
+
|
|
+ // use arabic script digits on KP
|
|
+
|
|
+ key <KP7> { [ KP_Home, 0x1000667 ] }; //
|
|
+ key <KP8> { [ KP_Up, 0x1000668 ] }; //
|
|
+ key <KP9> { [ KP_Prior, 0x1000669 ] }; //
|
|
+
|
|
+ key <KP4> { [ KP_Left, 0x1000664 ] }; //
|
|
+ key <KP5> { [ KP_Begin, 0x1000665 ] }; //
|
|
+ key <KP6> { [ KP_Right, 0x1000666 ] }; //
|
|
+
|
|
+ key <KP1> { [ KP_End, 0x1000661 ] }; //
|
|
+ key <KP2> { [ KP_Down, 0x1000662 ] }; //
|
|
+ key <KP3> { [ KP_Next, 0x1000663 ] }; //
|
|
+
|
|
+ key <KP0> { [ KP_Insert, 0x1000660 ] }; //
|
|
+};
|
|
+
|
|
+partial alphanumeric_keys
|
|
xkb_symbols "digits" {
|
|
include "ara(basic)"
|
|
name[Group1]= "Arabic (digits)";
|
|
@@ -116,6 +137,8 @@ xkb_symbols "digits" {
|
|
key <AE08> { [ 0x1000668, asterisk ] };
|
|
key <AE09> { [ 0x1000669, parenright ] };
|
|
key <AE10> { [ 0x1000660, parenleft ] };
|
|
+
|
|
+ include "ara(digits_KP)"
|
|
};
|
|
|
|
partial alphanumeric_keys
|
|
--
|
|
1.8.1.4
|
|
|