Skip to main content

Questions tagged [hid]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
56 votes
11 answers
52k views

Can I use Raspberry Pi as a USB peripheral device?

Raspberry Pi has a Micro USB port for power supply. My question is if this port is only for power purposes or can it be used for data as well? I would like to be able to attach my Raspberry Pi as a ...
user avatar
13 votes
2 answers
41k views

Can the Pi Emulate an HID device with via USB? [duplicate]

Does the Raspberry Pi model B+ have the capabilities of acting as a Human Interface Device (HID) with no extra hardware (other than a USB to USB cable)? I saw this question but it was about ...
NULL's user avatar
  • 2,230
5 votes
0 answers
2k views

RPi-Zero, HID keyboard gadget for BIOS keyboard

After another user related question on this forum I try to get my USB HID Gadget Keyboard running in BIOS. My gadget is the RPi-Z using libcomposite on Raspbian Buster. When I plug my keyboard into ...
Ephemeral's user avatar
  • 2,157
2 votes
1 answer
171 views

How to map rpi-zero hid-gadget from us to german?

I’ve tried to map my RPI Zero HID-Gadget in a sh file, here is my sh file. I tried to exchange a normal german keyboard by swapping kbcodes from us-keyboard to german-keyboard layout, but if it is ...
lucki1000's user avatar
1 vote
1 answer
2k views

Headless pi zero HID keyboard

I am trying to get my pi zero to act as a HID USB keyboard when plugged in to a computer, following this guide. I finished the configuration, and I get to the "Keyboard / Mouse / Joystick (HID)" ...
eeze's user avatar
  • 111
1 vote
1 answer
231 views

RPi Zero W as HID keyboard disconnects after connecting

So, I have configured and reconfigured the Pi Zero multiple times now for it to behave like a HID keyboard. It appears as a keyboard as well, but as soon as it is connected, it gets disconnected. ...
Meet's user avatar
  • 121
1 vote
1 answer
47 views

Pi Zero W Rev 1.1 HID keyboard with newer kernels /distributions not working

Please comment if you think I can improve my question (like rephrase, add other tags) . I'm really at a loss at the moment. There are many online instructions explaining how to make a raspberry pi ...
gelonida's user avatar
  • 111
1 vote
0 answers
550 views

Configuring the Raspberry Pi 4 B as a USB (HID) Gadget?

I am new to Raspberry Pi and recently got a RB Pi 4 intending to use it as a mouse/keyboard for my laptop. The problem is that I can't find valid information about how to configure the Pi 4 as a USB ...
BLUC's user avatar
  • 111
1 vote
0 answers
147 views

Use Raspberry Pi Zero WH as keyboard HID driver at boot

Background My keyboard, a Majestouch Convertible 2, has Bluetooth capabilities such that it can connect up to 4 devices. My primary driver and the 1st device the keyboard is connected to is my desktop,...
twelfth's user avatar
  • 13
1 vote
0 answers
2k views

How to connect an HID RFID reader to my Raspberry Pi

I have seen plenty of tutorials to connect an RC522 module to a Raspberry Pi, but I have been given an HID iClass SE reader to integrate into our system which runs off a Raspberry Pi 3B. I have no ...
Chiwda's user avatar
  • 171
1 vote
0 answers
573 views

RPi Zero W as bluetooth keyboard / mouse "passthrough"

I'm looking for a solution to allow me to use the RPi Zero W as a gadget that will connect to my bluetooth keyboard and then present itself to my PC as a regular USB keyboard. This is workaround to ...
Jens Hembach's user avatar
1 vote
1 answer
2k views

Stream Deck Using PI 2

I have a RPi2 1gb. I've recently got a touch screen for it and have decided that I actually should use it for what it was intended for. Programming! So my adventure starts here. I want to make a ...
Ryan Holmes's user avatar
1 vote
0 answers
865 views

Python HID API's for RPi's

I realize that solutions exist for having an RPi emulate an HID device (Can the Pi Emulate an HID device with via USB?) but are there any existing API's that can achieve the same thing as https://...
Sterling Butters's user avatar
1 vote
2 answers
79 views

Script runs if the Raspberry Pi is rebooted but not normally booted [closed]

I'm trying to run a Node.js script that connects to a HID device (HTC Vive tracker) and sends feature reports to it, to run from boot. I've tried using rc.local, a systemd file but none of it works ...
SophieOH's user avatar
0 votes
1 answer
25 views

Rpi zero2 w KVM

I would like to use the pi as kvm. I want to send keyboard/mouse signals from one pc to the other one and record video using a usb video in card. I have read about g_hid and libcomposite but im not ...
wiresinmyhead's user avatar
0 votes
0 answers
24 views

Rpi4 as a mouse and keyboard hid with circuit python to a win10 pc

0 I am looking to control a windows 10 computer with a raspberry pi4, as a mouse and keyboard. I already have the power thing handled, with a usb power blocking but data through connector. I am just ...
partyexpress's user avatar
0 votes
0 answers
45 views

Automating USB Connection/Disconnection for HID device on Raspberry Pi Zero W

I have a blood pressure monitor device that requires manual USB connection and disconnection each time I want to read its measured values on a computer. When the device is connected with USB, its ...
411gi's user avatar
  • 1
0 votes
0 answers
59 views

Separating power in Pi Zero when using the Pi as a HID that must be working without shuting down

I asked an AI: When you use raspberry pi zero w as a HID, is it necessary to connect the pi to a machine via a single micro usb cable, for the power and the data connectivity? Does that mean that ...
丶 Limeー来夢 丶's user avatar
0 votes
0 answers
93 views

Touch screen PC keyboard input for shortcuts

In a nutshell thanks to an illness I have I would like a touchscreen that sends nothing more than keyboard commands straight to my PC like a peripheral. I have seen tons of Pi remote using SSH to send ...
Cackles's user avatar
0 votes
1 answer
658 views

Pi Zero configured as HID not being recognized by PC (dmesg error)

I followed this guide to setup my Pi Zero W as a keyboard HID. Connected it to a laptop (via the data USB, not the power) to see no effect. When I started investigating, I saw that dmesg is showing ...
Alexander Tsepkov's user avatar
0 votes
0 answers
3k views

Pi zero as bluetooth keyboard?

I am attempting to use a Pi as a bluetooth keyboard. There are several guides I have found for this, such as this on from impythonist. However, they seem to be outdated, and so far as I can tell ...
try-catch's user avatar
0 votes
1 answer
550 views

RPI Zero as Keyboard: Convert key codes from SHOWKEY to write into /dev/hidg0 HID packet [closed]

I'm using RPI Zero W as keyboard gadget. It's supposed to act as keyboard getaway from Bluetooth keyboard to USB keyboard. I'm running "showkey" shell command process giving me codes of just pressed ...
Urmas G's user avatar
-1 votes
0 answers
19 views

Emulate a four-finger swipe gesture using Raspberry Pi

There are some existing projects which help you to turn your Raspberry Pi into a USB keyboard or mouse, see this one for example. As far as I understand, they use the HID device (/dev/hidg0) under the ...
Mike's user avatar
  • 99
-1 votes
1 answer
40 views

'rose' and 'fell' in same keyboard script - pico/circuitpython

I have a reed switch (normally closed) attached to a Pico that when open send two key presses to the PC. I need a third key press to be sent when the switch is returned to the closed position. My ...
Nick C's user avatar
  • 93
-1 votes
1 answer
446 views

Modifying input of HID via GPIO of PI (unless there is a better way?)

Basically I want to control the input of a USB HID via one or more other HIDs. I know there are commercial options available to do this however they are closed source and expensive. I'd like to get ...
Hex Crown's user avatar
  • 111