]> gitweb.factorcode.org Git - factor.git/commit
ui.backend.x11.keys: Enable numpad navigation keys for when numlock is off.
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 22 May 2020 23:04:06 +0000 (18:04 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Fri, 22 May 2020 23:18:31 +0000 (18:18 -0500)
commitb1f29dc49741a07788e59a74e015ae95ffebc92f
treef719d8aa44c9db134da1a613b4bbfe99f560998d
parent131c91b78600cb8e3269fa0c4f7d497e01e8fae6
ui.backend.x11.keys: Enable numpad navigation keys for when numlock is off.

I recently got a Model F keyboard and the arrow keys weren't mapped.

To see the keycodes on Linux:

```
IN: ui.backend.x11.keys
: code>sym ( code -- name/code/f action? )
    dup . flush
    dup codes at* [ nip dup t and ] when ;
```

Also try ``USE: gesture-logger``
basis/ui/backend/x11/keys/keys.factor