[pedevel] Re: Wrong input from keypad when NumLock is off
- From: Oliver Tappe <pedevel@xxxxxxxxxxxxxxx>
- To: pedevel@xxxxxxxxxxxxx
- Date: Fri, 21 May 2004 17:13:03 +0200
Hi there,
On 2004-05-20 at 20:48:57 [+0200], BiPolar wrote:
>
> I was finally able to test your changes Oliver. Well, the thing is that
> now the keypad numbers work as expected while NumLock is ON but...
>
> - When NumLock is ON: the cursor keys (not on the keypad of course) do
> nothing :-/
Yep, I recently noticed that, too. Integrating B_NUM_LOCK into the
MODIFIERMASK was in fact breaking all bindings when num-lock was active.
I fixed this such that Pe now only looks at NUM_LOCK when the user has
actually pressed a keypad-key. This seems to work much better >;o)
> - When NumLock is OFF: only the Del ('.') keypad key work as expected.
> The other ones do nothing (dunno about "Ins ('0')" because there's no
> overwrite editing mode in Pe to test it).
I think the problem is that no bindings used to exist for these keys. I had
added these bindings to the standard bindings, but as you already have your
own bindings-file (.../settings/pe/keybindings) on your disk, this won't
have them.
Either remove the keybindings-file (only do that if you haven't changed a
lot of the bindings yourself) or add the appropriate bindings in the prefs
(it's only 8 keys, so that's what I did).
cheers,
Oliver
Other related posts: