xref: /openbsd/sys/dev/hil/hildevs_data.h (revision 771fbea0)
1 /*	$OpenBSD: hildevs_data.h,v 1.4 2006/08/10 23:48:06 miod Exp $	*/
2 
3 /*
4  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
5  *
6  * generated from:
7  *	OpenBSD: hildevs,v 1.3 2006/08/10 23:44:16 miod Exp
8  */
9 /*
10  * Copyright (c) 2003, Miodrag Vallat.
11  * All rights reserved.
12  *
13  * Redistribution and use in source and binary forms, with or without
14  * modification, are permitted provided that the following conditions
15  * are met:
16  * 1. Redistributions of source code must retain the above copyright
17  *    notice, this list of conditions and the following disclaimer.
18  * 2. Redistributions in binary form must reproduce the above copyright
19  *    notice, this list of conditions and the following disclaimer in the
20  *    documentation and/or other materials provided with the distribution.
21  *
22  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
23  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
24  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
25  * DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
26  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
27  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
28  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
30  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32  * POSSIBILITY OF SUCH DAMAGE.
33  *
34  */
35 
36 const struct hildevice hildevs[] = {
37 	{ 0x00, 0x1f, HIL_DEVICE_BUTTONBOX, "Keypad" },
38 	{ 0x2f, 0x2f, HIL_DEVICE_BUTTONBOX, "LPFK Button box" },
39 	{ 0x30, 0x33, HIL_DEVICE_BUTTONBOX, "Button box" },	/* 31-33 rumored not to exist */
40 	{ 0x34, 0x34, HIL_DEVICE_IDMODULE, "ID module" },
41 	{ 0x35, 0x3f, HIL_DEVICE_BUTTONBOX, "Button box" },
42 	{ 0x5c, 0x5f, HIL_DEVICE_BUTTONBOX, "Barcode reader" },
43 	{ 0x60, 0x60, HIL_DEVICE_MOUSE, "Single knob" },
44 	{ 0x61, 0x61, HIL_DEVICE_MOUSE, "Nine knob" },	/* can also be quadrature */
45 	{ 0x62, 0x67, HIL_DEVICE_MOUSE, "Quadrature" },
46 	{ 0x68, 0x6b, HIL_DEVICE_MOUSE, "Mouse" },
47 	{ 0x6c, 0x6f, HIL_DEVICE_MOUSE, "Trackball" },
48 	{ 0x70, 0x70, HIL_DEVICE_MOUSE, "Knob box" },
49 	{ 0x71, 0x71, HIL_DEVICE_MOUSE, "Spaceball" },
50 	{ 0x88, 0x8b, HIL_DEVICE_MOUSE, "Touchpad" },
51 	{ 0x8c, 0x8f, HIL_DEVICE_MOUSE, "Touchscreen" },
52 	{ 0x90, 0x97, HIL_DEVICE_MOUSE, "Tablet" },
53 	{ 0x98, 0x98, HIL_DEVICE_MOUSE, "MMII 1812 Tablet" },
54 	{ 0x99, 0x99, HIL_DEVICE_MOUSE, "MMII 1201 Tablet" },
55 	{ 0xa0, 0xbf, HIL_DEVICE_KEYBOARD, "93-key keyboard" },
56 	{ 0xc0, 0xdf, HIL_DEVICE_KEYBOARD, "109-key keyboard" },
57 	{ 0xe0, 0xff, HIL_DEVICE_KEYBOARD, "87-key keyboard" },
58 	{ -1, -1, -1, NULL }
59 };
60