Re: Linux numlock?
Ed Phillips <[email protected]> Sat, 8 Apr 2017 20:00:38 -0400
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <[email protected]> |
--===============0653631552251210378== Content-Type: multipart/alternative; boundary=Apple-Mail-97C83A3F-E0F8-4695-834D-F1BA14EA9305 Content-Transfer-Encoding: 7bit --Apple-Mail-97C83A3F-E0F8-4695-834D-F1BA14EA9305 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable After the keydown event triggers, numlock is off, right? -- Ed > On Apr 8, 2017, at 7:37 PM, Mark Sibly <[email protected]> wrote: >=20 > Actually, ignore the above 'numlock' problem - this is happening with all a= pps, not just SDL ones. Anyone heard of this? >=20 >=20 >> On Sun, Apr 9, 2017 at 11:31 AM, Mark Sibly <[email protected]> wrote= : >> Hi, >>=20 >> The 'numlock' modifier for linux seems to be inverted. >>=20 >> If I start an app with numlock physically 'on', keydown events report num= lock 'off' in keysym.mod. >>=20 >> If I start an app with numlock physically 'off', keydown events report nu= mlock 'on'. TextInput events for numbers are also generated with numlock phy= sically 'off'. >>=20 >> Bye! >> Mark >>=20 >>=20 >=20 > _______________________________________________ > SDL mailing list > [email protected] > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org --Apple-Mail-97C83A3F-E0F8-4695-834D-F1BA14EA9305 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D= utf-8"></head><body dir=3D"auto"><div>After the keydown event triggers, numl= ock is off, right?<br><br>-- Ed</div><div><br>On Apr 8, 2017, at 7:37 PM, Ma= rk Sibly <<a href=3D"mailto:[email protected]">[email protected]<= /a>> wrote:<br><br></div><blockquote type=3D"cite"><div><div dir=3D"ltr">= Actually, ignore the above 'numlock' problem - this is happening with all ap= ps, not just SDL ones. Anyone heard of this?<div><br></div></div><div class=3D= "gmail_extra"><br><div class=3D"gmail_quote">On Sun, Apr 9, 2017 at 11:31 AM= , Mark Sibly <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" t= arget=3D"_blank">[email protected]</a>></span> wrote:<br><blockquote c= lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p= adding-left:1ex"><div dir=3D"ltr">Hi,<div><br></div><div>The 'numlock' modif= ier for linux seems to be inverted.</div><div><br></div><div>If I start an a= pp with numlock physically 'on', keydown events report numlock 'off' in keys= ym.mod.<br></div><div><br></div><div><div>If I start an app with numlock phy= sically 'off', keydown events report numlock 'on'. TextInput events for numb= ers are also generated with numlock physically 'off'.</div><div><br></div><d= iv>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> </div></blockquote><blockquote type=3D"cite"><div><span>____________________= ___________________________</span><br><span>SDL mailing list</span><br><span= ><a href=3D"mailto:[email protected]">[email protected]</a></span><br>= <span><a href=3D"http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org">http:/= /lists.libsdl.org/listinfo.cgi/sdl-libsdl.org</a></span><br></div></blockquo= te></body></html>= --Apple-Mail-97C83A3F-E0F8-4695-834D-F1BA14EA9305-- --===============0653631552251210378== 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 --===============0653631552251210378==--