lib-javax-usb3
lib-javax-usb3 copied to clipboard
bugfix: WValue should be 2 bytes
According to section 9.3 of USB 2.0.pdf the wValue should be two bytes. That's a short in Java terms. This seems to make
javax.usb3.ri.AUsbDevice.getLanguages() work for my USB device.
For reference: I believe this was originally broken in commit a3e6c506d8acca0240a5f30c1fc6f6eb0b0a0280. The commit before seems to use short, while in that commit it became a byte.