sen0va / keyboard-passthrough

32u4 USB Keyboard Passthrough Firmware and sample Python script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

You may need to change the port by hand if your USB-TTL adapter comes up as something different than /dev/ttyUSB0 (hintWindows COM portshint).

virtualenv .
. bin/activate
# didn't work for me
#pip install pygame --allow-external pygame --allow-unverified pygame
# worked
pip install hg+http://bitbucket.org/pygame/pygame

Usage

python here.py /dev/ttyUSB0

Now type in the black window, every keystroke should be mapped and forwarded, modifier keys like ctrl, alt and the window key should be working.

Links

For a video showing the the system in use, you can go to: https://www.youtube.com/watch?v=T3_Bwmw8XRw

About

32u4 USB Keyboard Passthrough Firmware and sample Python script

License:MIT License


Languages

Language:C++ 60.5%Language:Python 39.5%