/* convert the XInput button state mask to the regular X mouse event button mask */
#define BUTTON_MASK(xistate) ((xistate) << 8)
-/* import function from freeglut_main.c */
+/* import function from fg_main.c */
extern int fgPlatformGetModifiers( int state );
/* extension opcode for XInput */
-int xi_opcode = -1;
+static int xi_opcode = -1;
/**
* \brief Sets window up for XI2 events.