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 <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 |
| dmxUpdateInfoProcPtr | update_info |
| dmxMCtrlProcPtr | mCtrl |
| dmxKBCtrlProcPtr | kCtrl |
| dmxKBBellProcPtr | kBell |
| pointer | private |
| int | isCore |
| int | sendsCore |
| KeybdCtrl | kctrl |
| PtrCtrl | mctrl |
| DeviceIntPtr | pDevice |
| int | inputIdx |
| int | lastY |
| int | head |
| int | tail |
| unsigned long * | history |
| int * | valuators |
| int | savedMotionEvents |
| int | savedSendsCore |
| DMXEventMap | map [DMX_MAP_ENTRIES] |
| int | mapOptimize |
| long | deviceId |
| const char * | deviceName |
dmxextensions.c
|
|
Count of how many consecutive structs are bound to the same device |
|
|
Collect and enqueue events from the device |
|
|
Create device-dependent private |
|
|
Destroy device-dependent private |
|
|
device id on remote side, if any |
|
|
devive name on remote side, if any |
|
|
Extended device type |
|
|
Get device information |
|
|
XInput motion history head |
|
|
XInput motion history |
|
|
Initialize device |
|
|
High-level index |
|
|
Is a DMX core device |
|
|
Bell control |
|
|
Keyboard control |
|
|
Keyboard control |
|
|
Last known position; for XInput in dmxevents.c |
|
|
Reinitialize a device (called very late during a reconfiguration) |
|
|
XInput device id map |
|
|
XInput device id map optimization |
|
|
Pointer control |
|
|
Pointer control |
|
|
Device name |
|
|
Turn device off |
|
|
Turn device on |
|
|
X-level device |
|
|
Device-dependent private |
|
|
Process event (from queue) |
|
|
Reinitialize device (during a reconfiguration) |
|
|
Saved motion events |
|
|
Saved sends-core flag |
|
|
Sends DMX core events |
|
|
XInput motion history tail |
|
|
Device type |
|
|
Update window layout information |
|
|
Called when another device updates the cursor position |
|
|
Cache of previous values |
|
|
Called after a VT switch |
|
|
Called before a VT switch |
|
|
Causes a VT switch |
#include <dmxinputinit.h>
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).
Count of how many consecutive structs are bound to the same device
Referenced by dmxApplyFunctions(), dmxCollectAll(), dmxCoreMotion(), dmxProcessInputEvents(), and dmxUpdateWindowInformation().
Collect and enqueue events from the device
Referenced by dmxCollectAll(), and dmxSigioHandler().
Create device-dependent private
Referenced by dmxAddDevice().
Destroy device-dependent private
Referenced by dmxInputFreeLocal().
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().
Extended device type
Referenced by dmxConsoleCapture(), dmxConsoleUncapture(), and dmxGetInputAttributes().
Referenced by dmxApplyFunctions().
Get device information
XInput motion history head
| unsigned long* _DMXLocalInputInfo::history |
XInput motion history
Referenced by dmxInputFreeLocal().
Initialize device
High-level index
Referenced by dmxAddDevice(), dmxCheckFunctionKeys(), dmxInputCopyLocal(), and dmxTranslateAndEnqueueExtEvent().
Is a DMX core device
Referenced by dmxAddDevice(), dmxGetInputAttributes(), dmxInputAttachOld(), dmxInputDetach(), dmxInputFreeLocal(), dmxInputInit(), and dmxInputLogDevices().
Bell control
Referenced by _dmxKeyboardBellProc().
Keyboard control
Referenced by _dmxKeyboardKbdCtrlProc().
| KeybdCtrl _DMXLocalInputInfo::kctrl |
Keyboard control
Referenced by _dmxKeyboardBellProc(), and _dmxKeyboardKbdCtrlProc().
Referenced by dmxExtMotion().
Last known position; for XInput in dmxevents.c
Referenced by dmxExtMotion().
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().
XInput device id map optimization
Referenced by dmxMapClear(), dmxMapInsert(), and dmxMapLookup().
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().
Turn device off
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().
Process event (from queue)
Referenced by dmxProcessInputEvents().
Reinitialize device (during a reconfiguration)
Referenced by dmxInputReInit().
Saved motion events
| int(* _DMXLocalInputInfo::savedMotionProc)(DeviceIntPtr, xTimecoord *, unsigned long, unsigned long, ScreenPtr) |
Saved sends-core flag
Referenced by dmxInputCopyLocal().
Sends DMX core events
Referenced by dmxAddDevice(), dmxChangePointerControl(), dmxCheckFunctionKeys(), dmxCoreMotion(), dmxGetInputAttributes(), dmxInputAttachOld(), dmxInputCopyLocal(), dmxInputDetach(), dmxInputLogDevices(), dmxKeyboardBellProc(), and dmxKeyboardKbdCtrlProc().
XInput motion history tail
Update window layout information
Referenced by dmxUpdateWindowInformation().
Called when another device updates the cursor position
Referenced by dmxCoreMotion(), and dmxExtMotion().
Cache of previous values
Referenced by dmxInputFreeLocal().
Called after a VT switch
Referenced by dmxSwitchReturn().
Called before a VT switch
Referenced by dmxWakeupHandler().
Causes a VT switch
Referenced by dmxWakeupHandler().