abouttreesummaryrefslogcommitdiff
diff options
context:
space:
mode:
authorJules Aguillon2022-11-01 21:44:49 +0100
committerJules Aguillon2022-11-01 21:44:49 +0100
commit7edfd81db1465923cd2c245dace40bd1d3280528 (patch)
treee8b59d721be51a899753b039010d70b8dfb26d03
parent67e46e2da3c0a9fd6d79edad489eaa3692714bf5 (diff)
downloadunexpected-keyboard-7edfd81db1465923cd2c245dace40bd1d3280528.tar.gz
unexpected-keyboard-7edfd81db1465923cd2c245dace40bd1d3280528.zip
Use '₹' instead of '₨' in Hindi
₨ is Shift+₹.
-rw-r--r--res/xml/hindi.xml2
-rw-r--r--srcs/juloo.keyboard2/KeyModifier.java1
2 files changed, 2 insertions, 1 deletions
diff --git a/res/xml/hindi.xml b/res/xml/hindi.xml
index cf8e038..a8787a4 100644
--- a/res/xml/hindi.xml
+++ b/res/xml/hindi.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<keyboard>
<row>
- <key key0="ौ" key1="औ" key2="₨" key3="esc" key4="१"/>
+ <key key0="ौ" key1="औ" key2="₹" key3="esc" key4="१"/>
<key key0="ै" key1="ऐ" key2="ऍ" key3="¶" key4="२"/>
<key key0="ा" key1="आ" key2="ॅ" key3="ग़" key4="३"/>
<key key0="ी" key1="ई" key2="ज्ञ" key3="ज़" key4="४"/>
diff --git a/srcs/juloo.keyboard2/KeyModifier.java b/srcs/juloo.keyboard2/KeyModifier.java
index fc98b93..2bb4e08 100644
--- a/srcs/juloo.keyboard2/KeyModifier.java
+++ b/srcs/juloo.keyboard2/KeyModifier.java
@@ -359,6 +359,7 @@ class KeyModifier
return 'II'. To make 'İ' accessible, make it the shift of 'ı'. This
has the inconvenient of swapping i and ı on the keyboard. */
case 'ı': return 'İ';
+ case '₹': return '₨';
default: return c;
}
}