# _DMXLocalInputInfo Struct Reference

`#include <dmxinputinit.h>`

## Data Fields

const char * | name
DMXLocalInputType | type
DMXLocalInputExtType | extType
int | binding
dmxCreatePrivateProcPtr | create_private
dmxDestroyPrivateProcPtr | destroy_private
dmxInitProcPtr | init
dmxReInitProcPtr | reinit
dmxLateReInitProcPtr | latereinit
dmxGetInfoProcPtr | get_info
dmxOnProcPtr | on
dmxOffProcPtr | off
dmxUpdatePositionProcPtr | update_position
dmxVTPreSwitchProcPtr | vt_pre_switch
dmxVTPostSwitchProcPtr | vt_post_switch
dmxVTSwitchProcPtr | vt_switch
dmxCollectEventsProcPtr | collect_events
dmxProcessInputProcPtr | process_input
dmxFunctionsProcPtr | functions
dmxUpdateInfoProcPtr | update_info
dmxMCtrlProcPtr | mCtrl
dmxKBCtrlProcPtr | kCtrl
dmxKBBellProcPtr | kBell
pointer | private
int | isCore
int | sendsCore
KeybdCtrl | kctrl
PtrCtrl | mctrl
DeviceIntPtr | pDevice
int | inputIdx
int | lastX
int | lastY
int | head
int | tail
unsigned long * | history
int * | valuators
int(* | savedMotionProc )(DeviceIntPtr, xTimecoord *, unsigned long, unsigned long, ScreenPtr)
int | savedMotionEvents
int | savedSendsCore
DMXEventMap | map [DMX_MAP_ENTRIES]
int | mapOptimize
long | deviceId
const char * | deviceName

## Detailed Description

This is the device-independent structure used by the low-level input routines. The contents are not exposed to top-level .c files (except dmxextensions.c).

See also:
  dmxinput.h
  dmxextensions.c

## Field Documentation

int _DMXLocalInputInfo::binding

Count of how many consecutive structs are bound to the same device

Referenced by dmxApplyFunctions(), dmxCollectAll(), dmxCoreMotion(), dmxProcessInputEvents(), and dmxUpdateWindowInformation().

dmxCollectEventsProcPtr _DMXLocalInputInfo::collect_events

Collect and enqueue events from the device

Referenced by dmxCollectAll(), and dmxSigioHandler().

dmxCreatePrivateProcPtr _DMXLocalInputInfo::create_private

Create device-dependent private

Referenced by dmxAddDevice().

dmxDestroyPrivateProcPtr _DMXLocalInputInfo::destroy_private

Destroy device-dependent private

Referenced by dmxInputFreeLocal().

long _DMXLocalInputInfo::deviceId

device id on remote side, if any

Referenced by dmxGetInputAttributes(), dmxInputCopyLocal(), dmxInputLogDevices(), dmxInputScanForExtensions(), and dmxTranslateAndEnqueueExtEvent().

const char* _DMXLocalInputInfo::deviceName

devive name on remote side, if any

Referenced by dmxInputFreeLocal(), dmxInputLogDevices(), and dmxInputScanForExtensions().

DMXLocalInputExtType _DMXLocalInputInfo::extType

Extended device type

Referenced by dmxConsoleCapture(), dmxConsoleUncapture(), and dmxGetInputAttributes().

dmxFunctionsProcPtr _DMXLocalInputInfo::functions

Referenced by dmxApplyFunctions().

dmxGetInfoProcPtr _DMXLocalInputInfo::get_info

Get device information

int _DMXLocalInputInfo::head

XInput motion history head

unsigned long* _DMXLocalInputInfo::history

XInput motion history

Referenced by dmxInputFreeLocal().

dmxInitProcPtr _DMXLocalInputInfo::init

Initialize device

int _DMXLocalInputInfo::inputIdx

High-level index

Referenced by dmxAddDevice(), dmxCheckFunctionKeys(), dmxInputCopyLocal(), and dmxTranslateAndEnqueueExtEvent().

int _DMXLocalInputInfo::isCore

Is a DMX core device

Referenced by dmxAddDevice(), dmxGetInputAttributes(), dmxInputAttachOld(), dmxInputDetach(), dmxInputFreeLocal(), dmxInputInit(), and dmxInputLogDevices().

dmxKBBellProcPtr _DMXLocalInputInfo::kBell

Bell control

Referenced by _dmxKeyboardBellProc().

dmxKBCtrlProcPtr _DMXLocalInputInfo::kCtrl

Keyboard control

Referenced by _dmxKeyboardKbdCtrlProc().

KeybdCtrl _DMXLocalInputInfo::kctrl

Keyboard control

Referenced by _dmxKeyboardBellProc(), and _dmxKeyboardKbdCtrlProc().

int _DMXLocalInputInfo::lastX

Referenced by dmxExtMotion().

int _DMXLocalInputInfo::lastY

Last known position; for XInput in dmxevents.c

Referenced by dmxExtMotion().

dmxLateReInitProcPtr _DMXLocalInputInfo::latereinit

Reinitialize a device (called very late during a reconfiguration)

Referenced by dmxInputLateReInit().

DMXEventMap _DMXLocalInputInfo::map[DMX_MAP_ENTRIES]

XInput device id map

Referenced by dmxMapClear(), dmxMapInsert(), and dmxMapLookup().

int _DMXLocalInputInfo::mapOptimize

XInput device id map optimization

Referenced by dmxMapClear(), dmxMapInsert(), and dmxMapLookup().

dmxMCtrlProcPtr _DMXLocalInputInfo::mCtrl

Pointer control

Referenced by _dmxChangePointerControl().

PtrCtrl _DMXLocalInputInfo::mctrl

Pointer control

Referenced by _dmxChangePointerControl().

const char* _DMXLocalInputInfo::name

Device name

Referenced by dmxAddDevice(), dmxLookupLocal(), and dmxPopulateLocal().

dmxOffProcPtr _DMXLocalInputInfo::off

Turn device off

dmxOnProcPtr _DMXLocalInputInfo::on

Turn device on

DeviceIntPtr _DMXLocalInputInfo::pDevice

X-level device

Referenced by _dmxChangePointerControl(), _dmxKeyboardBellProc(), _dmxKeyboardKbdCtrlProc(), dmxAddDevice(), dmxCheckFunctionKeys(), dmxCheckSpecialKeys(), dmxCollectAll(), dmxExtMotion(), dmxGetButtonMapping(), dmxGetInputAttributes(), dmxInputAttachNew(), dmxInputAttachOld(), dmxInputDetach(), dmxInputInit(), dmxInputLateReInit(), dmxInputLocateId(), dmxInputLogDevices(), dmxInputReInit(), dmxKeyCodeToKeySym(), dmxKeySymToKeyCode(), dmxProcessInputEvents(), dmxSigioHandler(), and dmxTranslateAndEnqueueExtEvent().

pointer _DMXLocalInputInfo::private

Device-dependent private

Referenced by dmxAddDevice(), dmxApplyFunctions(), dmxCommonCopyPrivate(), dmxConsoleCapture(), dmxConsoleUncapture(), dmxCoreMotion(), dmxDump(), dmxExtMotion(), dmxInputFreeLocal(), dmxProcessInputEvents(), dmxSwitchReturn(), dmxUpdateWindowInformation(), and dmxWakeupHandler().

dmxProcessInputProcPtr _DMXLocalInputInfo::process_input

Process event (from queue)

Referenced by dmxProcessInputEvents().

dmxReInitProcPtr _DMXLocalInputInfo::reinit

Reinitialize device (during a reconfiguration)

Referenced by dmxInputReInit().

int _DMXLocalInputInfo::savedMotionEvents

Saved motion events

int(* _DMXLocalInputInfo::savedMotionProc)(DeviceIntPtr, xTimecoord *, unsigned long, unsigned long, ScreenPtr)

int _DMXLocalInputInfo::savedSendsCore

Saved sends-core flag

Referenced by dmxInputCopyLocal().

int _DMXLocalInputInfo::sendsCore

Sends DMX core events

Referenced by dmxAddDevice(), dmxChangePointerControl(), dmxCheckFunctionKeys(), dmxCoreMotion(), dmxGetInputAttributes(), dmxInputAttachOld(), dmxInputCopyLocal(), dmxInputDetach(), dmxInputLogDevices(), dmxKeyboardBellProc(), and dmxKeyboardKbdCtrlProc().

int _DMXLocalInputInfo::tail

XInput motion history tail

DMXLocalInputType _DMXLocalInputInfo::type

Device type

Referenced by dmxAddDevice(), dmxConsoleCapture(), dmxConsoleUncapture(), dmxInputFreeLocal(), dmxInputInit(), dmxInputScanForExtensions(), dmxMakeUniqueDeviceName(), dmxPopulateLocal(), and dmxTranslateAndEnqueueExtEvent().

dmxUpdateInfoProcPtr _DMXLocalInputInfo::update_info

Update window layout information

Referenced by dmxUpdateWindowInformation().

dmxUpdatePositionProcPtr _DMXLocalInputInfo::update_position

Called when another device updates the cursor position

Referenced by dmxCoreMotion(), and dmxExtMotion().

int* _DMXLocalInputInfo::valuators

Cache of previous values

Referenced by dmxInputFreeLocal().

dmxVTPostSwitchProcPtr _DMXLocalInputInfo::vt_post_switch

Called after a VT switch

Referenced by dmxSwitchReturn().

dmxVTPreSwitchProcPtr _DMXLocalInputInfo::vt_pre_switch

Called before a VT switch

Referenced by dmxWakeupHandler().

dmxVTSwitchProcPtr _DMXLocalInputInfo::vt_switch

Causes a VT switch

Referenced by dmxWakeupHandler().

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

- dmxinputinit.h

Generated June 29, 2004 for Distributed Multihead X by doxygen 1.3.4. </addres>