Top 13 C usb-hid Projects
-
mac-precision-touchpad
Windows Precision Touchpad Driver Implementation for Apple MacBook / Magic Trackpad
When I tried to manually update the trackpad settings, I was a bit confused about what to do in device manager. Under "Human Interface Devices", there is a device called "HID-Compliant Touch Pad" but when I updated the drivers using the precision touchpad drivers, nothing happened. I think the computer is recognizing the touchpad as "HID-Compliant Mouse" under "Mice and Other Pointing Devices". The problem is that because the computer thinks the trackpad is a mouse, it won't let me put trackpad drivers on it. Is there any way to fix this?
-
Project mention: Use a raspberry pi pico as a USB host on a serial interface? | reddit.com/r/raspberrypipico | 2022-07-19
Yes. There is a tinyUSB example called cdc_msc_hid. It shows how to host a CDC (serial) device and receive data.
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
hidapi
A Simple library for communicating with USB and Bluetooth HID devices on Linux, Mac and Windows.
I used ffigen to get the bindings from hidapi.h and cleaned up quite some of the resulting output to make it Dart compatible. Quite some typedef and some minor stuff.
-
-
-
esp32_usb_soft_host
ESP32 software USB host through general IO pins. We can connect up to 4 USB-LS HID (keyboard mouse joystick) devices simultaneously.
Project mention: Just a little tip to make your ESP32 kinda work like a regular USB device | reddit.com/r/esp32 | 2022-07-03To actually make an ESP32 do USB in software, see an example here.
-
I used OpenFFBoard, but I believe there are a few others out there.
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
Project mention: Are there currently any Direct Drive racing wheels for driving sim/gaming available that work on Linux? | reddit.com/r/linux_gaming | 2022-06-14
Not completely true. There exists a driver for Thrustmaster T300: https://github.com/Kimplul/hid-tmff2 Other wheels I also have seen supported are some fanatec wheels: https://github.com/gotzl/hid-fanatecff
-
Project mention: starting to get Kontrol S4 Mk3 motorized wheel working in Mixxx | reddit.com/r/DJs | 2021-09-09
I have been talking to the author of Ctlra who has reverse engineered the screens. The screens work by sending a bunch of pixels to a vendor defined class USB bulk endpoint. Unlike some other controllers with screens which just take some metadata from the software and do their own rendering, Native Instruments controllers with screen rely on the software to do the rendering. Traktor does this by rendering QML to an offscreen buffer. However, according to the author of Ctlra it is more complicated than that to get 60 FPS framerate to the screens because simply sending all the pixels continuously saturates the USB bus. Fortunately that doesn't interfere with any other features of the controller because the other USB signals have higher priority (isochronous for the audio, interrupt for the HID). So to get a good framerate, which would matter for sending scrolling waveforms to the screens, my understanding is that Mixxx would have to compare every rendered frame to identify which rectangles of the screen to update in each USB packet.
-
Project mention: How can I buy this esp32s2Stick completely ready to run? | reddit.com/r/esp32 | 2022-03-01
also there's this project: https://github.com/tobozo/WUD-Ducky
-
There have been more commits (this link takes some time to load) this year but they basically implemented this repo.
-
Project mention: How can i implement USB interface for an embedded flight controller to enable serial prints, parameter changes AND reading data from an SD card? | reddit.com/r/embedded | 2021-12-11
I have been through the development of a USB HID device recently using Libopencm3 (and I am not quite done!) It's on my GitHub if you are interested.
-
Project mention: A project to improve my computer's experience - Second keyboard for macros, CAN-USB transreceiver, Window Explorer symlink creator, Graphs for Indoor Air Quality | reddit.com/r/SideProject | 2022-06-12
CustomMacro - Currently requires an external Nucleo L495ZG board with UART-TTL to USB adapter for transmitting keypresses to PC. The nucleo is just a simple USB Host, which receives key-presses from the connected keyboard and transmits it to PC via UART. It could be done with hooking in windows, but this solution always crashed the debugger in MSVC, so I went with the more expensive way. Macros can be added in configuration page or in settings.ini file directly. Firmware for Nucle board is available here: https://github.com/kurta999/UsbHost
C usb-hid related posts
- Need a Guide for Trackpad Drivers
- Any way to use official precision drivers for Magic Touchpad 2 on Windows?
- Magic Mouse 2 on W11: Impressions
- Use a raspberry pi pico as a USB host on a serial interface?
- Trying to design an audio interface, how on earth do I get the digital signal from an ADC written to USB?
- Just a little tip to make your ESP32 kinda work like a regular USB device
- My new custom wrist rest
Index
What are some of the best open-source usb-hid projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | mac-precision-touchpad | 6,216 |
2 | tinyusb | 2,957 |
3 | hidapi | 893 |
4 | EasyAVR | 515 |
5 | FreeJoy | 391 |
6 | esp32_usb_soft_host | 273 |
7 | OpenFFBoard | 252 |
8 | hid-tmff2 | 83 |
9 | openAV-Ctlra | 65 |
10 | WUD-Ducky | 53 |
11 | hid-tminit | 23 |
12 | usb-vk-firmware | 0 |
13 | UsbHost | 0 |
Are you hiring? Post a new remote job listing for free.