Deleted Added
full compact
usbhid.h (184610) usbhid.h (187994)
1/* $FreeBSD: head/sys/dev/usb2/include/usb2_hid.h 184610 2008-11-04 02:31:03Z alfred $ */
1/* $FreeBSD: head/sys/dev/usb2/include/usb2_hid.h 187994 2009-02-02 00:49:39Z alfred $ */
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
5 * Copyright (c) 1998 Lennart Augustsson. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

--- 14 unchanged lines hidden (view full) ---

24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 */
28
29#ifndef _USB2_HID_H_
30#define _USB2_HID_H_
31
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
5 * Copyright (c) 1998 Lennart Augustsson. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

--- 14 unchanged lines hidden (view full) ---

24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 */
28
29#ifndef _USB2_HID_H_
30#define _USB2_HID_H_
31
32#include <dev/usb2/include/usb2_endian.h>
33
32#define UR_GET_HID_DESCRIPTOR 0x06
33#define UDESC_HID 0x21
34#define UDESC_REPORT 0x22
35#define UDESC_PHYSICAL 0x23
36#define UR_SET_HID_DESCRIPTOR 0x07
37#define UR_GET_REPORT 0x01
38#define UR_SET_REPORT 0x09
39#define UR_GET_IDLE 0x02

--- 134 unchanged lines hidden ---
34#define UR_GET_HID_DESCRIPTOR 0x06
35#define UDESC_HID 0x21
36#define UDESC_REPORT 0x22
37#define UDESC_PHYSICAL 0x23
38#define UR_SET_HID_DESCRIPTOR 0x07
39#define UR_GET_REPORT 0x01
40#define UR_SET_REPORT 0x09
41#define UR_GET_IDLE 0x02

--- 134 unchanged lines hidden ---