[pygtk] Relative mouse controlled game in gtk
Johan Dahlin
jdahlin at async.com.br
Thu Nov 1 07:29:08 WST 2007
Greg Ewing wrote:
> Thomas Dybdahl Ahle wrote:
>> You want to know when the mose moves?
>
> What I want is:
>
> * No mouse cursor is visible.
>
> * All mouse movements reported as relative movements,
> with no restrictions from hitting the edges of the
> screen.
This is actually not possible to do in X.
X will only report mouse absolute mouse positions, you can emulate this by
calculating it yourself though.
Johan
More information about the pygtk
mailing list