Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoSpaceballButtonEvent.h File Reference

Go to the source code of this file.

Classes

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

Macros

#define SO_SPACEBALL_PRESS_EVENT(EVENT, BUTTON)
 
#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 SbBool isButtonPressEvent(const SoEvent *e, SoSpaceballButtonEvent::Button whichButton)
Returns whether the passed event is a spaceball button press event of the passed button.

Definition at line 58 of file SoSpaceballButtonEvent.h.

◆ SO_SPACEBALL_RELEASE_EVENT

#define SO_SPACEBALL_RELEASE_EVENT (   EVENT,
  BUTTON 
)
Value:
SoSpaceballButtonEvent::BUTTON))
static SbBool isButtonReleaseEvent(const SoEvent *e, SoSpaceballButtonEvent::Button whichButton)
Returns whether the passed event is a spaceball button release event of the passed button.

Definition at line 62 of file SoSpaceballButtonEvent.h.