Index: [thread] [date] [subject] [author]
  From: Andrew Apted <ajapted@netspace.net.au>
  To  : ggi-develop@eskimo.com
  Date: Sun, 18 Jul 1999 14:19:09 +1000

Re: Mouse pointer extension: request for API :)

Christoph Egger writes:

>  Please give comments!!
 
Here's one...

>  /* get_mouse_mickeys:
>   *	Measures how far the mouse has moved since the last call to this
>   *	function. The mouse will continue to generate movement mickeys even
>   *	when it reaches the edge of the screen, so this form of input can
>   *	be useful for games that require an infinite range of mouse
>   *	movement.
>   */
>  void get_mouse_mickeys(int *mickeyx, int *mickeyy);

Not really needed.  LibGGI already has good mouse events (via LibGII).

The real problem (IMHO) is that the X targets give you evPtrAbsolute
events, and there is no way for a _program_ to specify it wants relative
events.  (Users can do it by pressing ALT+CTRL+m).

Marcus, is that something that could be added to the LibWMHints
(?? can't remember) extension ?

Cheers,
___________________________________________________
                                               \  /
  Andrew Apted   <ajapted@netspace.net.au>      \/
 

Index: [thread] [date] [subject] [author]