www.nico.schottelius.org/software/gpm/browse_source/gpm-1.99.6/gpm2/client
Nico Schottelius 95a46c5577 import gpm from unix.schottelius.org
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
2009-10-08 22:52:35 +02:00
..
README import gpm from unix.schottelius.org 2009-10-08 22:52:35 +02:00

The files in this directory should built up the client interface.

Some ideas:

   struct gpm2_conn *gpm2_connect():
      client connects to gpm2-daemon

   gpm2_get_mice(struct gpm2_conn  *g2c):
      get list of devices, including protocols and ids

   struct *mouseinfo gpm2_open_mouse(int mouse_id, int type);
      returns set of descriptors:
         - to read mousedata

   int gpm2_close_mouse(struct *mouseinfo mi);