HID stands for Human Interface Device, a type of computer peripheral taking input from a user and sometimes providing feedback, for example keyboard, mouse, joystick, trackball and the like.
Questions tagged [hid]
1252 questions
61
votes
1 answer
Disabling mouse acceleration in Mac OS X
First of all, here's the userland question: Disabling mouse acceleration in Mac OS X @ superuser
To summarize: I want to have linear mouse response on Mac OS X. That is, no acceleration; an adjustable but constant pixels pointer moves / meters…

aib
- 45,516
- 10
- 73
- 79
40
votes
6 answers
How can I capture raw HID input on Linux?
Short version of what I want to accomplish: I have a foot pedal (INFINITY-IN-USB-1, if that's of any interest) that is implemented as a generic HID device, and I would like it to be behave as Ctrl and Alt keys on Linux. I'm looking for something on…

polyglot
- 9,945
- 10
- 49
- 63
40
votes
5 answers
Is it possible to make a computer behave as a bluetooth HID device?
Is it possible to make a computer behave as a bluetooth HID device? That is, given a local machine with a standard USB keyboard plugged into it, other devices could discover this machine and use it as a bluetooth keyboard.
I'd like to create a linux…

Michael Wehner
- 753
- 2
- 6
- 13
38
votes
10 answers
Set of unambiguous looking letters & numbers for user input
Is there an existing subset of the alphanumerics that is easier to read? In particular, is there a subset that has fewer characters that are visually ambiguous, and by removing (or equating) certain characters we reduce human error?
I know "visually…

Brian M. Hunt
- 81,008
- 74
- 230
- 343
26
votes
8 answers
.NET API for HID (USB)?
Is there an API in .NET (C#) for using USB HID (human interface) devices?

jco
- 1,335
- 3
- 17
- 29
24
votes
1 answer
How can you take ownership of a hid device?
What I would like to take ownership of a hid device that may already have been plugged in, consume it's output, while preventing others(X11 or terminal) from consuming it.
If I can help it, I don't want to pretend to be a terminal, but rather to…

Catskul
- 17,916
- 15
- 84
- 113
22
votes
3 answers
Reading and writing to USB (HID) interrupt endpoints on Mac
I am attempting to communicate with a rather specific USB device and developing both Windows and Mac code to do so.
The device is a USB device with a HID interface (class 3) with two endpoints, an interrupt input and an interrupt output. The…

Demi
- 6,147
- 7
- 36
- 38
20
votes
6 answers
What is the best USB library to communicate with USB HID devices on Windows?
The library should;
Be easy to use and few lines of client code should accomplish much
Be as platform independent as possible. (In case of future ports to other platforms)
Have C++ bindings.
Be mature and stable
I would also like to be notified of…

Torleif
- 2,334
- 3
- 27
- 28
20
votes
1 answer
List of hex keyboard scan codes and USB HID keyboard documentation
Where am I able to find a list of the hex keyboard scan codes for different keyboard layouts?
I'm sending the key codes over a (fake) USB HID keyboard with the bash command echo -ne followed by the escaped hex key scan code and the HID device:
echo…

Nico Hauser
- 644
- 2
- 8
- 17
20
votes
3 answers
Simulate USB/Bluetooth HID device locally in order to inject events?
Is it possible to simulate a USB or Bluetooth device connected to Android?
I would like to make an app which is able to simulate an HID device locally. What I mean by this is: the app should make Android believe that an USB/Bluetooth HID device is…

Rolf
- 1,129
- 11
- 27
18
votes
3 answers
Need to intercept HID Keyboard events (and then block them)
I've got a RFID USB device that registers as a HID device (A USB Keyboard more or less).
I'm looking for a way to capture this input, and block/filter it before it hits the normal keyboard event handler (and outputs the 10 digit RFID code to the…

Litch
- 686
- 1
- 7
- 17
18
votes
4 answers
Roll My Own Windows Joystick HID Driver?
I have a USB Joystick, and I want to write my own HID driver for it. Notably I want to inject delay between when the joystick input is received by Windows and when my application is notified of that input event. I would also like to change the…

vicatcu
- 5,407
- 7
- 41
- 65
18
votes
4 answers
Using Android to Communicate with a USB HID Device
I am new to USB and to Android so please forgive me if I don't explain myself clearly.
I have a USB HID device that I can communicate with in Windows. I am trying to establish communication using an Acer Iconia A500 tablet running Android 3.1.
I am…

DasBoos
- 313
- 1
- 3
- 8
17
votes
3 answers
Is there a JavaScript (or other) library to read driver's licenses?
I'm working on a JavaScript project that involves reading credit cards and driver's licenses from a USB magnetic stripe reader in keyboard emulation mode. It turns out getting credit cards working was extremely easy, as they're all in the same…

Dan Tao
- 125,917
- 54
- 300
- 447
16
votes
4 answers
Get mouse deltas using Python! (in Linux)
I know that Linux gives out a 9-bit two's complement data out of the /dev/input/mice. I also know that you can get that data via /dev/hidraw0 where hidraw is your USB device giving out raw data from the HID.
I know the data sent is the delta of the…

JohnRoach
- 747
- 4
- 11
- 26