1139749Simp/*- 2137776Semax * vkbd_var.h 3137776Semax * 4137776Semax * Copyright (c) 2004 Maksim Yevmenkin <m_evmenkin@yahoo.com> 5137776Semax * All rights reserved. 6137776Semax * 7137776Semax * Redistribution and use in source and binary forms, with or without 8137776Semax * modification, are permitted provided that the following conditions 9137776Semax * are met: 10137776Semax * 1. Redistributions of source code must retain the above copyright 11137776Semax * notice, this list of conditions and the following disclaimer. 12137776Semax * 2. Redistributions in binary form must reproduce the above copyright 13137776Semax * notice, this list of conditions and the following disclaimer in the 14137776Semax * documentation and/or other materials provided with the distribution. 15137776Semax * 16137776Semax * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17137776Semax * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18137776Semax * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19137776Semax * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20137776Semax * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21137776Semax * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22137776Semax * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23137776Semax * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24137776Semax * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25137776Semax * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26137776Semax * SUCH DAMAGE. 27137776Semax * 28137776Semax * $Id: vkbd_var.h,v 1.4 2004/08/17 17:43:14 max Exp $ 29137776Semax * $FreeBSD$ 30137776Semax */ 31137776Semax 32137776Semax#ifndef _VKBD_VAR_H_ 33137776Semax#define _VKBD_VAR_H_ 34137776Semax 35137776Semax#define VKBD_Q_SIZE 64 /* vkbd input queue size */ 36137776Semax 37137776Semaxstruct vkbd_status 38137776Semax{ 39137776Semax int mode; /* keyboard mode */ 40137776Semax int leds; /* keyboard LEDs */ 41137776Semax int lock; /* keyboard lock key state */ 42137776Semax int delay; /* keyboard delay */ 43137776Semax int rate; /* keyboard rate */ 44137776Semax int reserved[3]; 45137776Semax}; 46137776Semax 47137776Semaxtypedef struct vkbd_status vkbd_status_t; 48137776Semaxtypedef struct vkbd_status * vkbd_status_p; 49137776Semax 50137776Semax#endif /* ndef _VKBD_VAR_H_ */ 51137776Semax 52