# _DMXInputInfo Struct Reference

`#include <dmxinput.h>`

## Data Fields

const char * | name
Bool | freename
Bool | detached
int | inputIdx
int | scrnIdx
Bool | core
Bool | console
Bool | windows
ProcessInputEventsProc | processInputEvents
UpdateWindowInfoProc | updateWindowInfo
dmxSigioState | sigioState
int | sigioFdCount
int | sigioFd [DMX_MAX_SIGIO_FDS]
Bool | sigioAdded [DMX_MAX_SIGIO_FDS]
int | vt_switch_pending
int | vt_switched
int | numDevs
DMXLocalInputInfoPtr * | devs
char * | keycodes
char * | symbols
char * | geometry

## Detailed Description

DMXInputInfo is typedef'd in dmx.h so that all routines can have access to the global pointers. However, the elements are only available to input-related routines.

## Field Documentation

Bool _DMXInputInfo::console

True if console and backend input share the same backend display

Referenced by dmxCloseConsole(), and dmxInputInit().

Bool _DMXInputInfo::core

If True, initialize these devices as devices that send core events

Referenced by dmxConfigAddInput(), dmxInputCopyLocal(), and dmxInputInit().

Bool _DMXInputInfo::detached

If true, input screen is detached

Referenced by dmxAdjustCursorBoundaries(), dmxChangePointerControl(), dmxCollectAll(), dmxCoreMotion(), dmxGetInputAttributes(), dmxInputAttachBackend(), dmxInputAttachConsole(), dmxInputAttachOld(), dmxInputDetach(), dmxInputInit(), dmxInputLogDevices(), dmxKeyboardBellProc(), dmxKeyboardKbdCtrlProc(), dmxProcessInputEvents(), dmxUpdateWindowInfo(), dmxUpdateWindowInformation(), and ProcessInputEvents().

DMXLocalInputInfoPtr* _DMXInputInfo::devs

List of actual input devices. Each _DMXInputInfo structure can refer to more than one device. For example, the keyboard and the pointer of a backend display; or all of the XInput extension devices on a backend display.

Referenced by dmxApplyFunctions(), dmxChangePointerControl(), dmxCollectAll(), dmxCommonCopyPrivate(), dmxConsoleCapture(), dmxConsoleUncapture(), dmxCoreMotion(), dmxDump(), dmxGetInputAttributes(), dmxInputAttachNew(), dmxInputAttachOld(), dmxInputCopyLocal(), dmxInputDetach(), dmxInputFree(), dmxInputInit(), dmxInputLateReInit(), dmxInputLocateId(), dmxInputLogDevices(), dmxInputReInit(), dmxInputScanForExtensions(), dmxKeyboardBellProc(), dmxKeyboardKbdCtrlProc(), dmxProcessInputEvents(), dmxSigioHandler(), dmxSwitchReturn(), dmxTranslateAndEnqueueExtEvent(), dmxUpdateWindowInformation(), and dmxWakeupHandler().

Bool _DMXInputInfo::freename

If true, free name on destroy

Referenced by dmxInputAttachConsole(), and dmxInputFree().

char* _DMXInputInfo::geometry

XKB geometry from command line

Referenced by dmxInputFree(), and dmxInputInit().

int _DMXInputInfo::inputIdx

Index into dmxInputs global

Referenced by dmxConfigAddInput(), dmxHeader(), dmxInputCopyLocal(), dmxInputInit(), and dmxInputLogDevices().

char* _DMXInputInfo::keycodes

XKB keycodes from command line

Referenced by dmxInputFree(), and dmxInputInit().

const char* _DMXInputInfo::name

Name of input display or device (from command line or config file)

Referenced by dmxBackendInitPrivate(), dmxConfigAddInput(), dmxConsoleCapture(), dmxConsoleInit(), dmxDump(), dmxGetInputAttributes(), dmxHeader(), dmxInputAttachConsole(), dmxInputFree(), dmxInputInit(), dmxInputLogDevices(), and dmxInputScanForExtensions().

int _DMXInputInfo::numDevs

Number of devices handled in this _DMXInputInfo structure.

Referenced by dmxApplyFunctions(), dmxChangePointerControl(), dmxCollectAll(), dmxCommonCopyPrivate(), dmxConsoleCapture(), dmxConsoleUncapture(), dmxCoreMotion(), dmxDump(), dmxGetInputAttributes(), dmxInputAttachOld(), dmxInputCopyLocal(), dmxInputDetach(), dmxInputFree(), dmxInputInit(), dmxInputLateReInit(), dmxInputLocateId(), dmxInputLogDevices(), dmxInputReInit(), dmxInputScanForExtensions(), dmxKeyboardBellProc(), dmxKeyboardKbdCtrlProc(), dmxProcessInputEvents(), dmxSigioHandler(), dmxSwitchReturn(), dmxTranslateAndEnqueueExtEvent(), dmxUpdateWindowInformation(), and dmxWakeupHandler().

ProcessInputEventsProc _DMXInputInfo::processInputEvents

Referenced by dmxInputInit(), and ProcessInputEvents().

int _DMXInputInfo::scrnIdx

Index into dmxScreens global

Referenced by dmxConfigAddInput(), dmxGetInputAttributes(), dmxInputAttachBackend(), dmxInputAttachConsole(), dmxInputDetach(), dmxInputDetachAll(), and dmxInputInit().

Bool _DMXInputInfo::sigioAdded[DMX_MAX_SIGIO_FDS]

Active fds

Referenced by dmxSigioAdd(), and dmxSigioRemove().

int _DMXInputInfo::sigioFd[DMX_MAX_SIGIO_FDS]

List of fds

Referenced by dmxSigioAdd(), dmxSigioRegister(), and dmxSigioRemove().

int _DMXInputInfo::sigioFdCount

Number of fds in use

Referenced by dmxSigioAdd(), dmxSigioRegister(), dmxSigioRemove(), and dmxSigioUnregister().

dmxSigioState _DMXInputInfo::sigioState

Current stat

Referenced by dmxSigioAdd(), dmxSigioHandler(), dmxSigioRegister(), dmxSigioRemove(), and dmxSigioUnregister().

char* _DMXInputInfo::symbols

XKB symbols from command line

Referenced by dmxInputFree(), and dmxInputInit().

UpdateWindowInfoProc _DMXInputInfo::updateWindowInfo

Referenced by dmxInputInit(), and dmxUpdateWindowInfo().

int _DMXInputInfo::vt_switch_pending

True if a VT switch is pending, but has not yet happened.

Referenced by dmxWakeupHandler().

int _DMXInputInfo::vt_switched

True if a VT switch has happened.

Referenced by dmxSwitchReturn(), and dmxWakeupHandler().

Bool _DMXInputInfo::windows

True if window outlines are draw in console

Referenced by dmxConsoleDraw(), and dmxInputInit().

The documentation for this struct was generated from the following file:

- dmxinput.h