Open Inventor Reference
SoKeyboardEvent.h File Reference

Go to the source code of this file.

Classes

class  SoKeyboardEvent
 Keyboard key press and release events. More...
 

Macros

#define SO_KEY_PRESS_EVENT(EVENT, KEY)
 some convenience macros for determining if an event matches
 
#define SO_KEY_RELEASE_EVENT(EVENT, KEY)
 

Macro Definition Documentation

◆ SO_KEY_PRESS_EVENT

#define SO_KEY_PRESS_EVENT ( EVENT,
KEY )
Value:
(SoKeyboardEvent::isKeyPressEvent(EVENT,SoKeyboardEvent::KEY))
static bool isKeyPressEvent(const SoEvent *e, SoKeyboardEvent::Key whichKey)
convenience routines to see if an SoEvent is a press or release of the passed keyboard key

Definition at line 64 of file SoKeyboardEvent.h.

◆ SO_KEY_RELEASE_EVENT

#define SO_KEY_RELEASE_EVENT ( EVENT,
KEY )
Value:
(SoKeyboardEvent::isKeyReleaseEvent(EVENT,SoKeyboardEvent::KEY))
static bool isKeyReleaseEvent(const SoEvent *e, SoKeyboardEvent::Key whichKey)

Definition at line 67 of file SoKeyboardEvent.h.