src/events/SDL_mouse_c.h
changeset 2940 b93965a16fe0
parent 2860 6ce28e5287e9
child 3685 64ce267332c6
     1.1 --- a/src/events/SDL_mouse_c.h	Thu Jan 01 07:58:20 2009 +0000
     1.2 +++ b/src/events/SDL_mouse_c.h	Thu Jan 01 07:59:08 2009 +0000
     1.3 @@ -64,6 +64,7 @@
     1.4      int current_end;
     1.5  
     1.6      /* Data common to all mice */
     1.7 +    int id;
     1.8      SDL_WindowID focus;
     1.9      int which;
    1.10      int x;
    1.11 @@ -89,19 +90,13 @@
    1.12  /* Initialize the mouse subsystem */
    1.13  extern int SDL_MouseInit(void);
    1.14  
    1.15 -/* Assign an id to a mouse at an index */
    1.16 -extern int SDL_SetMouseIndexId(int id, int index);
    1.17 -
    1.18 -/* Get the index of a mouse specified by id */
    1.19 -extern int SDL_GetMouseIndexId(int id);
    1.20 -
    1.21  /* Get the mouse at an index */
    1.22  extern SDL_Mouse *SDL_GetMouse(int index);
    1.23  
    1.24  /* Add a mouse, possibly reattaching at a particular index (or -1),
    1.25     returning the index of the mouse, or -1 if there was an error.
    1.26   */
    1.27 -extern int SDL_AddMouse(const SDL_Mouse * mouse, int index, char *name,
    1.28 +extern int SDL_AddMouse(const SDL_Mouse * mouse, char *name,
    1.29                          int pressure_max, int pressure_min, int ends);
    1.30  
    1.31  /* Remove a mouse at an index, clearing the slot for later */