[Pythonmac-SIG] question about event handlers
Alexandre Parenteau
aparente@adobe.com
Tue, 12 Nov 2002 17:59:43 -0800
Hi Stephen,
I would think polling aggressively, but on a timer basis, for the mouse
location (and then finding the underlying window) is probably the most
appropriate way to achieve a smooth mouse move handling.
Although you're right, it could be a carbon event that does that already.
Alex.
--
Alexandre Parenteau
Computer Scientist
Core Technologies, AGM
Adobe Systems, Inc.
408-536-6166
> I am using the Python as the basis for a cross platform game. For the most
> part we are using Python and make calls to C libraries to handle platform
> dependent tasks. To this point, I have used the stock Python Core. I have
> installed some Carbon event handler code, such as mouse moving, mouse down,
> keyboard stuff. The problem is even though I am moving the mouse around, I
> am only getting mouse move event if the moue if moving slowly enough, or
> come to stop after a long move. Anyone have any ideas how I can achieve
> smooth mouse motion by installer Carbon Event Handlers?
>
>
>
> _______________________________________________
> Pythonmac-SIG maillist - Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>