Open Inventor Reference
SoSpaceballButtonEvent.h File Reference

Go to the source code of this file.

Classes

class  SoSpaceballButtonEvent
 Spaceball button press and release events. More...
 

Macros

#define SO_SPACEBALL_PRESS_EVENT(EVENT, BUTTON)
 some convenience macros for determining if an event matches
 
#define SO_SPACEBALL_RELEASE_EVENT(EVENT, BUTTON)
 

Macro Definition Documentation

◆ SO_SPACEBALL_PRESS_EVENT

#define SO_SPACEBALL_PRESS_EVENT (   EVENT,
  BUTTON 
)
Value:
SoSpaceballButtonEvent::BUTTON))
static bool isButtonPressEvent(const SoEvent *e, SoSpaceballButtonEvent::Button whichButton)
convenience routines to see if an SoEvent is a press or release of the passed spaceball button

Definition at line 63 of file SoSpaceballButtonEvent.h.

◆ SO_SPACEBALL_RELEASE_EVENT

#define SO_SPACEBALL_RELEASE_EVENT (   EVENT,
  BUTTON 
)
Value:
SoSpaceballButtonEvent::BUTTON))
static bool isButtonReleaseEvent(const SoEvent *e, SoSpaceballButtonEvent::Button whichButton)

Definition at line 67 of file SoSpaceballButtonEvent.h.