Skip to content

akerl/otgkey

Repository files navigation

otgkey

GitHub Workflow Status GitHub release License

otgkey sends keycodes to /dev/hidg0 to emulate a keyboard on devices that support the USB Gadget protocol.

Usage

Send codes as sequences of "modifier:key". Multiple modifiers or keys can be pressed at once using comma-delimited lists, like "shift,meta:i"

For example, to type "Hello":

otgkey send shift:h e l l o

Installation

go install github.com/akerl/otgkey@latest

License

otgkey is released under the MIT License. See the bundled LICENSE file for details.

About

Send keypresses via USB gadget interface

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors