Linux numlock?

Mark Sibly <[email protected]> Sun, 9 Apr 2017 11:31:18 +1200
Newsgroups gmane.comp.lib.sdl
Message-ID <CADKwnze=TaywL_39QXyEEs4fn6XigaDSWzu+QZQHW0=P7ZQJ0A@mail.gmail.com>
--===============1764580897269288665==
Content-Type: multipart/alternative; boundary=94eb2c0d2a92f9e302054cb02501

--94eb2c0d2a92f9e302054cb02501
Content-Type: text/plain; charset=UTF-8

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

--94eb2c0d2a92f9e302054cb02501
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>The &#39;numlock&#39; modifier for =
linux seems to be inverted.</div><div><br></div><div>If I start an app with=
 numlock physically &#39;on&#39;, keydown events report numlock &#39;off&#3=
9; in keysym.mod.<br></div><div><br></div><div><div>If I start an app with =
numlock physically &#39;off&#39;, keydown events report numlock &#39;on&#39=
;. TextInput events for numbers are also generated with numlock physically =
&#39;off&#39;.</div><div><br></div><div>Bye!</div><div>Mark</div><div><br><=
/div><div><br></div></div></div>

--94eb2c0d2a92f9e302054cb02501--

--===============1764580897269288665==
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

--===============1764580897269288665==--