Hi,

I'm currently writing a USB driver for the SFML framework. I'm reading
the code of SDL and seen the usage of usbhid.

However, /usr/include/usbhid.h and /usr/include/dev/usb/usbhid.h are
different. But they have both some common functions and the same data
definition.

For instance, enum and structures are identical, but the second one
has much more #define about hid usages.

Why are these files so much different and still having some identical
definitions? Isn't better to add full definitions and data to the
second one and just add a #include <dev/usb/usbhid.h> in
/usr/include/usbhid.h?

Regards,

-- 
Demelier David
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to