Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/usb Add some digitizer usage codes.
details: https://anonhg.NetBSD.org/src/rev/51892398bd8a
branches: trunk
changeset: 472125:51892398bd8a
user: augustss <augustss%NetBSD.org@localhost>
date: Thu Apr 22 01:57:01 1999 +0000
description:
Add some digitizer usage codes.
diffstat:
sys/dev/usb/usbhid.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (30 lines):
diff -r b2a107ede45f -r 51892398bd8a sys/dev/usb/usbhid.h
--- a/sys/dev/usb/usbhid.h Thu Apr 22 01:52:54 1999 +0000
+++ b/sys/dev/usb/usbhid.h Thu Apr 22 01:57:01 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: usbhid.h,v 1.3 1998/12/26 12:53:04 augustss Exp $ */
+/* $NetBSD: usbhid.h,v 1.4 1999/04/22 01:57:01 augustss Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -71,6 +71,7 @@
#define HUP_SIMULATION 0x0002
#define HUP_LEDS 0x0008
#define HUP_BUTTON 0x0009
+#define HUP_DIGITIZERS 0x000d
/* Usages, generic desktop */
#define HUG_POINTER 0x0001
@@ -114,6 +115,12 @@
#define HUG_SYSTEM_MENU_UP 0x008c
#define HUG_SYSTEM_MENU_DOWN 0x008d
+/* Usages Digitizers */
+#define HUD_TIP_PRESSURE 0x0030
+#define HUD_IN_RANGE 0x0032
+#define HUD_INVERT 0x003c
+#define HUD_BARREL_SWITCH 0x0044
+
#define HID_USAGE2(p,u) (((p) << 16) | u)
#define UHID_INPUT_REPORT 0x01
Home |
Main Index |
Thread Index |
Old Index