Skip to content

Python3 script to send keys over raspberry pi zero usb OTG

Notifications You must be signed in to change notification settings

veNNNx/Keyboard_hid_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

Keyboard HID as USB OTG

Python script to make your raspberry pi zero acts like a keyboard
To raspberry connect via bluetooth keyboard, and plug usb cable into USB OTG port
In this example was used keyboard Keychron k10
Also you can connect led (in this project is one led at GPIO 2)
it blinks while connecting and turn on after succes

Authors

Deployment

Run raspberry with plugged usb cable into PWR port. Connect via ssh

Clone repo

  git clone https://github.com/veNNNx/Keyboard_hid_python

Run init script

  cd Keyboard_hid_python
  chmod +x init.sh
  sudo ./init.sh

log file path: ~/logs.log

Features

  • Make script as daemon service
  • Faster raspberry boot

About

Python3 script to send keys over raspberry pi zero usb OTG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published