usbhid.h (10b3b54548f2290bbe8d8f88c59c28d12b7a635d) usbhid.h (300f96f1f0918d82797f892fdacd430b8c14b2d1)
1/* $FreeBSD$ */
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

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

151#define HUD_ALTITUDE 0x0040
152#define HUD_TWIST 0x0041
153#define HUD_TIP_SWITCH 0x0042
154#define HUD_SEC_TIP_SWITCH 0x0043
155#define HUD_BARREL_SWITCH 0x0044
156#define HUD_ERASER 0x0045
157#define HUD_TABLET_PICK 0x0046
158
1/* $FreeBSD$ */
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

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

151#define HUD_ALTITUDE 0x0040
152#define HUD_TWIST 0x0041
153#define HUD_TIP_SWITCH 0x0042
154#define HUD_SEC_TIP_SWITCH 0x0043
155#define HUD_BARREL_SWITCH 0x0044
156#define HUD_ERASER 0x0045
157#define HUD_TABLET_PICK 0x0046
158
159/* Usages, Consumer */
160#define HUC_AC_PAN 0x0238
161
159#define HID_USAGE2(p,u) (((p) << 16) | (u))
160
161#define UHID_INPUT_REPORT 0x01
162#define UHID_OUTPUT_REPORT 0x02
163#define UHID_FEATURE_REPORT 0x03
164
165/* Bits in the input/output/feature items */
166#define HIO_CONST 0x001

--- 73 unchanged lines hidden ---
162#define HID_USAGE2(p,u) (((p) << 16) | (u))
163
164#define UHID_INPUT_REPORT 0x01
165#define UHID_OUTPUT_REPORT 0x02
166#define UHID_FEATURE_REPORT 0x03
167
168/* Bits in the input/output/feature items */
169#define HIO_CONST 0x001

--- 73 unchanged lines hidden ---