usb-keyboard.c File Reference
#include "atKeynames.h"
#include "usb-private.h"
#include "usb-keyboard.h"
Detailed Description
This code implements a low-level device driver for a USB keyboard under Linux. The keymap description is derived from code by Thomas Roell, Orest Zborowski.
Function Documentation
void kbdUSBCtrl |
( |
DevicePtr |
pDev, |
|
|
KeybdCtrl * |
ctrl |
|
) |
|
|
|
Fill the info structure with information needed to initialize pDev. |
void kbdUSBInit |
( |
DevicePtr |
pDev |
) |
|
|
int kbdUSBOn |
( |
DevicePtr |
pDev |
) |
|
|
|
Turn pDev on (i.e., take input from pDev). |
void kbdUSBRead |
( |
DevicePtr |
pDev, |
|
|
MOTIONPROC |
motion, |
|
|
ENQUEUEPROC |
enqueue, |
|
|
CHECKPROC |
checkspecial, |
|
|
BLOCK |
block |
|
) |
|
|
|
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. |
Generated June 29, 2004 for Distributed Multihead X by
doxygen
1.3.4.