On 2022.08.24 17:21, Walter Dnes wrote:
On Wed, Aug 24, 2022 at 01:07:52PM -0400, Jack wrote
> On my keyboard, those corner keys on the keypad are End, PgDn, PgUp,
> and NumLock, all of which have their own keys elsewhere on the
> keyboard.. When you say angled arrow keys, do you mean that
literally,
> or are you just talking about the corner keys of the keypad? I
don't
> recall ever seeng a literal angled arrow on a keyboard.
No literal arrows. But an old OS/2 game I enjoy, treats the numeric
keypads as...
{HOME} ==> move up and to the left
{PgUp} ==> move up and to the right
{END} ==> move down and to the left
{PgDn} ==> move down and to the right
I have tried {HOME}, {PgUp}, {END}, {PgDn} on the Thinkpad but the
game did not respond. If I attach a big clunky regular USB keyboard,
it
works as expected.
Ah - I expect the game is interpreting keycodes fairly directly. You
can use xev (or similar) to find what the various keys are currently
producing, and there must be some (Xorg related) program to translate
them to whatever the program is expecting - perhaps determined by using
xev with a "proper" keyboard. Wasn't there an early rogue-like game
that used some of the main keys in the same way, but without invoking
the numeric keypad?