26#ifndef _SO_WIN_KEYBOARD_
27#define _SO_WIN_KEYBOARD_
29#include <Inventor/Win/SoWinBeginStrict.h>
32#include <Inventor/Win/devices/SoWinDevice.h>
33#include <Inventor/events/SoKeyboardEvent.h>
35#define SO_WIN_ALL_KEYBOARD_EVENTS (KeyPressMask | KeyReleaseMask)
71 virtual void enable(SoWidget w, XtEventHandler f,
84 bool setKey(XKeyEvent *ke);
85 void setUnicodeKey(XKeyEvent *ke);
90 static int keyMapInitFlag;
93#include <Inventor/Win/SoWinEndStrict.h>
Base class for all events.
Keyboard key press and release events.
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Abstract base cl...
<a href="IconLegend.html"><img src="extTGS.gif" alt="VSG extension" border="0"></a> Translates and r...
SoWinKeyboard(EventMask mask=SO_WIN_ALL_KEYBOARD_EVENTS)
Constructor.
virtual void disable(SoWidget w, XtEventHandler f, XtPointer data)
Disables the device.
~SoWinKeyboard()
Destructor.
virtual void enable(SoWidget w, XtEventHandler f, XtPointer data, Window win=NULL)
Enables the device for the passed window handle.
virtual const SoEvent * translateEvent(XAnyEvent *xevent)
Attempts to convert the passed message into an SoEvent.