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.

1
vote
1answer
32 views

How to send scan code >255 from hid ble keyboard from esp32 over gatt?

I'm using esp-32 esp-idf HID library (https://github.com/espressif/esp-idf/tree/master/examples/bluetooth/ble_hid_device_demo) to make a custom keyboard that sends scan codes to an android device. I ...
0
votes
0answers
18 views

Why can't I connect to my USB Composite Device with HIDSharp?

I'm working on a project that emulates a USB Composite Device consisting of a HID keyboard and HID Mouse using a microprocessor. I have the device properly enumerating and functioning with both my ...
0
votes
0answers
22 views

Finding special key data of bluetooth HID mouse with AHKHID

I have a Mad catz mouse9 bluetooth mouse. It's software isn't very good. So I have been using ahk, with special keys programmed to shift + f12 or something (to emulate f22 etc. mad catz software does ...
0
votes
0answers
23 views

How can i use PnP Configuration Manager API from Python WMI library?

I have several similar USB devices with HIDs. How can I match them with python and WMI library? Specifically: how can i use PnP Configuration Manager API from python WMI library? Or maybe there is a ...
0
votes
0answers
16 views

USD HID device is grabbed by OS X Mojave at startup. How to avoid that?

I have a USB HID device (no mouse, no keyboard) that is grabbed by OS X Mojave at startup, when it is plugged in at startup. When I try to communicate with it (through libusb) I get the error that the ...
0
votes
0answers
13 views

HID over I2C for chrome book

I use this https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/hid code can get Hid over I2C Device but can't connect it. I don't know why? and getUserSelectedDevices also can't. ...
0
votes
0answers
23 views

Experiencing character loss when using HID keyboard wedge barcode scanner with iOS app

I have written an iOS application that displays self hosted web applications. I am using a BLE HID keyboard wedge barcode scanner that inputs scanned barcode text into a text field. The scanner has ...
1
vote
0answers
42 views

configfs USB gadget write() call hangs

I'm trying to emulate a HID device (a gamepad for PS3) from a Raspberry Pi Zero using configfs with kernel v4.19.40 (pretty much the same process as described here). Following the instructions in ...
0
votes
1answer
32 views

Access a HID that does not define the usage page: possible within UWP?

My question. I have a basic HID that does not define any Usage Page and I need to communicate with it from a UWP application. Something really simple: I just need to write/read few bytes from an ...
1
vote
0answers
8 views

Multi Advertisement of different Bluetooth protocols (pybluez)

I'm trying to write PyBluez scripts that serve both as a HID keyboard and GATT server. I have both scripts working separately, but I am not sure how to merge them together, both advertisements need ...
0
votes
0answers
42 views

chrome.hid.getDevices() typeError

I use this"https://github.com/GoogleChrome/chrome-app-samples/tree/master/samples/hid " The following error occurred Uncaught TypeError: Cannot read property 'getDevices' of undefined at ...
1
vote
0answers
20 views

Unable to Locate Connected HID Devices Using HidLibrary

Using the HidLibrary DLL found on GitHub, but can't locate any connected HID devices on my WIN10 machine. Always returns device list length of zero. I've tried multiple vendor IDs, PIDs, for actual ...
0
votes
1answer
15 views

(Arduino Uno reflashed as USB HID) How to send Scroll Lock key?

I am having a hard time properly using USB HID buffers, and want to send the scroll lock key when I press the button. I have tried sending what I thought was scroll lock (0x47) and it sends the ctrl, ...
0
votes
1answer
31 views

Decoding HID descritor to match RAW HID Data

i'm trying to decode a HID RAW data stream of a multitouch screen that i'm reading from /dev/hidraw2 when connected to a linux computer. i've already have a HID report descriptor of my multitouch ...
0
votes
0answers
20 views

On Windows, how can you send HID feature requests to an RGB keyboard, when Windows holds locks on all keyboards?

Most RGB keyboards seem to have Windows user mode software to manipulate lighting, but most HID libraries (like node-hid) give errors when attempting to open keyboard devices. This is presumably ...
0
votes
0answers
25 views

How to read data from hid barcode scanner using mikeobrien/HidLibrary

I'm trying to read data from barcode scanner within HID interface in C#. I tried a lot of libraries for HID interface but I was not successful. I'm stick with mikeobrien library because within this ...
0
votes
0answers
19 views

open on hid device fails after udev_enumerate_add_match_subsystem

I am facing an issue while using libudev library. Here is the code: #include <stdio.h> #include <libudev.h> #include <fcntl.h> void testfunction() { struct udev *udev; ...
0
votes
1answer
28 views

How to test USB HID handle as invalid due to device being replugged

In Windows 7 I have a handle to a custom USB HID device. I'm trying to determine if the handle is no longer able to access the device because the device has been unplugged and re-plugged. When this ...
2
votes
0answers
38 views

Can I set one relative axis and one absolute axis in a mouse HID descriptor?

I'm building a custom Bluetooth mouse using a proximity sensor for the Y coordinates and a gyroscope for the X coordinates and was wondering if setting the X axis as relative and Y axis as absolute ...
0
votes
0answers
39 views

How to make my NFC Reader visible for nodeJS node-hid module?

I'm trying to list connected USB devices using node-hid module of nodeJS. What I'm interested in is getting my NFC device basic information printed to console. However, said device is the only one ...
0
votes
1answer
34 views

Combine keyboard & consumer control in descriptor

I have a hid_discriptor which looks like this: // from USB HID Specification 1.1, Appendix B.1 const uint8_t hid_descriptor_keyboard_boot_mode[] = { /* Keyboard */ 0x05, 0x01, ...
0
votes
0answers
35 views

Control Transfer failing Android Unity

I am trying to configure a neonode sensor by doing a controlTransfer over USB. My transfer keeps failing even though I have given my android device(a hikey 960 board) permisssion to the USB and the ...
0
votes
0answers
18 views

Re-opening a HID device immediately after closing: enumeration fails

I'm using a USB HID device that needs to be closed and re-enumerated after updating its flash memory. If I immediately re-open the device after closing, it doesn't show up in the enumeration. If I ...
0
votes
0answers
14 views

GetRawInputDeviceInfo from a HID Device

I have a problem with this code : case WM_INPUT: translate(wParam, lParam); void FrameNotifier::translate(WPARAM wParam, LPARAM lParam) { stringstream os; UINT rawDatasSize; ...
0
votes
1answer
68 views

Creating virtual HID device vhidmini2

I'm trying to create a virtual HID device for Windows 10 1809, but I'm stuck. I use Visual Studio 2017 and I would like to start with the vhidmini2 example, available at: https://github.com/Microsoft/...
0
votes
0answers
28 views

No surround 7.1 on Windows 10

I'm having trouble with a 7.1 surround headset on windows 10 (Pro) : when i test it in sound setting only the left and right speakers are working, it is detected as a surround 7.1 speaker. This thing ...
0
votes
0answers
13 views

Under Windows, is it possible to directly control an RGB keyboard by writing HID feature requests rather than going through an app?

Most of the RGB keyboard apps are rather large and memory hungry, often because they are not written efficiently (eg, are not native or standard OS bytecode apps), so I'm wondering if they can be ...
0
votes
0answers
14 views

Why does hid.enumerate() get a SEGV called from Flask but not from command line?

I am getting a SEGV when calling hid_enumerate(), but only when it's called from within my macOS-based Flask microserver. The questions: Any hints on how to isolate this bug better? (See Details ...
0
votes
1answer
59 views

Keyboard battery level inquiry on a Microsoft modern keyboard

Recently bought a Microsoft modern keyboard with fingerprint id. It has no way to tell the battery percentage besides battery drained red light. It registers in device manager as Hid Keyboard Device. ...
0
votes
1answer
141 views

Detecting the buttons on a Bluetooth Remote (HID over GATT)

I have a Bluetooth LE Remote which I would like to pair with my Raspberry Pi Zero. ] I was able to successfully pair the remote with an Android phone and it then worked like a Keyboard and I was ...
0
votes
0answers
38 views

HID over GATT : report map is wrongly interpreted

I want to use HID over GATT on my ESP32 to handle a remote control : play/pause,scan next, scan previous, mute ... but it is not interpreted in the same way according the phone i use. The report map ...
0
votes
0answers
19 views

Reading/emulating USB switch device event using python

I have a simple single USB switch plugged into my laptop (Namely Smartbox Joycable). How would I go about listening to the event generated when the switch is pressed, then emulating the event through ...
1
vote
0answers
22 views

What are the EXECUTE, AGAIN, etc. keys for in USB HID usage codes?

I found these in the list of USB HID usage codes: 0x74 Keyboard Execute 0x75 Keyboard Help 0x76 Keyboard Menu 0x77 Keyboard Select 0x78 Keyboard Stop 0x79 Keyboard Again (source ...
0
votes
0answers
37 views

How to debug Windows USB HID controller delay?

What I'm trying to do is to connect Wii Nunchuk to Windows PC. I've written the ARM firmware which handles the controller side. I've also written a Windows app that polls the data. Everything works ...
0
votes
1answer
89 views

Physical keyboard event hooking does not work with Master-Detail app in Xamarin iOS Forms

My need is to hook events from HID scanner ( which works same as physical keyboard ) to read barcode in Xamarin forms on Master-detail app. I dont have any input field on my page. I found that it ...
0
votes
0answers
44 views

API to retrieve HID descriptor repeatedly?

My company produces Precision Touchpad (PTP) device for notebooks with Windows 10. The PTP is a Human Input Device over I2C interface. The firmware engineer is trying to reproduce the enumeration ...
1
vote
1answer
35 views

Write to HID with Chip Selection with .NET Console App

Hi I am writing a simple console app that needs to write bytes to MCP2210 USB to SPI Master I found this library over here, seems to do good job with connecting the device and reading the metadata. I ...
1
vote
1answer
55 views

How to read the home key on an iOS keyboard using IOHIDManager or Bluetooth?

I am attempting to use the home key on an iOS keyboard for the purpose of an Esc key. I am able to use IOHIDManager to read the keys on the keyboard with the exception of the iOS home key. My ...
0
votes
0answers
24 views

How should I implement a USB remote driver for Android?

I have to develop the driver for a remote control which can be plugged into the USB host port of an Android device. This remote control provides key presses through the USB HID class. It also provides ...
0
votes
1answer
33 views

What Android APIs do I need to perform a USB control transfer (setup, data, status) on a HID device?

I am developing the driver for a USB HID controller linked to my Android device using USB-host. All vendor-specific operations enabling me to poll the status of the controller, or to set different ...
0
votes
0answers
39 views

Not able to read/write from BLE device on Windows 10

I'm trying to establish communication between BLE HID device and Windows machine. I'm using custom HID descriptor. I could verify that the firmware on hardware is working using readymade api running ...
0
votes
1answer
56 views

Getting Error: System.Exception: Could not get device interface detail. Error code: 122 when using HID.Net and USB.Net

I have a Console App (.Net Core) project that is using the Hid.Net Library, where the end goal is to connect with my HID game controllers and read data from it, but as a starting point in ...
1
vote
0answers
163 views

Increase Report Size From 64 bytes to 256 bytes CUSTOM USB HID?

I want to transfer 256 bytes from host to stm32f103 device over USB Custom HID interface Currently, 64 bytes Read/Write is Working Following is the Report Descriptor in my stm32: /** Usb HID report ...
0
votes
0answers
16 views

When using Pure Java HID-API the SETUP transaction times out after 1.5 seconds waiting for the IN I would like to extend the timeout

I am using Pure Java HID-API and I can get it to communicate with my device. I have a setup transaction that causes a change in the mode of operation on the actual device/product attached and I have ...
0
votes
0answers
22 views

How does the usb keyboard initialize the lock state?

I want to make a USB HID keyboard. I can get the status of LEDs with the output report form PC, but when I insert the keyboard into the PC, it will not send this report until the status of LEDS ...
0
votes
0answers
20 views

Associate HID Touch Device with 3M monitor

I used the accepted answer in the thread Associate HID Touch Device with Pnp Monitor to create a tool that will tell me whether touch is configured for my multi-monitor touch setup. My setup uses 10 ...
0
votes
2answers
513 views

Windows API USB IO (winusb.dll)

Edit: This question evolved over time. The basic question was about how to connect to a and read/write to/from a USB device in Windows. Eventually I answered the question with the help of @benvoigt. ...
0
votes
0answers
26 views

c callback function to objective-c [duplicate]

I am using xcode 9 in osx 13 (High Sierra). I wanted to create device manager (osx console executable) by using hid api. So I've used IOHIDManagerCreate function like the following: manager = ...
7
votes
1answer
807 views

How can i use the Bluetooth HID Device profile in Android Pie?

I am trying to write an app for Android P using the Bluetooth HID device profile service to be used as a Bluetooth keyboard. According to the documentation I am supposed to use the method ...
0
votes
0answers
24 views

USB-HID working with IIO but now with hidraw subsystem (Chibios firmware)

My uC is connected to a Linux kernel through a USB interface. It is running Chibios 16.1.0 firmware to send data collected from HID sensors to the Linux kernel. Running on a Linux kernel 4.x, the ...

http://mssss.yulina-kosm.ru