<div dir="auto">Ok, handlesKeyboard is unnecesary, you can delete it. Also in mouseEnter: and mouseLeave: remove the calls to newKeyboardFocus: and releaseKeyboardFocus:. Then it seems to work fine.</div><div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Jun 4, 2026 at 15:12 Luciano Notarfrancesco <<a href="mailto:luchiano@gmail.com">luchiano@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">I’ll look at the problems with Spacewar!, should be easy to update to the latest image.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 4, 2026 at 03:16 Hilaire Fernandes via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div text="#000000" bgcolor="#FFFFFF">
<p><font size="4" style="color:rgb(0,0,0)">Hi, </font></p>
<p><font size="4" style="color:rgb(0,0,0)">The spacewar! game from the book is broken due to
changes in keyboard handling, and maybe mouse.</font></p>
<p><font size="4" style="color:rgb(0,0,0)"> Observed issues:</font></p>
<ul>
<li><font size="4" style="color:rgb(0,0,0)">handlesKeyboard not used anymore. How to
proceed?</font></li>
<li><font size="4" style="color:rgb(0,0,0)">mouseEnter/mouseLeave does not work, while
handlesMouseOver: answer true, strange</font></li>
<li><font size="4" style="color:rgb(0,0,0)">the game does not get the keyboard focus.</font></li>
</ul>
<p>A bit confused.</p>
<p>Hilaire</p></div><div text="#000000" bgcolor="#FFFFFF">
<pre cols="72" style="font-family:monospace">--
<a href="http://mamot.fr/@drgeo" style="font-family:monospace" target="_blank">http://mamot.fr/@drgeo</a></pre>
</div>
-- <br>
Cuis-dev mailing list<br>
<a href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote></div></div>
</blockquote></div></div>