Discussion:
[SDL] Linux numlock?
Mark Sibly
2017-04-08 23:31:18 UTC
Permalink
Hi,

The 'numlock' modifier for linux seems to be inverted.

If I start an app with numlock physically 'on', keydown events report
numlock 'off' in keysym.mod.

If I start an app with numlock physically 'off', keydown events report
numlock 'on'. TextInput events for numbers are also generated with numlock
physically 'off'.

Bye!
Mark
Mark Sibly
2017-04-08 23:37:20 UTC
Permalink
Actually, ignore the above 'numlock' problem - this is happening with all
apps, not just SDL ones. Anyone heard of this?
Post by Mark Sibly
Hi,
The 'numlock' modifier for linux seems to be inverted.
If I start an app with numlock physically 'on', keydown events report
numlock 'off' in keysym.mod.
If I start an app with numlock physically 'off', keydown events report
numlock 'on'. TextInput events for numbers are also generated with numlock
physically 'off'.
Bye!
Mark
Ed Phillips
2017-04-09 00:00:38 UTC
Permalink
After the keydown event triggers, numlock is off, right?

-- Ed
Actually, ignore the above 'numlock' problem - this is happening with all apps, not just SDL ones. Anyone heard of this?
Post by Mark Sibly
Hi,
The 'numlock' modifier for linux seems to be inverted.
If I start an app with numlock physically 'on', keydown events report numlock 'off' in keysym.mod.
If I start an app with numlock physically 'off', keydown events report numlock 'on'. TextInput events for numbers are also generated with numlock physically 'off'.
Bye!
Mark
_______________________________________________
SDL mailing list
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Continue reading on narkive:
Loading...