Re: [AD] mouse mickeys problem

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sun, 2004-04-11 at 13:24, aj wrote:

> 2.  if the code gets fixed im happy.  if the docs get fixed; can anyone 
> offer a solution for me (i want mickeys when mouse hits desktop edge).
> 

Use position_mouse to set the mouse to the middle of the screen
continuously. That way, you can even use mouse_x, mouse_y to get
mickeys. Of course, you need to track the cursor position and draw it
yourself in that case. And it works better in fullscreen than in
windowed mode.

Sorry, don't know about 1. in windows. But I experience problems with
get_mouse_mickeys here in X11 as well.. sometimes it reports completely
out of range values - my TODO list has investigation of this on it for
weeks :)

-- 
Elias Pschernig <elias@xxxxxxxxxx>





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/