Go to the source code of this file.
Data Structures | |
struct | _DMXInputInfo |
Defines | |
#define | DMX_MAX_SIGIO_FDS 4 |
Typedefs | |
typedef _DMXLocalInputInfo * | DMXLocalInputInfoPtr |
Enumerations | |
enum | DMXUpdateType { DMX_UPDATE_REALIZE, DMX_UPDATE_UNREALIZE, DMX_UPDATE_RESTACK, DMX_UPDATE_COPY, DMX_UPDATE_RESIZE, DMX_UPDATE_REPARENT } |
enum | dmxSigioState { DMX_NOSIGIO = 0, DMX_USESIGIO, DMX_ACTIVESIGIO } |
Functions | |
void | dmxInputInit (DMXInputInfo *dmxInput) |
void | dmxInputReInit (DMXInputInfo *dmxInput) |
void | dmxInputLateReInit (DMXInputInfo *dmxInput) |
void | dmxInputFree (DMXInputInfo *dmxInput) |
void | dmxInputLogDevices (void) |
void | dmxUpdateWindowInfo (DMXUpdateType type, WindowPtr pWindow) |
void | dmxeqEnqueue (xEvent *e) |
void | dmxeqSwitchScreen (ScreenPtr pScreen, Bool fromDIX) |
void | dmxGetGlobalPosition (int *x, int *y) |
Variables | |
int | dmxNumInputs |
DMXInputInfo * | dmxInputs |
The goal is that no files in hw/dmx should include header files from hw/dmx/input -- the interface defined here should be the only interface exported to the hw/dmx layer.
|
Maximum number of file descriptors for SIGIO handling |
|
An opaque structure that is only exposed in the dmx/input layer. |
|
State of the SIGIO engine |
|
Reason why window layout was updated. |
|
This function adds an event to the end of the queue. If the event is an XInput event, then the next event (the valuator event) is also stored in the queue. If the new event has a time before the time of the last event currently on the queue, then the time is updated for the new event. Must be reentrant with ProcessInputEvents. Assumption: dmxeqEnqueue will never be interrupted. If this is called from both signal handlers and regular code, make sure the signal is suspended when called from regular code. |
|
Make pScreen the new screen for enqueueing events. If fromDIX is TRUE, also make pScreen the new screen for dequeuing events. |
|
Return DMX's notion of the pointer position in the global coordinate space. |
|
Free all of the memory associated with dmxInput |
|
Initialize all of the devices described in dmxInput. |
|
Re-initialize all the devices described in dmxInput. Called from #dmxReconfig after the cursor is redisplayed. |
|
Log information about all of the known devices using dmxLog(). |
|
Re-initialize all the devices described in dmxInput. Called from #dmxReconfig before the cursor is redisplayed. |
|
This routine is called from #dmxwindow.c whenever the layout of windows on the display might have changed. This information is used by input drivers (currently only the console driver) that provide information about window layout to the user. |
|
List of inputs |
|
Number of dmxInputs |