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.28; author mrg; state dead; branches; next 1.1; commitid FQxwnZNPy5ZgOOhz; 1.1 date 2008.07.31.19.50.27; author mrg; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2008.07.31.19.50.27; author mrg; state Exp; branches; next 1.1.1.2; 1.1.1.2 date 2010.11.23.05.21.14; author mrg; state Exp; branches; next 1.1.1.3; 1.1.1.3 date 2011.08.02.06.56.49; author mrg; state Exp; branches; next ; desc @@ 1.2 log @first merge of netbsd changes. not tested yet. @ text @
Go to the source code of this file.
Functions | |
| pointer | dmxBackendCreatePrivate (DeviceIntPtr pDevice) |
| void | dmxBackendDestroyPrivate (pointer private) |
| void | dmxBackendInit (DevicePtr pDev) |
| void | dmxBackendLateReInit (DevicePtr pDev) |
| void | dmxBackendMouGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) |
| void | dmxBackendKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) |
| void | dmxBackendCollectEvents (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block) |
| void | dmxBackendProcessInput (pointer private) |
| int | dmxBackendFunctions (pointer private, DMXFunctionType function) |
| void | dmxBackendUpdatePosition (pointer private, int x, int y) |
|
||||||||||||||||||||||||
|
Get events from the X queue on the backend servers and put the events into the DMX event queue. |
|
|
Create and return a private data structure. |
|
|
Destroy the private data structure. No checking is performed to verify that the structure was actually created by dmxBackendCreatePrivate. |
|
||||||||||||
|
Process #DMXFunctionType functions. The only function handled here is to acknowledge a pending server shutdown. |
|
|
Initialized the backend device described by pDev. |
|
||||||||||||
|
Get information about the backend keyboard (for initialization). |
|
|
Re-initialized the backend device described by pDev (after a reconfig). |
|
||||||||||||
|
Get information about the backend pointer (for initialization). |
|
|
Called after input events are processed from the DMX queue. No event processing actually takes place here, but this is a convenient place to update the pointer. |
|
||||||||||||||||
|
This routine is called from #dmxCoreMotion for each motion event. #x and #y are global coordinants. |
Go to the source code of this file.
Functions | |
| pointer | dmxBackendCreatePrivate (DeviceIntPtr pDevice) |
| void | dmxBackendDestroyPrivate (pointer private) |
| void | dmxBackendInit (DevicePtr pDev) |
| void | dmxBackendLateReInit (DevicePtr pDev) |
| void | dmxBackendMouGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) |
| void | dmxBackendKbdGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) |
| void | dmxBackendCollectEvents (DevicePtr pDev, dmxMotionProcPtr motion, dmxEnqueueProcPtr enqueue, dmxCheckSpecialProcPtr checkspecial, DMXBlockType block) |
| void | dmxBackendProcessInput (pointer private) |
| int | dmxBackendFunctions (pointer private, DMXFunctionType function) |
| void | dmxBackendUpdatePosition (pointer private, int x, int y) |
Interface to backend input device support.
| void dmxBackendCollectEvents | ( | DevicePtr | pDev, | ||||
| dmxMotionProcPtr | motion, | ||||||
| dmxEnqueueProcPtr | enqueue, | ||||||
| dmxCheckSpecialProcPtr | checkspecial, | ||||||
| d61 2 a62 2 | DMXBlockType | block | d66 9 a74 2 | ) | d76 1 a76 19 |
Get events from the X queue on the backend servers and put the events into the DMX event queue.
References _DMXScreenInfo::beDisplay, DMX_ABSOLUTE, DMX_RELATIVE, dmxBackendFindWindow(), dmxBackendGetEvent(), dmxBackendPendingMotionEvent(), dmxCommonRestoreState(), dmxCommonSaveState(), DMXDBG2, DMXDBG4, DMXDBG5, DMXDBG7, DMXDBG8, DMXDBG9, dmxError, dmxFatal, dmxLog(), dmxSync(), _DMXScreenInfo::index, _DMXScreenInfo::name, _DMXScreenInfo::rootHeight, _DMXScreenInfo::rootWidth, _DMXScreenInfo::rootX, _DMXScreenInfo::rootXOrigin, _DMXScreenInfo::rootY, _DMXScreenInfo::rootYOrigin, and _DMXScreenInfo::scrnWin.
| pointer dmxBackendCreatePrivate | ( | DeviceIntPtr | pDevice | ) | d78 2 d81 1 d83 26 a108 17
| void dmxBackendDestroyPrivate | ( | pointer | private | ) | d110 1 d112 27 a138 3 |
| int dmxBackendFunctions | ( | pointer | private, | a166 1d168 3 a170 2 | DMXFunctionType | function | d174 2 a175 2 | ) | d177 1 d179 26 a204 19 |
| void dmxBackendInit | ( | DevicePtr | pDev | ) | d206 1 d208 19 a226 12 |
| void dmxBackendKbdGetInfo | ( | DevicePtr | pDev, | a233 1d235 3 a237 2 | DMXLocalInitInfoPtr | info | d241 2 a242 2 | ) | d244 1 d246 26 a271 19 |
| void dmxBackendLateReInit | ( | DevicePtr | pDev | ) | d273 1 d275 19 a293 12 |
| void dmxBackendMouGetInfo | ( | DevicePtr | pDev, | a300 1d302 3 a304 2 | DMXLocalInitInfoPtr | info | d308 2 a309 2 | ) | d311 1 d313 26 a338 19 |
| void dmxBackendProcessInput | ( | pointer | private | ) | d340 1 d342 19 a360 12 |
| void dmxBackendUpdatePosition | ( | pointer | private, | a367 1d369 3 a371 2 | int | x, | a373 1d375 3 a377 2 | int | y | d381 2 a382 2 | ) | d384 1 d386 14 a399 11 |