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.24; 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 @
Data Fields | |
| int | fd |
| CARD32 | kbdState [NUM_STATE_ENTRIES] |
| int | pitch |
| unsigned long | duration |
| DeviceIntPtr | pDevice |
| unsigned char | mask [EV_MAX/8+1] |
| int | numLeds |
| int | relmap [DMX_MAX_AXES] |
| int | absmap [DMX_MAX_AXES] |
| DMXInputInfo * | dmxInput |
|
|
Absolute axis map |
|
|
For pretty-printing |
|
|
Bell duration |
|
|
File descriptor |
|
|
Keyboard state |
|
|
Mask |
|
|
Counts |
|
|
Device (mouse or other) |
|
|
Bell pitch |
|
|
Relative axis map |
#include <usb-private.h>
Public Types | |
| enum | { button1 = 0x0001, button2 = 0x0002, button3 = 0x0004, button4 = 0x0008, button5 = 0x0010 } |
| enum | { button1 = 0x0001, button2 = 0x0002, button3 = 0x0004, button4 = 0x0008, button5 = 0x0010 } |
Data Fields | |
| DMX_COMMON_PRIVATE | |
| int | myScreen |
| DMXScreenInfo * | grabbedScreen |
| int | lastX |
| int | lastY |
| int | centerX |
| int | centerY |
| int | relative |
| int | newscreen |
| int | initialized |
| DevicePtr | mou |
| DevicePtr | kbd |
| int | entered |
| int | offX |
| int | offY |
| int | globalX |
| int | globalY |
| int | curX |
| int | curY |
| int | width |
| int | height |
| int | consWidth |
| int | consHeight |
| double | xScale |
| double | yScale |
| XlibGC | gc |
| XlibGC | gcDet |
| XlibGC | gcRev |
| XlibGC | gcCur |
| int | grabbed |
| int | fine |
| int | captured |
| Cursor | cursorNormal |
| Cursor | cursorGrabbed |
| Cursor | cursorEmpty |
| Pixmap | pixmap |
| CloseScreenProcPtr | CloseScreen |
| struct _myPrivate * | next |
| int | fd |
| int | vtno |
| int | vtcurrent |
| int | kbdtrans |
| struct termios | kbdtty |
| int | kbdType |
| CARD32 | kbdState [NUM_STATE_ENTRIES] |
| DeviceIntPtr | pKeyboard |
| unsigned char | prefix |
| int | switched |
| SWITCHRETPROC | switch_return |
| void * | switch_return_data |
| int | pitch |
| unsigned long | duration |
| DeviceIntPtr | pMouse |
| struct termios | tty |
| enum _myPrivate:: { ... } | buttons |
| enum _myPrivate:: { ... } | buttons |
| DeviceIntPtr | pDevice |
| unsigned char | mask [EV_MAX/8+1] |
| int | numRel |
| int | numAbs |
| int | numLeds |
| int | relmap [DMX_MAX_AXES] |
| int | absmap [DMX_MAX_AXES] |
| DMXInputInfo * | dmxInput |
Each device has a private area that is visible only from inside the driver code.
| int _myPrivate::absmap[DMX_MAX_AXES] |
Absolute axis map
d20 1 a20 12| enum { ... } _myPrivate::buttons |
| enum { ... } _myPrivate::buttons |
Referenced by dmxConsoleCapture(), and dmxConsoleUncapture().
d28 1 a28 12Referenced by dmxBackendComputeCenter().
d32 1 a32 12Referenced by dmxBackendComputeCenter().
| CloseScreenProcPtr _myPrivate::CloseScreen | d47 19 a65 11
| int _myPrivate::consHeight | d69 19 a87 11
| int _myPrivate::consWidth | d91 19 a109 11
| Cursor _myPrivate::cursorEmpty | d113 19 a131 9
| Cursor _myPrivate::cursorGrabbed | d135 19 a153 9
| Cursor _myPrivate::cursorNormal | d157 19 a175 9
| int _myPrivate::curX | d179 19 a197 11
| int _myPrivate::curY | d201 19 a219 11
| _myPrivate::DMX_COMMON_PRIVATE | d223 19 a241 9
| DMXInputInfo* _myPrivate::dmxInput | d245 16 a260 706
| unsigned long _myPrivate::duration |
Bell duration
| int _myPrivate::fd |
File descriptor
Referenced by kbdLinuxCreatePrivate(), kbdLinuxVTSignalHandler(), kbdLinuxVTSwitch(), msLinuxCreatePrivate(), ps2LinuxCreatePrivate(), usbCreatePrivate(), and usbPrint().
| int _myPrivate::fine |
Referenced by dmxConsoleCapture(), and dmxConsoleDraw().
| XlibGC _myPrivate::gc |
Referenced by dmxBECreateCursor(), dmxCloseConsole(), dmxConsoleClearCursor(), dmxConsoleDraw(), and dmxConsoleUpdateFineCursor().
| XlibGC _myPrivate::gcCur |
Referenced by dmxCloseConsole(), and dmxConsoleDrawFineCursor().
| XlibGC _myPrivate::gcDet |
Referenced by dmxCloseConsole(), dmxConsoleClearCursor(), and dmxConsoleDraw().
| XlibGC _myPrivate::gcRev |
Referenced by dmxCloseConsole(), dmxConsoleClearCursor(), and dmxConsoleDraw().
Referenced by dmxConsoleDrawFineCursor(), dmxConsoleUpdateFineCursor(), and dmxCursorOffScreen().
Referenced by dmxConsoleDrawFineCursor(), dmxConsoleUpdateFineCursor(), and dmxCursorOffScreen().
Referenced by dmxConsoleDrawFineCursor().
Referenced by dmxConsoleCollectEvents(), dmxConsoleDraw(), and dmxConsoleUpdateFineCursor().
| DevicePtr _myPrivate::kbd |
| CARD32 _myPrivate::kbdState |
Keyboard state
Referenced by kbdLinuxKeyDown(), kbdLinuxKeyState(), kbdUSBKeyDown(), and kbdUSBKeyState().
| struct termios _myPrivate::kbdtty |
Referenced by dmxConsoleMoveRelative(), and dmxConsoleUpdateFineCursor().
Referenced by dmxConsoleMoveRelative(), and dmxConsoleUpdateFineCursor().
| unsigned char _myPrivate::mask[EV_MAX/8+1] |
Mask
Referenced by dmxConsoleInit().
| DevicePtr _myPrivate::mou |
Referenced by dmxBackendFindOverlapping(), and dmxBackendSameDisplay().
| struct _myPrivate* _myPrivate::next |
Referenced by dmxCloseConsoleScreen().
Counts
| int _myPrivate::offX |
| int _myPrivate::offY |
| DeviceIntPtr _myPrivate::pDevice |
Device (mouse or other)
Referenced by usbCreatePrivate(), and usbPrint().
Keyboard device Bell pitch
| Pixmap _myPrivate::pixmap |
Referenced by dmxConsoleCreateEmptyCursor(), dmxConsoleDraw(), dmxConsoleDrawFineCursor(), and dmxConsoleUpdateFineCursor().
| DeviceIntPtr _myPrivate::pKeyboard |
Referenced by kbdLinuxCreatePrivate().
| DeviceIntPtr _myPrivate::pMouse |
Referenced by msLinuxCreatePrivate(), and ps2LinuxCreatePrivate().
| unsigned char _myPrivate::prefix |
Referenced by kbdLinuxPrefixMapping().
| int _myPrivate::relmap[DMX_MAX_AXES] |
Relative axis map
| SWITCHRETPROC _myPrivate::switch_return |
Referenced by kbdLinuxVTSignalHandler(), and kbdLinuxVTSwitch().
Referenced by kbdLinuxVTSignalHandler(), and kbdLinuxVTSwitch().
Referenced by kbdLinuxVTSignalHandler(), and kbdLinuxVTSwitch().
| struct termios _myPrivate::tty |
| int _myPrivate::vtno |
Referenced by kbdLinuxVTSwitch().
Referenced by dmxConsoleCollectEvents(), dmxConsoleDraw(), and dmxConsoleUpdateFineCursor().
| double _myPrivate::xScale |
Referenced by scalex(), and unscalex().
| double _myPrivate::yScale |
Referenced by scaley(), and unscaley().