Questions tagged [hid]
27 questions
2
votes
1 answer
Send custom HID values instead of keys
I've been building a small macro keypad based on the ATmega32U4. So far, I've been able to send standard key presses to the host. But since I want a program on the host system to react to the key presses, I only send the keys to serial to avoid…
Nikolai
- 23
- 4
2
votes
0 answers
Using an ATTiny85 and DigiKeyboard.h, can I detect when USB HID is connected?
I am building a project to send HID keystrokes to a computer with an ATTiny85. I want to detect when the USB communication is working, in order to turn on a LED saying that everything is good. If USB stops working, I want a watchdog to turn the LED…
Bobby Tables
- 21
- 1
2
votes
1 answer
How do I set up an Arduino to be a wireless HID?
The question below describes how to set up an Arduino as an HID (Human Input Device -- like a keyboard, mouse, etc.). How can I set up an Arduino as a wireless HID?
I'm flexible as to the wireless format. Bluetooth, USB receiver, or any other…
Mark Harrison
- 559
- 3
- 14
- 23
2
votes
1 answer
Debugging RN 42 HID Mouse
I'm trying to use the RN 42 and Arduino Uno to control a bluetooth mouse. I configured the RN 42 with the commands S~,6 and SH,0220 and R,1 to put the device in HID mouse mode. Is there anything I missed? Below is the sketch I am using to send mouse…
ponderosa
- 51
- 1
- 4
2
votes
1 answer
USB control panel with endless turn knobs
I understand that some arduinos are capable of presenting themselves as a USB HID device to a PC.
I would like to use one to build a custom input controller that lets me read maybe 8 or so turn knobs that can infinitely turn left and right.
I am new…
Bram
- 219
- 2
- 9
1
vote
0 answers
Using RN-42 as HID Mouse
I am using RN-42 with Arduino Micro and able to connect RN-42 in HID mode and it's connected to the PC as Mouse. I am using BPLib (https://github.com/witnessmenow/BPLib) for Bluetooth communication. I am not sure where I am making a mistake as…
Abubakar
- 39
- 2
1
vote
2 answers
Expose two HID Joystick devices with single RP2040 board (Waveshare Pi Pico Zero)
I want to use a Waveshare Pi Pico Zero to connect two standard NES controllers to a computer over a single USB port.
I'm using the Waveshare RP2040 Zero board definition from https://github.com/earlephilhower/arduino-pico which seems to provide a…
NeilenMarais
- 219
- 3
- 8
1
vote
1 answer
USB OTG and ESP32-S2
I have an ESP32-S2-DevKitM-1 which is supposed to able to act as USB HID device.
But whatever I try using either ESP-IDF or Arduino-IDE, I can't get any data from it.
I ran this esp-idf example.
I also ran the arduino example.
I connected GPIO20/19…
Bram
- 219
- 2
- 9
1
vote
1 answer
Can't type backslash (\) with Keyboard library
I'm trying to make a macro keyboard, where I can press a single button and it will open programs for me.
I'm trying to type this, for example: "c:\windows"
but it gets typed out like this: cÑ}windows
I tried using double backslash (\), but it still…
Tomy Gaspar
- 13
- 3
1
vote
0 answers
I am trying to use Arduino Uno as a hid device to login Windows but I cannot use Modifier keys to Lock Windows
uint8_t buf[8] = { 0 };
#include
#include // RFID library
#define SS_PIN 10 //RX slave select
#define RST_PIN 9
int gled = 7; // optional
int rled = 4;// optional
MFRC522 mfrc522(SS_PIN, RST_PIN); // Create MFRC522…
Abhi Electronics
- 11
- 1
1
vote
2 answers
Disable Keyboard.h status LED
As soon as I include keyboard.h my pro micros LED starts flashing (as far as I know this indicates a serial connection is stablished or so.)
But it's really annoying having a flashing led on my desk all the time.
Is there an option to disable this…
pqzpkaot
- 115
- 3
1
vote
1 answer
Arduino Uno R3 HID with HC-06 BT module
Im trying to make a macro pad using Arduino Uno r3 and 4x4 matrix (cherry blue clone) . I know using a pro micro is better than uno cause there isn't HID compatibility in uno but since i already have one , i want to work with this . I have already…
Ikari Shinji
- 11
- 1
1
vote
0 answers
Bluetooth HID for mouse project
I’m working on a project, to create an air mouse for people with repetitive strain injury (since I have it as well). I’m flexible with the hardware required. The plan is to use data from an IMU for movement. I’m currently learning how to work with…
Zhelyazko Grudov
- 367
- 2
- 15
1
vote
0 answers
Multiplexing HID and serial on ATMega32U4
I designed a custom ATMega32U4 based Arduino Leonardo board. I'm using MHeironimus/ArduinoJoystickLibrary to implement an HID joystick. I need to create also a virtual serial port to send NON joystick data to the USB host (Android device).
If I try…
weirdgyn
- 111
- 5
1
vote
1 answer
Why can the Xbox360 not detect the Arduino Leonardo as keyboard?
Arduino Leonardo as keyboard in the computer works! But not with the Xbox360.
The Teensy works perfectly on the PC but how to emulate a keyboard device for the Xbox360.
I know the Xbox360 has security IC, but a simple USB keyboard works!
What is…
eolandro
- 141
- 4