Questions tagged [hid]

Human Interface Device, most commonly referring to a USB device, but can also refer to Bluetooth HID devices.

Filter by
Sorted by
Tagged with
2 votes
1 answer
48 views

USB,HID. How to use 0x06, 0x00, 0xFF, //Vendor Defined Page 1?

What is "0x06, 0x00, 0xFF, // Usage Page = 0xFF00 (Vendor Defined Page 1)" used for? USB HID Report descriptor. ** In the USB documentation I only found this: Unknown Usage Unknown usages ...
stm's user avatar
  • 71
2 votes
1 answer
55 views

USB, HID. Correct "Usage Page (Button)" declaration

Why do I need 5 commands to declare a Usage Page (Button)? If these commands are not for the button, then what are they for? ...
stm's user avatar
  • 71
0 votes
1 answer
64 views

HID USB. How does the INPUT command work?

...
stm's user avatar
  • 71
0 votes
1 answer
184 views

How does a USB HID gamepad specify button codes?

I'm working on a device emulating a USB HID gamepad with 32 buttons. This is the basic Report Descriptor I created ...
Matt K's user avatar
  • 141
0 votes
0 answers
152 views

Convert USB (HID) Full Speed to Low Speed

I want to connect a KVM-over-IP device to the console of my USB KVM switch to make it IP capable. The KVM-over-IP device offers a USB Full Speed composite device with keyboard and mouse subdevices, ...
braxlan's user avatar
0 votes
0 answers
67 views

Custom HID UPS not detected by UPower in Linux

My original question: https://stackoverflow.com/questions/75910694/custom-hid-ups-the-host-does-not-update-the-data-from-reports I'm looking to build a USB HID device (uninterruptible power supply) ...
Anton's user avatar
  • 253
3 votes
0 answers
63 views

How does bluetooth host know which HID to use and how does UUID work?

I have spent hours reading up on bluetooth (classic, not BLE) and i still have some questions i found conflicting answers on the internet. What is the UUID in bluetooth? is the UUID a unique ID for ...
GnomeMage's user avatar
1 vote
1 answer
152 views

BLE HID Keyboard Device for iOS

I'm using a Dialog SmartBond DA14531 as a BLE HID Keyboard device. It works on Windows but not on iOS. Although it pairs successfully, the HID key events do nothing. Does anyone have any experience ...
Charlie Skilbeck's user avatar
0 votes
1 answer
86 views

Are there any useful points of such a large functionality of USB HID class?

In the list of USB classes, in addition to the obvious things (like "Printer", "Hub" and "Storage"), there are also such things like "Audio", "Video", ...
Arseniy's user avatar
  • 2,180
0 votes
1 answer
70 views

ATMEGA328P-AU with USB capabilities

I would like to use an ATMEGA328P-AU microcontroller with USB capabilities (to program it and turn it into a USB Human Interface Device). So, I am thinking of using a CP2102-GMR to do that. Is it a ...
Amparo's user avatar
  • 101
0 votes
1 answer
484 views

Is it possible to make a BLE HID without a microcontroller like an Arduino?

I am in a vocational highschool. I have a project where I have to make a HID like a keyboard or a mouse (wired) into Bluetooth wireless. I've read many articles before like using an Arduino Pro Mini 3....
Tedra's user avatar
  • 1
1 vote
1 answer
313 views

"Invalid PID Sequence"

I'm trying to create a HS USB device. The chirp sequence goes OK, but the device won't fullt enumerate. Device Manager reports "The request for the device descriptor failed". SO that's ...
nobby's user avatar
  • 129
0 votes
1 answer
381 views

How does a wireless USB mouse or keyboard work?

Wireless mouse or keyboard works on the principle of radio frequency (RF) technology. The transmitter of a wireless device is located inside the device itself and it sends the electromagnetic signals ...
Bob's user avatar
  • 3
0 votes
2 answers
2k views

how HID device change to port (LPT&COM)?

how HID device change to port (LPT&COM)? there is an RFID reader that is already in the form of a USB, and is detected in the device manager as a HID, can the HID be converted into a serial port (...
Simas Online's user avatar
3 votes
0 answers
462 views

Custom USB Gamepad Working But Not Detected In-Game

I've created a custom HID gamepad using an STM32L151C8T6 (probably irrelevant) and my computer recognizes the device using the gamepad tester application built into Windows 10. I can verify the ...
Tanner Hollis's user avatar
4 votes
1 answer
352 views

Modifying Bluetooth HID Descriptor from 2 to 4 axis gamepad - Arduino Nano BLE

I am trying to modify an existing Arduino library (https://github.com/tcoppex/mbed-ble-hid go to src/services and its the HIDgamepadservice C++ and H files) to make the HID gamepad 16 button and 4 ...
user2646256's user avatar
1 vote
1 answer
344 views

What are the tradeoffs between a single HID descriptor/endpoint with multiple reports vs multiple HID descriptor/endpoints each with a single report?

Consider the two following setups: Setup A: Single device with a single HID descriptor and endpoint pair, whose Report descriptor contains multiple Collections and Report IDs. Setup B: Single device ...
Daniel's user avatar
  • 334
0 votes
2 answers
201 views

How performant are the arduinos as keyboard controllers? E.g. for a gaming application

Issues I'm concerned about are: Latency (e.g. approximately seconds between key press, and key reaching PC or OS). Ghosting.
caveman's user avatar
  • 115
0 votes
1 answer
420 views

Contents of a keyboard buffer

First off, I am really confused whether this question should be on this site or stack overflow. Please go easy if this is not the good choice. I am going through the tutorial to make a simple HID ...
G-aura-V's user avatar
  • 1,079
0 votes
0 answers
56 views

Power conversion causing huge increase in amperage

I've got a transformer ballast driving an HID lamp. When the transformer is wired to 110VAC, it's using about 700mA. When I drive it with a 12v battery and power inverter (to 110VAC) the transformer ...
Jared Cravens's user avatar
1 vote
3 answers
1k views

To ground or not to ground: portable power supply

So I'm creating a backpack system to carry around and shine a 100 watt HID lamp (using the arc tube for UVC mineral collecting.) This system currently includes a 12v lithium battery, a power inverter ...
Jared Cravens's user avatar
1 vote
2 answers
1k views

How do I operate any mercury vapor bulb and/or a metal halide without a ballast?

I have seen some YouTube videos of some folks operating mercury vapor, metal halide and high pressure sodium bulbs on a incandescent bulb to limit current, but they never explain how. I can't find ...
jwr's user avatar
  • 1
1 vote
0 answers
183 views

How to get correct response from UPS HID

I have a UPS HID device and I'm trying to use LibUSB to get data from it. The response expected is in the format below: ...
Athus Vieira's user avatar
0 votes
1 answer
255 views

Serial port reading: data format unclear

I am trying to read serial data from this OEM barcode scanner module: https://www.barcodescannermodule.com/sale-11330019-lv3085-mini-barcode-scanner-module-usb-ttl232-interface-for-pdas-tablets.html ...
ACEG's user avatar
  • 143
0 votes
1 answer
182 views

Using a micro computer as a macro keyboard device?

not entirely sure this is the best StackExchange board but I bet some of the great members here could at least point me in the right direction. I'm looking to use one of the microcomputer devices, ...
Danny Shepherd's user avatar
0 votes
1 answer
658 views

HID "report descriptor" includes set/get features?

After reading about HID report descriptor, it seems that it only includes "input report". http://www.rennes.supelec.fr/ren/fi/elec/docs/usb/hid1_11.pdf But what about get/set features ? Why it is ...
ransh's user avatar
  • 123
2 votes
2 answers
1k views

What are the limitations of the USB Composite device

I am looking at coding a USB device that is capable of encapsulating two USB devices. I would like to create a HID keyboard with a single extra USB port. A mass storage device would be connected to ...
philm's user avatar
  • 131
1 vote
1 answer
1k views

Can nRF52 simultaneously use Bluetooth and act as USB HID Keyboard?

I want to ask something related to the use of the nRF52 as a HID keyboard (USB host). I have already played around with the SDK example ble_app_hids_keyboard and tried to understand it as much as I ...
Gazi's user avatar
  • 11
0 votes
1 answer
86 views

Electrical gremlins under high Amp draws

I'm new here so I hope all goes well! I have used an ATX PSU to create a power bench tester for testing automotive headlights. HID in particular which draw around 8-10amps on startup. I have noticed ...
Tisho's user avatar
  • 5
0 votes
1 answer
224 views

USB HID keyboard: why 4 URBs are generated for a keypress instead of 2?

This is system log when keyboard is plugged in: ...
Igor Liferenko's user avatar
2 votes
2 answers
797 views

Midi Timestamp Implementation

I am building a HID USB device (via Microchip PIC MCU) with a MIDI interface, which is functioning as intended (sending midi to the host). My intent is to make it usable by a DAW (such as Reaper), and ...
user2419860's user avatar
0 votes
5 answers
4k views

Wiring a momentary button to USB

Please forgive my lack of knowledge as all of this is VERY new to me... old dogs and new tricks and all ;) I want to wire a usb cable to a simple momentary button to use as a push-to-talk button. I'...
Darksider72's user avatar
-1 votes
2 answers
4k views

Minimal component set to build a computer mouse [closed]

I am searching for a DIY set to build an optical mouse. What I need is a bare minimum set, giving the ability to build a very small mouse without buttons, and possibly for beginners. Should be ...
Mikhail V's user avatar
  • 277
1 vote
1 answer
2k views

STM32F4 USB host HID problem

I'm trying to drive USB host as MSC and HID on STM32F4, I have one STM32F407 Discovery board and one custom design PCB based on STM32F407. I'm using Keil compiler and ST std periph library, and for ...
electro's user avatar
  • 375
4 votes
2 answers
258 views

What usb-class for a device intended to be as future proof as possible?

I am writing specifications for a product and need help to minimize its future need of maintenance. In order to be able to be (optionally) monitored from the Internet the device is supposed to have a ...
Caterpillaraoz's user avatar
-2 votes
1 answer
53 views

HID Device that would allow to track usage

Would it be possible to implement a HID device that would be capable of tracking computer usage - such as - 1/ computer being woken up 2/ Keyboard, mouse and/or touchscreen being active A HID device ...
kissste's user avatar
  • 11
0 votes
1 answer
93 views

Powering HID lamp from 240 volts

I'm considering replacing a 300W / 500W R7 halogen fitting with one of those 12v HID car fittings, (and obviously customising the halogen lamp housing) I'm also trying to do it on a budget. I'm ...
Cristofayre's user avatar
4 votes
0 answers
789 views

Microchip RN4870: Can I create a custom GATT Characteristic Descriptor?

I am reading through the RN4870 user guide documentation to try and work out how to implement a HID GATT Service. When I look at GATT specification viewer for the HID service, specifically at the "...
Robert Massaioli's user avatar
2 votes
3 answers
202 views

Electronic device that is open for 6V and passes current once it reaches 12v? [closed]

Please excuse the way I am this question as I do not have much of an electronics background... I am trying to upgrade the headlights in my car to HID projectors. One of the issues I'm running into is ...
gilcontr's user avatar
1 vote
3 answers
2k views

How is this trackpoint supposed to work?

I have salvaged a track-point device from an old laptop that ceased working. I couldn't find any information on it in the hardware manual. However, the labels (see below) suggested that I could apply ...
Dmitry Grigoryev's user avatar
0 votes
1 answer
493 views

LPc11u68 Recognized as an USB mass storage device even when programmed in HID class

When I connected a newbie LPC11u68 to USB port,it recognized in windows as an USB mass storage device.When I programmed LPCOPEN HID example by Flash magic to it,after resetting the board,my PC can't ...
Dizgah's user avatar
  • 67
1 vote
1 answer
1k views

stm32 usb feature report sending

I am working with USB HID in stm32f072. On Get_Report Request I have to send data to Host PC through Control Transfer Endpoint. I am trying to do so. But it is sending always some wrong data. If I ...
istiaq2379's user avatar
1 vote
2 answers
2k views

Reverse engineer USB HID device: easy way to hack up USB hardware?

Background: I want to make a custom controller for an XBox. Either by butchering an existing controller, or making the hardware and firmware from scratch(ish). (Specifically, the goal is to make an ...
Jodes's user avatar
  • 5,054
4 votes
2 answers
2k views

Implementing a Bluetooth HID device

I built a speed detector (of a rotating wheel) based on PIC32. For now I'm sending the speed to the PC through UART, but I'd like to be sending it through Bluetooth as a HID device because I'd like to ...
Luka's user avatar
  • 85
3 votes
1 answer
3k views

USB HID chip similar to FTDI [closed]

Is there a chip similar to the FTDI SPI to USB chips that integrates USB HID client device functionality (with µC interaction via some control protocol over SPI or UART)? FTDI chips cannot be used; ...
pmf's user avatar
  • 132
0 votes
1 answer
138 views

uC Datalogger to GUI for dataprocessing

So I looked around electronics.stackexchange for this one and here is where I landed: What type of USB Protocol for Datalogger Basically, I would like to sample a voltage (specifically, from a photo ...
xxgiuzeppexx's user avatar
4 votes
2 answers
4k views

Composite HID gamepad descriptor works on Windows but not on Linux

I am building an USB adapter for an old game controller. So far everything is working fine. My HID descriptor looks like this: ...
puyawsiht's user avatar
  • 101
0 votes
1 answer
1k views

Is it possible for a Teensy 3.1 microcontroller to receive USB keyboard input?

As I've read, it is possible to have the teensy act as a keyboard for a computer. I would like to know if the opposite is possible - can I collect keystrokes through the USB port on the teensy. If ...
user391339's user avatar
1 vote
1 answer
508 views

Start a teensy sketch after USB handshake has completed or upon a button has been pressed

I have an issue in starting a sketch on my Teensy at the right time. I work in a school as an IT technician and over the summer I go through all the computers on site, log-on and check if they're ...
hsdb's user avatar
  • 11
6 votes
3 answers
5k views

Are any USB-to-SPI *slave* bridge chips readily available?

I would like to interface a battery-powered device to USB, without requiring users to install drivers. Data transfer requirements are moderate, so the ~60kbytes/sec of HID mode would be fine, but I ...
supercat's user avatar
  • 46.1k