From b81cfc8c61991a8f997340f5c67704d695c1fc21 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 18 Feb 2023 13:45:45 -0800 Subject: 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 --- app-defaults/XCalc | 10 ++++++++++ 1 file changed, 10 insertions(+) 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\ None7:digit(7)\n\ None8:digit(8)\n\ None9:digit(9)\n\ + Mod20:digit(0)\n\ + Mod21:digit(1)\n\ + Mod22:digit(2)\n\ + Mod23:digit(3)\n\ + Mod24:digit(4)\n\ + Mod25:digit(5)\n\ + Mod26:digit(6)\n\ + Mod27:digit(7)\n\ + Mod28:digit(8)\n\ + Mod29:digit(9)\n\ Shifta:digit(A)\n\ Shiftb:digit(B)\n\ Shiftc:digit(C)\n\ -- cgit v1.2.3