summaryrefslogtreecommitdiff
path: root/app-defaults/XCalc
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-18 13:45:45 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-18 13:45:45 -0800
commitb81cfc8c61991a8f997340f5c67704d695c1fc21 (patch)
tree760b4c964c2a72408bb2aee9475f8f3405d28b74 /app-defaults/XCalc
parentd8e95b8b949970dbeeeeba73b1bc71d7f662e5cc (diff)
Accept number keys on main keyboard when NumLock is on
Adds translations with NumLock modifier active, since removing "None" from the existing translations would make shifted keys enter numbers instead of doing the operations corresponding to the shifted character. Fixes: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=173314 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'app-defaults/XCalc')
-rw-r--r--app-defaults/XCalc10
1 files changed, 10 insertions, 0 deletions
diff --git a/app-defaults/XCalc b/app-defaults/XCalc
index fa3684c..47e5b41 100644
--- a/app-defaults/XCalc
+++ b/app-defaults/XCalc
@@ -68,6 +68,16 @@ XCalc*ti.bevel.screen.LCD.translations: #replace\n\
None<Key>7:digit(7)\n\
None<Key>8:digit(8)\n\
None<Key>9:digit(9)\n\
+ Mod2<Key>0:digit(0)\n\
+ Mod2<Key>1:digit(1)\n\
+ Mod2<Key>2:digit(2)\n\
+ Mod2<Key>3:digit(3)\n\
+ Mod2<Key>4:digit(4)\n\
+ Mod2<Key>5:digit(5)\n\
+ Mod2<Key>6:digit(6)\n\
+ Mod2<Key>7:digit(7)\n\
+ Mod2<Key>8:digit(8)\n\
+ Mod2<Key>9:digit(9)\n\
Shift<Key>a:digit(A)\n\
Shift<Key>b:digit(B)\n\
Shift<Key>c:digit(C)\n\