Questions tagged [hid]

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.

1252 questions
10
votes
2 answers

Send data to a PS3 DualShock3 controller from a Mac (IOHIDDeviceSetReport)

I've been playing around with the HID part of IOKit lately on my Mac with a PS3 controller. I've managed to look though the sample code and connect to my controller, receive a stream of data and parse it (Everything, including the accelerometer and…
Baza207
  • 2,123
  • 1
  • 22
  • 40
9
votes
3 answers

Creating a virtual HID device

I'd like to create a virtual HID device (emulate it with a driver). It must be visible to clients that implement standard HID detection: Call HidD_GetHidGuid() – Get the HID device class GUID Call SetupDiGetClassDevs() – Get a handle to a set of…
jsmith
  • 367
  • 1
  • 4
  • 12
9
votes
1 answer

UWP HID SendOutputReport always returns access denied, requires ReadWrite permissions

I'm trying to read a Wii Remote using the HID class, in a UWP app (C# .net), similar to this. However, I can't seem to do much, as I can't get a Write-capable HID handle, which is required to do a HID SendOutputReport (needed for the device…
MoDu
  • 106
  • 10
9
votes
1 answer

How do I tell OS X to ignore the input from one of two connected USB mice?

I have two USB mice connected to my Mac, one of which I'm using as a scanner. I need access to the Generic X and Y data but I don't want that data to move the cursor. How, under either carbon or cocoa environments, do I tell the system to ignore…
Jeff
  • 91
  • 3
9
votes
1 answer

How to reverse engineering USB/HID/BlueTooth dongle. What tools to use?

Need to reverse engineering bluetooth usb mouse dongle, and use mouse board to measure distance, and plot them with matplotlib I've found these tools that can help with this…
user1630938
9
votes
3 answers

Serial or HID (usb) Communication in iOS (iPhone/iPad)

I want to get data from glucose meter devices by connecting into iPhone or iPad devices. I have different vendors glucose meters some uses simple HID interface for communicate and other uses serial communication. These are the two possible ways of…
Usman Awan
  • 1,208
  • 2
  • 13
  • 30
8
votes
1 answer

Mac low-level keyboard device corresponding to Linux /dev/input?

What is the name of the low-level keyboard device in macOS (somewhere in Darwin / Mach / IOKit) that corresponds to /dev/input in Linux? (e.g. /dev/input/event0) Context: I'm asking because want to 'map' the Mac device to a Docker container running…
David J.
  • 31,569
  • 22
  • 122
  • 174
8
votes
1 answer

Is there a way to detect whether Windows is installing a device driver?

The situation: We have a software suite that interacts with a device we built in-house. The device uses WinUSB for communications, EXCEPT when in boot mode during firmware updates. When in boot mode, the device uses a different VendorID and…
GPearson
  • 83
  • 5
8
votes
1 answer

How do I direct input Unicode from a device? I want a "Machine interface device" than "Human interface device" (HID)

For example, a USB barcode scanner can act as an HID keyboard to input characters. However, to input some foreign language other than English, e.g. Unicode, an HID keyboard could face difficulties. An HID keyboard mimics keyboard behaviors, which…
Robin Hsu
  • 4,164
  • 3
  • 20
  • 37
8
votes
3 answers

Convert events from a USB human interface device using C++

I have a USB HID touchpad that collects input. By default, when I press on the touchpad it generates carriage return (Enter) and when I try to use it as a mouse it actually enters a dragging state. What I want to do is to convert the carriage return…
George Netu
  • 2,758
  • 4
  • 28
  • 49
8
votes
2 answers

Consuming a USB HID device in Windows CE 6.0 using C#

I am working on an embedded Windows CE project and am interested in accessing a USB HID device through one of its USB Host ports. All I really need to read are the raw HID specification packets. On a Windows computer, I have a working program using…
kersny
  • 2,759
  • 23
  • 15
8
votes
1 answer

Create iOS BLE HID service?

I tried to create a simple "Hello World" app implementing the HID service (i.e. my app acting as a simple HID button). However, when trying this I receive the error The specified UUID is not allowed for this operation after adding my service to my…
Krumelur
  • 31,081
  • 7
  • 77
  • 119
8
votes
2 answers

How to simulate a low level keypress on os x?

I am trying to generate keyboard keydown and keyup events programmatically. I am currently using CGPostKeyboardEvent to do this, but I am searching for a way to do this at a lower level. I have looked at DDHidLib but could not figure out a way to…
Lou
  • 83
  • 1
  • 4
8
votes
3 answers

How can I connect to a Server Side USB (HID) Device from within an ASP.NET Application?

I'm trying to write my own controller for a USB device instead of using the SDK that comes with the product (I feel the sdk is sub-par). The USB Device is plugged into the SAME SERVER that this application is running on. So I decided to head over to…
Chase Florell
  • 46,378
  • 57
  • 186
  • 376
7
votes
2 answers

OSX HID Filter for Secondary Keyboard?

I would like to filter keyboard input on a second keyboard, and prevent the key events for that second keyboard from reaching the OS (handle them myself). How can this be done?
JayGee
  • 577
  • 6
  • 16
1 2
3
83 84