diff options
author | cs127 <cs127.pr@gmail.com> | 2023-03-20 13:03:08 +0000 |
---|---|---|
committer | Benno Schulenberg <bensberg@telfort.nl> | 2023-03-21 10:08:03 +0000 |
commit | eb3d0dae8565bce388a741b9997a7eb2d8e5e736 (patch) | |
tree | 0026d2fe2c0f1571848fba8d53763eed6c559737 | |
parent | e09f9f5328f102dad08ab42ed60da5cd09078cbe (diff) | |
download | xkeyboard-config-eb3d0dae8565bce388a741b9997a7eb2d8e5e736.tar.gz |
Add Persian digits to the Windows Persian variant
In Windows, the Persian layout has Latin (ASCII) digits only, and
some programs convert them to Persian digits as they are typed.
This type of conversion does not exist on most systems, including
freedesktop-based systems, making it impossible to type Persian digits
when using the Windows variant of the Persian keyboard layout.
This commit adds Persian digits to the third level of the number keys
on row E (AE01 - AE10).
-rw-r--r-- | symbols/ir | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -107,16 +107,16 @@ xkb_symbols "winkeys" { name[Group1]= "Persian (Windows)"; key <TLDE> { [ division, multiply ] }; - key <AE01> { [ 1, exclam, VoidSymbol, 0x100200d ] }; - key <AE02> { [ 2, at, VoidSymbol, 0x100200c ] }; - key <AE03> { [ 3, numbersign, VoidSymbol, 0x100200e ] }; - key <AE04> { [ 4, dollar, VoidSymbol, 0x100200f ] }; - key <AE05> { [ 5, percent ] }; - key <AE06> { [ 6, asciicircum ] }; - key <AE07> { [ 7, ampersand ] }; - key <AE08> { [ 8, asterisk ] }; - key <AE09> { [ 9, parenright ] }; - key <AE10> { [ 0, parenleft ] }; + key <AE01> { [ 1, exclam, Farsi_1, 0x100200d ] }; + key <AE02> { [ 2, at, Farsi_2, 0x100200c ] }; + key <AE03> { [ 3, numbersign, Farsi_3, 0x100200e ] }; + key <AE04> { [ 4, dollar, Farsi_4, 0x100200f ] }; + key <AE05> { [ 5, percent, Farsi_5 ] }; + key <AE06> { [ 6, asciicircum, Farsi_6 ] }; + key <AE07> { [ 7, ampersand, Farsi_7 ] }; + key <AE08> { [ 8, asterisk, Farsi_8 ] }; + key <AE09> { [ 9, parenright, Farsi_9 ] }; + key <AE10> { [ 0, parenleft, Farsi_0 ] }; key <AE11> { [ minus, underscore ] }; key <AE12> { [ equal, plus ] }; |