Skip to content
/ softmech Public

Mechanical keyboard for when you don't have a mechanical keyboard

License

Notifications You must be signed in to change notification settings

rbino/softmech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

softmech

This is a little Python script that plays a random sound whenever a key is pressed/released. Specifically, I sampled my CMStorm Quickfire TK with Blue Cherry switches.
Use it to annoy people when you don't have a mechanical keyboard with you.

Dependencies

To install dependencies (on Debian Jessie):

$ sudo apt-get install python-xlib python-sdl2

On Ubuntu <= 14.10 python-sdl2 is not in the repo, so:

$ sudo apt-get install python-xlib pip libsdl2-mixer-2.0-0
$ sudo pip install PySDL2

Launching

$ ./softmech.py

Additional sounds

If you want to add your own sounds just put them in a folder and change the sounddir variable.
Sounds to be played on KeyDown must end with "down.wav", sounds to be played on KeyUp must end with "up.wav"

About

Mechanical keyboard for when you don't have a mechanical keyboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages