# lnx-keyboard.h

Go to the documentation of this file.

    00001 /* $XFree86: xc/programs/Xserver/hw/dmx/doc/html/lnx-keyboard_8h-source.html,v 1.1 2004/06/30 20:21:41 martin Exp $ */
    00002 /*
    00003  * Copyright 2001 Red Hat Inc., Durham, North Carolina.
    00004  *
    00005  * All Rights Reserved.
    00006  *
    00007  * Permission is hereby granted, free of charge, to any person obtaining
    00008  * a copy of this software and associated documentation files (the
    00009  * "Software"), to deal in the Software without restriction, including
    00010  * without limitation on the rights to use, copy, modify, merge,
    00011  * publish, distribute, sublicense, and/or sell copies of the Software,
    00012  * and to permit persons to whom the Software is furnished to do so,
    00013  * subject to the following conditions:
    00014  *
    00015  * The above copyright notice and this permission notice (including the
    00016  * next paragraph) shall be included in all copies or substantial
    00017  * portions of the Software.
    00018  *
    00019  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
    00020  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
    00021  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
    00022  * NON-INFRINGEMENT.  IN NO EVENT SHALL RED HAT AND/OR THEIR SUPPLIERS
    00023  * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
    00024  * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
    00025  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    00026  * SOFTWARE.
    00027  */
    00028
    00029 /*
    00030  * Authors:
    00031  *   Rickard E. (Rik) Faith <faith@redhat.com>
    00032  *
    00033  */
    00034
    00038 #ifndef _LNX_KEYBOARD_H_
    00039 #define _LNX_KEYBOARD_H_
    00040
    00041 extern pointer kbdLinuxCreatePrivate(DeviceIntPtr pKeyboard);
    00042 extern void    kbdLinuxDestroyPrivate(pointer private);
    00043
    00044 extern void    kbdLinuxInit(DevicePtr pDev);
    00045 extern void    kbdLinuxGetInfo(DevicePtr pDev, DMXLocalInitInfoPtr info);
    00046 extern int     kbdLinuxOn(DevicePtr pDev);
    00047 extern void    kbdLinuxOff(DevicePtr pDev);
    00048
    00049 extern void    kbdLinuxVTPreSwitch(pointer p);
    00050 extern void    kbdLinuxVTPostSwitch(pointer p);
    00051 extern int     kbdLinuxVTSwitch(pointer p, int vt,
    00052                                 dmxVTSwitchReturnProcPtr switch_return,
    00053                                 pointer switch_return_data);
    00054
    00055 extern void    kbdLinuxRead(DevicePtr pDev,
    00056                             dmxMotionProcPtr motion,
    00057                             dmxEnqueueProcPtr enqueue,
    00058                             dmxCheckSpecialProcPtr checkspecial,
    00059                             DMXBlockType block);
    00060
    00061 extern void    kbdLinuxCtrl(DevicePtr pDev, KeybdCtrl *ctrl);
    00062 extern void    kbdLinuxBell(DevicePtr pDev, int percent,
    00063                             int volume, int pitch, int duration);
    00064 #endif

Generated June 29, 2004 for Distributed Multihead X by doxygen 1.3.4. </addres>