#include "dmx.h"
#include "dmxinputinit.h"
#include "dmxdummy.h"
Functions | |
void | dmxDummyKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) |
void | dmxDummyMouGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) |
Provide mouse and keyboard that are sufficient for starting the X server, but that don't actually provide any events. This is useful for testing.
void dmxDummyKbdGetInfo | ( | DevicePtr | pDev, | |
DMXLocalInitInfoPtr | info | |||
) |
Return information about the dummy keyboard device specified in pDev into the structure pointed to by info. The keyboard is set up to have 1 valid key code that is NoSymbol
References _DMXLocalInitInfo::focusClass, _DMXLocalInitInfo::force, _DMXLocalInitInfo::freemap, _DMXLocalInitInfo::kbdFeedbackClass, _DMXLocalInitInfo::keyboard, _DMXLocalInitInfo::keyClass, and _DMXLocalInitInfo::keySyms.
void dmxDummyMouGetInfo | ( | DevicePtr | pDev, | |
DMXLocalInitInfoPtr | info | |||
) |
Return information about the dummy mouse device specified in pDev into the structure pointed to by info. They mouse has 3 buttons and two axes.
References _DMXLocalInitInfo::buttonClass, _DMXLocalInitInfo::map, _DMXLocalInitInfo::maxres, _DMXLocalInitInfo::maxval, _DMXLocalInitInfo::minres, _DMXLocalInitInfo::minval, _DMXLocalInitInfo::numButtons, _DMXLocalInitInfo::numRelAxes, _DMXLocalInitInfo::ptrFeedbackClass, _DMXLocalInitInfo::res, and _DMXLocalInitInfo::valuatorClass.