Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rbino/softmech

Mechanical keyboard for when you don't have a mechanical keyboard
https://github.com/rbino/softmech

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

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):
```sh
$ sudo apt-get install python-xlib python-sdl2
```

On Ubuntu <= 14.10 `python-sdl2` is not in the repo, so:
```sh
$ sudo apt-get install python-xlib pip libsdl2-mixer-2.0-0
$ sudo pip install PySDL2
```
### Launching
```sh
$ ./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"