On 4 October 2011 09:43, Kevin Cantu <m...@kevincantu.org> wrote: > Thanks, that seems to have done the trick. > > Now, tomorrow I'm going to have to read up on how to fix some simpler > layout problems. :) > https://github.com/killerswan/wxAsteroids/issues/1 > > -- > Kevin Cantu > Santa Barbara, CA | m...@kevincantu.org > > > > On Mon, Oct 3, 2011 at 11:54 AM, carlos gomez <carliro...@gmail.com> wrote: >> The problem is that the keyboard events are not been listened (I think >> because of the focus), but I remember I changed the window >> listenner to another window or panel, and then it worked.
Ah, interesting. I had a similar problem under Linux, where keyboard events were not being detected. My 'workaround' was to use 'tab' to change the focus within the window to the panel which had the even listener, only when it had focus were keyboard events triggered. Subsequently someone suggested that "WXCore.windowSetFocus" could be used, it takes in the panel which needs focus and worked for me. Dave, >> >> On 3 October 2011 05:28, Kevin Cantu <m...@kevincantu.org> wrote: >>> >>> I was just trying out wxAsteroids (from Hackage) and found that the >>> controls don't work on my system, although I'm told they work for >>> someone using OS X. This is baffling to me. >>> >>> I'm running Ubuntu 11.10 Oneiric Ocelot and Xfce (xubuntu). Once I >>> start the wxAsteroids program, I'm able to start a new game with >>> CTRL-N, pause with CTRL-P, and quit with CTRL-Q, but I can't move the >>> ship with arrow keys, or speed it up with + or -, at all. >>> >>> Any ideas why? >>> >>> >>> -- >>> Kevin Cantu >>> Santa Barbara, CA | m...@kevincantu.org >>> > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > wxhaskell-users mailing list > wxhaskell-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wxhaskell-users > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ wxhaskell-users mailing list wxhaskell-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxhaskell-users