head 1.2; access; symbols netbsd-7-2-RELEASE:1.1.1.3 netbsd-7-1-2-RELEASE:1.1.1.3 netbsd-7-1-1-RELEASE:1.1.1.3 netbsd-7-1:1.1.1.3.0.14 netbsd-7-1-RELEASE:1.1.1.3 netbsd-7-1-RC2:1.1.1.3 netbsd-7-1-RC1:1.1.1.3 netbsd-7-0-2-RELEASE:1.1.1.3 netbsd-7-0-1-RELEASE:1.1.1.3 netbsd-7-0:1.1.1.3.0.12 netbsd-7-0-RELEASE:1.1.1.3 netbsd-7-0-RC3:1.1.1.3 netbsd-7-0-RC2:1.1.1.3 netbsd-7-0-RC1:1.1.1.3 netbsd-5-2-3-RELEASE:1.1.1.1 netbsd-5-1-5-RELEASE:1.1.1.1 netbsd-6-0-6-RELEASE:1.1.1.3 netbsd-6-1-5-RELEASE:1.1.1.3 netbsd-7:1.1.1.3.0.10 netbsd-7-base:1.1.1.3 netbsd-6-1-4-RELEASE:1.1.1.3 netbsd-6-0-5-RELEASE:1.1.1.3 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.3 riastradh-drm2:1.1.1.3.0.8 riastradh-drm2-base:1.1.1.3 netbsd-6-1-3-RELEASE:1.1.1.3 netbsd-6-0-4-RELEASE:1.1.1.3 netbsd-5-2-2-RELEASE:1.1.1.1 netbsd-5-1-4-RELEASE:1.1.1.1 netbsd-6-1-2-RELEASE:1.1.1.3 netbsd-6-0-3-RELEASE:1.1.1.3 netbsd-5-2-1-RELEASE:1.1.1.1 netbsd-5-1-3-RELEASE:1.1.1.1 netbsd-6-1-1-RELEASE:1.1.1.3 xorg-server-1-10-6:1.1.1.3 netbsd-6-1:1.1.1.3.0.6 netbsd-6-0-2-RELEASE:1.1.1.3 netbsd-6-1-RELEASE:1.1.1.3 netbsd-6-1-RC4:1.1.1.3 netbsd-6-1-RC3:1.1.1.3 netbsd-6-1-RC2:1.1.1.3 netbsd-6-1-RC1:1.1.1.3 netbsd-5-2:1.1.1.1.0.8 netbsd-6-0-1-RELEASE:1.1.1.3 netbsd-5-2-RELEASE:1.1.1.1 netbsd-5-2-RC1:1.1.1.1 netbsd-6-0:1.1.1.3.0.4 netbsd-6-0-RELEASE:1.1.1.3 netbsd-6-0-RC2:1.1.1.3 netbsd-6-0-RC1:1.1.1.3 netbsd-6:1.1.1.3.0.2 netbsd-6-base:1.1.1.3 netbsd-5-1-2-RELEASE:1.1.1.1 netbsd-5-1-1-RELEASE:1.1.1.1 xorg-server-1-10-3:1.1.1.3 mrg-xorg-server-1-9-5-pre-1-10-3:1.1.1.2 xorg-server-1-9-5:1.1.1.2 xorg-server-1-9-2:1.1.1.2 netbsd-5-1:1.1.1.1.0.6 netbsd-5-1-RELEASE:1.1.1.1 netbsd-5-1-RC4:1.1.1.1 netbsd-5-1-RC3:1.1.1.1 netbsd-5-1-RC2:1.1.1.1 netbsd-5-1-RC1:1.1.1.1 netbsd-5-0-2-RELEASE:1.1.1.1 xorg-server-1-6-5:1.1.1.1 xorg-server-1-6-3:1.1.1.1 netbsd-5-0-1-RELEASE:1.1.1.1 xorg-server-1-6-2:1.1.1.1 xorg-server-1-6-1-901:1.1.1.1 netbsd-5-0:1.1.1.1.0.4 netbsd-5-0-RELEASE:1.1.1.1 netbsd-5-0-RC4:1.1.1.1 netbsd-5-0-RC3:1.1.1.1 netbsd-5-0-RC2:1.1.1.1 netbsd-5-0-RC1:1.1.1.1 netbsd-5:1.1.1.1.0.2 netbsd-5-base:1.1.1.1 xorg-server-1-4-2:1.1.1.1 xorg:1.1.1; locks; strict; comment @# @; 1.2 date 2016.08.11.00.04.29; author mrg; state dead; branches; next 1.1; commitid FQxwnZNPy5ZgOOhz; 1.1 date 2008.07.31.19.50.32; author mrg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.07.31.19.50.32; author mrg; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2010.11.23.05.21.23; author mrg; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2011.08.02.06.56.52; author mrg; state Exp; branches; next ; desc @@ 1.2 log @first merge of netbsd changes. not tested yet. @ text @
#include <dmxinput.h>
Data Fields | |
| const char * | name |
| Bool | freename |
| Bool | detached |
| int | inputIdx |
| int | scrnIdx |
| Bool | core |
| Bool | console |
| Bool | windows |
| 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 |
|
|
True if console and backend input share the same backend display |
|
|
If True, initialize these devices as devices that send core events |
|
|
If true, input screen is detached |
|
|
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. |
|
|
If true, free name on destroy |
|
|
XKB geometry from command line |
|
|
Index into dmxInputs global |
|
|
XKB keycodes from command line |
|
|
Name of input display or device (from command line or config file) |
|
|
Number of devices handled in this _DMXInputInfo structure. |
|
|
Index into dmxScreens global |
|
|
Active fds |
|
|
List of fds |
|
|
Number of fds in use |
|
|
Current stat |
|
|
XKB symbols from command line |
|
|
True if a VT switch is pending, but has not yet happened. |
|
|
True if a VT switch has happened. |
|
|
True if window outlines are draw in console |
#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 |
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.
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().
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().
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().
If true, free name on destroy
Referenced by dmxInputAttachConsole(), and dmxInputFree().
| char* _DMXInputInfo::geometry |
XKB geometry from command line
Referenced by dmxInputFree(), and dmxInputInit().
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().
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().
Referenced by dmxInputInit(), and ProcessInputEvents().
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().
Number of fds in use
Referenced by dmxSigioAdd(), dmxSigioRegister(), dmxSigioRemove(), and dmxSigioUnregister().
Current stat
Referenced by dmxSigioAdd(), dmxSigioHandler(), dmxSigioRegister(), dmxSigioRemove(), and dmxSigioUnregister().
| char* _DMXInputInfo::symbols |
XKB symbols from command line
Referenced by dmxInputFree(), and dmxInputInit().
Referenced by dmxInputInit(), and dmxUpdateWindowInfo().
True if a VT switch is pending, but has not yet happened.
Referenced by dmxWakeupHandler().
True if a VT switch has happened.
Referenced by dmxSwitchReturn(), and dmxWakeupHandler().
True if window outlines are draw in console
Referenced by dmxConsoleDraw(), and dmxInputInit().