Commit Graph

13 Commits

Author SHA1 Message Date
Sebastian Zagrodzki
3e59eeac6c replace class/subclass with Class type 2017-04-09 16:41:38 +02:00
Sebastian Zagrodzki
e0f30623b3 Modify EndpointInfo to provide meaningful data rather than raw USB
descriptor values. E.g. for the user, the distinction between
MaxIsoPkt and MaxPktSize is irrelevant, only the calculated max packet
size matters.
2017-04-08 23:49:10 +02:00
Sebastian Zagrodzki
d982ef5a37 Add constants for device speed. 2017-03-27 23:01:02 +02:00
Sebastian Zagrodzki
f3b2f37e3a Rename the rest of the constants. 2017-03-27 22:33:29 +02:00
Sebastian Zagrodzki
36241e869e more constants 2017-03-27 22:29:24 +02:00
Sebastian Zagrodzki
b70848cf73 start renaming the constants to Go-style. 2017-03-27 22:23:47 +02:00
Sebastian Zagrodzki
d4d7011a44 Don't assume libusb headers are always in libusb-1.0.
Use pkg-config to add correct include paths for libusb regardless of the
platform.
2017-02-13 17:08:46 +01:00
Sebastian Zagrodzki
a19ac0f654 Per http://www.beyondlogic.org/usbnutshell/usb5.shtml#EndpointDescriptors:
bits 0-3 are endpoint number, 4-6 reserved, set to zero, bit 7 is
direction. Bits 0-3 is 0x0f.
2017-02-08 22:35:45 +01:00
Sebastian Zagrodzki
beb4fdbac5 Update copyright notes for multiple contributors. 2017-02-07 07:37:57 +01:00
Kyle Lemons
96f1a0a774 Update LICENSE 2013-08-14 19:22:55 -07:00
Ivan Krasin
28a4c23af3 Add RequestType enum values to be passed to Device.Control() 2013-06-16 19:54:30 -07:00
Kyle Lemons
71bbb57904 Checkpoint 2012-04-09 17:37:25 -07:00
Kyle Lemons
e5a0531ed2 Cleanup 2012-03-27 19:40:22 -07:00