Open SWinxy opened 3 years ago
Apologies for hijacking on the thread - but @SWinxy what is your recommendation for USB Java bindings that work on Raspberry Pi (4) with custom USB controllers?
what is your recommendation for USB Java bindings that work on Raspberry Pi (4) with custom USB controllers?
I don't know. My best advice would to try the alternatives?
libusb is an open-source, cross-platform C library that allows for communication through the USB standard. Supports:
hidapi is another open-source, cross-platform C library, but interacts with USB and Bluetooth human interface devices. Supports:
Motivation
While LWJGL provides GLFW, application developers may want to tinker with specialized USB devices that GLFW doesn't cover. These may be digital instruments, interfaces, or a whole host of things. Accessing them in the efficient manner that LWJGL does would give Java a leg up.
For example, if I wanted to interface with an Arduino or Raspberry Pi with a not-invented-here mindset, or I needed to get inputs from a digital knob, these libraries would allow me to access those devices directly.
Alternatives and their drawbacks