57#ifndef _SO_XT_KEYBOARD_
58#define _SO_XT_KEYBOARD_
64#define SO_XT_ALL_KEYBOARD_EVENTS (KeyPressMask | KeyReleaseMask)
#define SO_XT_ALL_KEYBOARD_EVENTS
Base class for all events.
Keyboard key press and release events.
Abstract base class for input devices.
Translates and reports events for the keyboard device.
SoXtKeyboard(EventMask mask=SO_XT_ALL_KEYBOARD_EVENTS)
Constructor.
~SoXtKeyboard()
Destructor.
virtual void enable(SoWidget w, XtEventHandler f, XtPointer data, Window win=(Window) NULL)
Enables the device for the passed widget.
virtual void disable(SoWidget w, XtEventHandler f, XtPointer data)
Disables the device for the passed widget.
virtual const SoEvent * translateEvent(XAnyEvent *xevent)
Attempts to convert the passed event into an SoEvent.