head 1.2; access; symbols netbsd-7-2-RELEASE:1.1.1.1 netbsd-7-1-2-RELEASE:1.1.1.1 netbsd-7-1-1-RELEASE:1.1.1.1 netbsd-7-1:1.1.1.1.0.30 netbsd-7-1-RELEASE:1.1.1.1 netbsd-7-1-RC2:1.1.1.1 netbsd-7-1-RC1:1.1.1.1 netbsd-7-0-2-RELEASE:1.1.1.1 netbsd-7-0-1-RELEASE:1.1.1.1 netbsd-7-0:1.1.1.1.0.28 netbsd-7-0-RELEASE:1.1.1.1 netbsd-7-0-RC3:1.1.1.1 netbsd-7-0-RC2:1.1.1.1 netbsd-7-0-RC1:1.1.1.1 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.1 netbsd-6-1-5-RELEASE:1.1.1.1 netbsd-7:1.1.1.1.0.26 netbsd-7-base:1.1.1.1 netbsd-6-1-4-RELEASE:1.1.1.1 netbsd-6-0-5-RELEASE:1.1.1.1 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.1 riastradh-drm2:1.1.1.1.0.24 riastradh-drm2-base:1.1.1.1 netbsd-6-1-3-RELEASE:1.1.1.1 netbsd-6-0-4-RELEASE:1.1.1.1 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.1 netbsd-6-0-3-RELEASE:1.1.1.1 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.1 netbsd-6-1:1.1.1.1.0.22 netbsd-6-0-2-RELEASE:1.1.1.1 netbsd-6-1-RELEASE:1.1.1.1 netbsd-6-1-RC4:1.1.1.1 netbsd-6-1-RC3:1.1.1.1 netbsd-6-1-RC2:1.1.1.1 netbsd-6-1-RC1:1.1.1.1 netbsd-5-2:1.1.1.1.0.20 netbsd-6-0-1-RELEASE:1.1.1.1 netbsd-5-2-RELEASE:1.1.1.1 netbsd-5-2-RC1:1.1.1.1 netbsd-6-0:1.1.1.1.0.18 netbsd-6-0-RELEASE:1.1.1.1 netbsd-6-0-RC2:1.1.1.1 netbsd-6-0-RC1:1.1.1.1 netbsd-6:1.1.1.1.0.16 netbsd-6-base:1.1.1.1 netbsd-5-1-2-RELEASE:1.1.1.1 netbsd-5-1-1-RELEASE:1.1.1.1 netbsd-5-1:1.1.1.1.0.14 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 netbsd-5-0-1-RELEASE:1.1.1.1 netbsd-5-0:1.1.1.1.0.12 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.10 netbsd-5-base:1.1.1.1 netbsd-4-0-1-RELEASE:1.1.1.1 netbsd-4-0:1.1.1.1.0.8 netbsd-4-0-RELEASE:1.1.1.1 netbsd-4-0-RC5:1.1.1.1 netbsd-4-0-RC4:1.1.1.1 netbsd-4-0-RC3:1.1.1.1 netbsd-4-0-RC2:1.1.1.1 netbsd-4-0-RC1:1.1.1.1 netbsd-3-1-1-RELEASE:1.1.1.1.2.2 netbsd-3-0-3-RELEASE:1.1.1.1.2.2 abandoned-netbsd-4-base:1.1.1.1 abandoned-netbsd-4:1.1.1.1.0.4 netbsd-3-1:1.1.1.1.2.2.0.4 netbsd-3-1-RELEASE:1.1.1.1.2.2 netbsd-3-0-2-RELEASE:1.1.1.1.2.2 netbsd-3-1-RC4:1.1.1.1.2.2 netbsd-3-1-RC3:1.1.1.1.2.2 netbsd-3-1-RC2:1.1.1.1.2.2 netbsd-3-1-RC1:1.1.1.1.2.2 netbsd-4:1.1.1.1.0.6 netbsd-4-base:1.1.1.1 netbsd-3-0-1-RELEASE:1.1.1.1.2.2 netbsd-3-0:1.1.1.1.2.2.0.2 netbsd-3-0-RELEASE:1.1.1.1.2.2 netbsd-3-0-RC6:1.1.1.1.2.2 netbsd-3-0-RC5:1.1.1.1.2.2 netbsd-3-0-RC4:1.1.1.1.2.2 netbsd-3-0-RC3:1.1.1.1.2.2 netbsd-3-0-RC2:1.1.1.1.2.2 netbsd-3-0-RC1:1.1.1.1.2.2 netbsd-3:1.1.1.1.0.2 v4-5-0:1.1.1.1 XF86:1.1.1; locks; strict; comment @# @; 1.2 date 2015.07.23.08.13.31; author mrg; state dead; branches; next 1.1; commitid 3Fk7MoycOv7VSnuy; 1.1 date 2005.03.18.13.11.03; author tron; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2005.03.18.13.11.03; author tron; state Exp; branches 1.1.1.1.2.1; next ; 1.1.1.1.2.1 date 2005.03.18.13.11.03; author tron; state dead; branches; next 1.1.1.1.2.2; 1.1.1.1.2.2 date 2005.04.06.20.00.31; author tron; state Exp; branches; next ; desc @@ 1.2 log @remove obsolete XFree86 sources. @ text @
#include "inputstr.h"
#include "Xos.h"
#include <errno.h>
#include <termios.h>
#include "dmxinputinit.h"
#include "lnx-ps2.h"
Data Structures | |
struct | _myPrivate |
Functions | |
void | ps2LinuxRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block) |
void | ps2LinuxInit (DevicePtr pDev) |
int | ps2LinuxOn (DevicePtr pDev) |
void | ps2LinuxOff (DevicePtr pDev) |
void | ps2LinuxVTPreSwitch (pointer p) |
void | ps2LinuxVTPostSwitch (pointer p) |
pointer | ps2LinuxCreatePrivate (DeviceIntPtr pMouse) |
void | ps2LinuxDestroyPrivate (pointer priv) |
void | ps2LinuxGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) |
|
Create a private structure for use within this file. |
|
Destroy a private structure. |
|
Fill the info structure with information needed to initialize pDev. |
|
Initialize pDev. |
|
Turn pDev off (i.e., stop taking input from pDev). |
|
Turn pDev on (i.e., take input from pDev). |
|
Read an event from the pDev device. If the event is a motion event, enqueue it with the motion function. Otherwise, check for special keys with the checkspecial function and enqueue the event with the enqueue function. The block type is passed to the functions so that they may block SIGIO handling as appropriate to the caller of this function. |
|
Currently unused hook called after returning from a VT switch. |
|
Currently unused hook called prior to an VT switch. |
#include "inputstr.h"
#include "Xos.h"
#include <errno.h>
#include <termios.h>
#include "dmxinputinit.h"
#include "lnx-ps2.h"
Data Structures | |
struct | _myPrivate |
Functions | |
void | ps2LinuxRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block) |
void | ps2LinuxInit (DevicePtr pDev) |
int | ps2LinuxOn (DevicePtr pDev) |
void | ps2LinuxOff (DevicePtr pDev) |
void | ps2LinuxVTPreSwitch (pointer p) |
void | ps2LinuxVTPostSwitch (pointer p) |
pointer | ps2LinuxCreatePrivate (DeviceIntPtr pMouse) |
void | ps2LinuxDestroyPrivate (pointer priv) |
void | ps2LinuxGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) |
|
Create a private structure for use within this file. |
|
Destroy a private structure. |
|
Fill the info structure with information needed to initialize pDev. |
|
Initialize pDev. |
|
Turn pDev off (i.e., stop taking input from pDev). |
|
Turn pDev on (i.e., take input from pDev). |
|
Read an event from the pDev device. If the event is a motion event, enqueue it with the motion function. Otherwise, check for special keys with the checkspecial function and enqueue the event with the enqueue function. The block type is passed to the functions so that they may block SIGIO handling as appropriate to the caller of this function. |
|
Currently unused hook called after returning from a VT switch. |
|
Currently unused hook called prior to an VT switch. |