X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffreeglut_internal.h;h=6faef9d25cc7242f18b7a162985166da1b451b4f;hb=1fd9514b5c5df8a4bf974787f26f6cc3dd84c1cc;hp=f7634df6e5a623023a7480571cf97e9dd2cf795f;hpb=3f2f58875027438295991cd97fe411c5396f5624;p=freeglut diff --git a/src/freeglut_internal.h b/src/freeglut_internal.h index f7634df..6faef9d 100644 --- a/src/freeglut_internal.h +++ b/src/freeglut_internal.h @@ -238,6 +238,11 @@ typedef void (* FGCBTabletMotion )( int, int ); typedef void (* FGCBTabletButton )( int, int, int, int ); typedef void (* FGCBDestroy )( void ); +typedef void (* FGCBMultiEntry )( int, int ); +typedef void (* FGCBMultiButton )( int, int, int, int, int ); +typedef void (* FGCBMultiMotion )( int, int, int ); +typedef void (* FGCBMultiPassive )( int, int, int ); + /* The global callbacks type definitions */ typedef void (* FGCBIdle )( void ); typedef void (* FGCBTimer )( int ); @@ -587,6 +592,12 @@ enum CB_Joystick, CB_Destroy, + /* MPX-related */ + CB_MultiEntry, + CB_MultiButton, + CB_MultiMotion, + CB_MultiPassive, + /* Presently ignored */ CB_Select, CB_OverlayDisplay, @@ -970,6 +981,13 @@ void fgWarning( const char *fmt, ... ); */ #if TARGET_HOST_POSIX_X11 int fgHintPresent(Window window, Atom property, Atom hint); + +/* Handler for X extension Events */ +#ifdef HAVE_X11_EXTENSIONS_XINPUT2_H + void fgHandleExtensionEvents( XEvent * ev ); + void fgRegisterDevices( Display* dpy, Window* win ); +#endif + #endif SFG_Proc fghGetProcAddress( const char *procName );