pyusb
RaspberryPi-Joystick
Our great sponsors
pyusb | RaspberryPi-Joystick | |
---|---|---|
4 | 1 | |
2,061 | 111 | |
2.6% | - | |
5.3 | 0.0 | |
about 2 months ago | over 1 year ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pyusb
- What should I do now
- 5% of 666 Python repos had comma typo bugs (inc V8, TensorFlow and PyTorch)
- How do I connect my printer using python?
-
How to get the input data of HID device using Python Script?
You can write python code that reads the data the scanner is sending, but it's not super simple getting up to speed on this. It might be best to search on python read usb hid device and start experimenting. The links found on the search lead to pyusb which has a tutorial. The first stumbling block is that the tutorial requires data about the device, such as idVendor and idProduct. You can write python code to find these values for your scanner if you don't know them, but you'll have to search on that.
RaspberryPi-Joystick
-
Software Emulated USB-C Docking Station?
Also, controllers that are usually used for USB on the desktop computer side are not capable to emulate USB devices, but there are specialized devices for that (random web search results - https://www.hagstromelectronics.com/usbtousb-shp.html, http://goodfet.sourceforge.net/hardware/facedancer20/, I would also dig into Raspberry Pi with USB OTG + software https://raspberrypi.stackexchange.com/questions/82850/use-raspberry-pi-as-keyboard-mouse-output-to-control-server since it's cheap and easily available, there are probably better options). There are exceptions - e.g., Raspberry Pi Zero is also a "computer" but USB OTG capable https://github.com/milador/RaspberryPi-Joystick https://unix.stackexchange.com/a/283147.
What are some alternatives?
WireViz - Easily document cables and wiring harnesses.
nxbt - Control your Nintendo Switch through a website, terminal, or macro.
LsUSB - Collect lsusb reports and find most popular USB devices
python-hid-parser - Typed pure Python library to parse HID report descriptors
keyboard - Hook and simulate global keyboard events on Windows and Linux.
display-switch - Turn a $30 USB switch into a full-featured multi-monitor KVM switch
pclk-mn10 - (Attempting to) control the PCLK-MN10 USB device
MicroPythonBLEHID - Human Interface Device (HID) over Bluetooth Low Energy (BLE) GATT library for MicroPython.
akbl - Control the lights of Alienware computers under GNU/Linux systems.
joystick-diagrams - Automatically output your game joystick configs into printable formats with all your binds.
Vulkan-ValidationLayers - Vulkan Validation Layers (VVL)
thumbstick-deadzones - Techniques for managing analog stick input