Re: Linux numlock?
Mark Sibly <[email protected]> Sun, 9 Apr 2017 11:37:20 +1200
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <CADKwnzfZBaTka44-h3uBG9dCsGOOcV+o_RDB_LJHT+isKK3VGQ@mail.gmail.com> |
--===============3634530474400436413== Content-Type: multipart/alternative; boundary=001a11491f7a95d844054cb03b9e --001a11491f7a95d844054cb03b9e Content-Type: text/plain; charset=UTF-8 Actually, ignore the above 'numlock' problem - this is happening with all apps, not just SDL ones. Anyone heard of this? On Sun, Apr 9, 2017 at 11:31 AM, Mark Sibly <[email protected]> wrote: > 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 > > > --001a11491f7a95d844054cb03b9e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Actually, ignore the above 'numlock' problem - thi= s is happening with all apps, not just SDL ones. Anyone heard of this?<div>= <br></div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">O= n Sun, Apr 9, 2017 at 11:31 AM, Mark Sibly <span dir=3D"ltr"><<a href=3D= "mailto:[email protected]" target=3D"_blank">[email protected]</a>&= gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 = 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir=3D"ltr">Hi,<di= v><br></div><div>The 'numlock' modifier for linux seems to be inver= ted.</div><div><br></div><div>If I start an app with numlock physically = 9;on', keydown events report numlock 'off' in keysym.mod.<br></= div><div><br></div><div><div>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'.</div><di= v><br></div><div>Bye!</div><span class=3D"HOEnZb"><font color=3D"#888888"><= div>Mark</div><div><br></div><div><br></div></font></span></div></div> </blockquote></div><br></div> --001a11491f7a95d844054cb03b9e-- --===============3634530474400436413== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org --===============3634530474400436413==--