src/events/SDL_mouse_c.h
branchgsoc2008_manymouse
changeset 3774 8b5b67000dc0
parent 3773 3b5691f85c0d
child 3776 a9c2a7071874
     1.1 --- a/src/events/SDL_mouse_c.h	Mon Aug 04 11:18:10 2008 +0000
     1.2 +++ b/src/events/SDL_mouse_c.h	Tue Aug 05 14:10:11 2008 +0000
     1.3 @@ -62,6 +62,8 @@
     1.4      int pressure_min;
     1.5      int tilt;/*for future use*/
     1.6      int rotation;/*for future use*/
     1.7 +    int total_ends;
     1.8 +    int current_end;
     1.9  
    1.10      /* Data common to all mice */
    1.11      SDL_WindowID focus;
    1.12 @@ -96,7 +98,8 @@
    1.13  /* Add a mouse, possibly reattaching at a particular index (or -1),
    1.14     returning the index of the mouse, or -1 if there was an error.
    1.15   */
    1.16 -extern int SDL_AddMouse(const SDL_Mouse * mouse, int index, char* name, int pressure_max, int pressure_min);
    1.17 +extern int SDL_AddMouse(const SDL_Mouse * mouse, int index, char* name,\
    1.18 + int pressure_max, int pressure_min, int ends);
    1.19  
    1.20  /* Remove a mouse at an index, clearing the slot for later */
    1.21  extern void SDL_DelMouse(int index);
    1.22 @@ -129,6 +132,10 @@
    1.23  
    1.24  extern void SDL_UpdateCoordinates(int x, int y);
    1.25  
    1.26 +extern void SDL_ChangeEnd(int id, int end);
    1.27 +
    1.28 +extern int SDL_GetCursorsNumber(int index);
    1.29 +
    1.30  #endif /* _SDL_mouse_c_h */
    1.31  
    1.32  /* vi: set ts=4 sw=4 expandtab: */