Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 367 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 367 Bytes

Read keyboard input using rusb crate!

Usage

Example: sudo ./target/debug/rust-keyboard-hack 046d:c53f

Tips

  • Real time dmesg: sudo dmesg -e -w
  • Show verbose lsusb: sudo lsusb -d ****:**** -v | less
  • Re-connect usb device: sudo sh -c "echo -n *-* > /sys/bus/usb/drivers/usb/unbind && echo -n *-* > /sys/bus/usb/drivers/usb/bind"