summaryrefslogtreecommitdiffstats
path: root/lib/libusbhid/usbhid.h
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2009-02-02 00:49:39 +0000
committeralfred <alfred@FreeBSD.org>2009-02-02 00:49:39 +0000
commitcbd30dee28ea9c348eda811275b088898dd9724b (patch)
treeaa7463911cd2ff8c202e86c06090486f3bd452b5 /lib/libusbhid/usbhid.h
parent70a17b78b00a4d260220142eb627c102ddeb18a7 (diff)
downloadFreeBSD-src-cbd30dee28ea9c348eda811275b088898dd9724b.zip
FreeBSD-src-cbd30dee28ea9c348eda811275b088898dd9724b.tar.gz
src/usr.bin/usbhidaction/usbhidaction.c
src/usr.bin/usbhidctl/usbhid.c src/sys/dev/usb2/include/usb2_hid.h src/sys/dev/usb2/input/uhid2.c src/lib/libusbhid/Makefile src/lib/libusbhid/descr.c src/lib/libusbhid/descr_compat.c src/lib/libusbhid/usbhid.3 src/lib/libusbhid/usbhid.h src/lib/libusbhid/usbvar.h Patches to make libusbhid and HID userland utilities compatible with the new USB stack. All HID ioctls should go through the libusbhid library to ensure compatibility. I have found at least one piece of software in /usr/ports which needs to get updated before USB HID devices will work. This is the X joystick input driver. Reported and tested by: Daichi GOTO and Masanori OZAWA. src/sys/dev/usb2/core/usb2_process.c Correct USB process names. Reported by: Andre Guibert de Bruet src/sys/dev/usb2/serial/uftdi2.c Integrate changes from old USB stack. Submitted by: hps
Diffstat (limited to 'lib/libusbhid/usbhid.h')
-rw-r--r--lib/libusbhid/usbhid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libusbhid/usbhid.h b/lib/libusbhid/usbhid.h
index af3228f..b8751cd 100644
--- a/lib/libusbhid/usbhid.h
+++ b/lib/libusbhid/usbhid.h
@@ -87,6 +87,8 @@ __BEGIN_DECLS
report_desc_t hid_get_report_desc(int file);
report_desc_t hid_use_report_desc(unsigned char *data, unsigned int size);
void hid_dispose_report_desc(report_desc_t);
+int hid_get_report_id(int file);
+int hid_set_immed(int fd, int enable);
/* Parsing of a HID report descriptor, parse.c: */
hid_data_t hid_start_parse(report_desc_t d, int kindset, int id);
OpenPOWER on IntegriCloud