Re: esc detector wont run -- 'out of scope'
Brian Puthuff <[email protected]> Sat, 18 Mar 2017 09:44:46 -0700
| Newsgroups | gmane.comp.lib.sdl |
|---|---|
| Message-ID | <CAPh_eMFsNP7V6ns72C5vKzpPNwPyriMMBvLTQUuvhh-RioufmQ@mail.gmail.com> |
--===============1390464180795165780== Content-Type: multipart/alternative; boundary=001a1146f40211a117054b04035c --001a1146f40211a117054b04035c Content-Type: text/plain; charset=UTF-8 I agree also. I thought there was some caveat that you needed a window open to receive input events. On Mar 18, 2017 9:17 AM, "DLudwig" <[email protected]> wrote: capehill wrote: Do you have a window open? Does Control-C work? I'd like to second the above. Many platforms need a window open, before input can be received. Using either SDL_CreateWindowAndRenderer, or just SDL_CreateWindow, once beforehand at app init, may be sufficient to fix this. -- David L. _______________________________________________ SDL mailing list [email protected] http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org --001a1146f40211a117054b04035c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">I agree also. I thought there was some caveat that you ne= eded a window open to receive input events.<div><br><div class=3D"gmail_ext= ra"><br><div class=3D"gmail_quote">On Mar 18, 2017 9:17 AM, "DLudwig&q= uot; <<a href=3D"mailto:[email protected]" target=3D"_blank">dludwig@pob= ox.com</a>> wrote:<br type=3D"attribution"><blockquote class=3D"m_-69604= 13267979535433quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;= padding-left:1ex"><u></u> <div> <div class=3D"m_-6960413267979535433m_2903935743177732369postbody"><div al= ign=3D"center"><br><br><table width=3D"90%" align=3D"center" cellspacing=3D= "1" cellpadding=3D"2" border=3D"0" class=3D"m_-6960413267979535433m_2903935= 743177732369quote"><tbody><tr><td><br> </td></tr><tr>=20 <td class=3D"m_-6960413267979535433m_2903935743177732369quote_user" align= =3D"left">capehill wrote:</td><td><br> </td></tr><tr><td><br> </td></tr><tr> <td class=3D"m_-6960413267979535433m_2903935743177732369quote" align=3D"le= ft">Do you have a window open? Does Control-C work?</td><td><br> </td></tr><tr><td><br> </td></tr></tbody></table></div><br> <br> I'd like to second the above.<br> <br> Many platforms need a window open, before input can be received. Using eit= her SDL_CreateWindowAndRenderer, or just SDL_CreateWindow, once beforehand = at app init, may be sufficient to fix this.<br> <br> -- David L.</div> </div> <br>______________________________<wbr>_________________<br> SDL mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">[email protected].= org</a><br> <a href=3D"http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org" rel=3D"nore= ferrer" target=3D"_blank">http://lists.libsdl.org/listin<wbr>fo.cgi/sdl-lib= sdl.org</a><br> <br></blockquote></div><br></div></div></div> --001a1146f40211a117054b04035c-- --===============1390464180795165780== 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 --===============1390464180795165780==--