Sebastian Zagrodzki
|
22ff844a3d
|
s/DeviceSpeed/Speed/
|
2017-04-26 22:24:46 +02:00 |
|
Sebastian Zagrodzki
|
5efb68e45e
|
iota used on the second line of const block starts from 1, not from 0...
|
2017-04-10 01:41:36 +02:00 |
|
Sebastian Zagrodzki
|
b09de1cf09
|
more comments
|
2017-04-09 19:17:13 +02:00 |
|
Sebastian Zagrodzki
|
13f4e95f2f
|
Unexport bitmasks, they are only used internally. All values present
in exported structs are meaningful and the users should not need to use
bitmasks.
|
2017-04-09 18:53:49 +02:00 |
|
Sebastian Zagrodzki
|
3d62929e05
|
Replace EndpointDirection with a bool
|
2017-04-09 18:51:51 +02:00 |
|
Sebastian Zagrodzki
|
f91d53931a
|
Use Protocol type for USB interface protocol.
|
2017-04-09 18:42:04 +02:00 |
|
Sebastian Zagrodzki
|
d3428d9b35
|
Use Class for classes in usbid.
|
2017-04-09 18:29:16 +02:00 |
|
Sebastian Zagrodzki
|
af00028b97
|
more comments, add Milliamperes type.
|
2017-04-09 18:15:48 +02:00 |
|
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 |
|