00001 #ifndef __INCLUDED_CONSTANTS_H__ 00002 #define __INCLUDED_CONSTANTS_H__ 00003 00004 #ifndef HID_INTERNAL 00005 # error "this file is only supposed to be used from within libhid." 00006 #endif /* HID_INTERNAL */ 00007 00016 #define USB_TIMEOUT 10000 00017 00018 #define HID_REPORT_GET 0x01 00019 #define HID_REPORT_SET 0x09 00020 00021 #define HID_GET_IDLE 0x02 00022 #define HID_SET_IDLE 0x0A 00023 00024 #define HID_RT_INPUT 0x01 00025 #define HID_RT_OUTPUT 0x02 00026 #define HID_RT_FEATURE 0x03 00027 00028 #endif /* __INCLUDED_CONSTANTS_H__ */ 00029 00030 /* COPYRIGHT -- 00031 * 00032 * This file is part of libhid, a user-space HID access library. 00033 * libhid is (c) 2003-2005 00034 * Martin F. Krafft <libhid@pobox.madduck.net> 00035 * Charles Lepple <clepple@ghz.cc> 00036 * Arnaud Quette <arnaud.quette@free.fr> && <arnaud.quette@mgeups.com> 00037 * and distributed under the terms of the GNU General Public License. 00038 * See the file ./COPYING in the source distribution for more information. 00039 * 00040 * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED 00041 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES 00042 * OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00043 */
1.5.1