#include "atKeynames.h"
#include "usb-private.h"
#include "usb-keyboard.h"
Functions | |
void | kbdUSBCtrl (DevicePtr pDev, KeybdCtrl *ctrl) |
void | kbdUSBInit (DevicePtr pDev) |
void | kbdUSBRead (DevicePtr pDev, MOTIONPROC motion, ENQUEUEPROC enqueue, CHECKPROC checkspecial, BLOCK block) |
int | kbdUSBOn (DevicePtr pDev) |
void | kbdUSBGetInfo (DevicePtr pDev, DMXLocalInitInfoPtr info) |
|
Set the LEDs. |
|
Fill the info structure with information needed to initialize pDev. |
|
Initialize pDev using usbInit. |
|
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. |