36 lines
1.0 KiB
Markdown
36 lines
1.0 KiB
Markdown
# Programming Bongocat!
|
|
|
|
A simple python program that catches all your global keyboard inputs and then pretends to press them (bongocat will press the keyboard with their left paw if the button is on the left side of the keyboard and with their right paw if it's on the right).
|
|
|
|
![bongocat_example](bongocat_example.gif)
|
|
(example of me writing some stuff with the bongocat open)
|
|
|
|
## Usage
|
|
|
|
Dependencies:
|
|
- Python 2.7.x
|
|
- [PyHook][pyhook] (if using windows, [PyxHook][pyxhook] on linux)
|
|
- [Pygame][pygame]
|
|
|
|
When you've made sure your `python` is version 2.7.x,
|
|
|
|
**on Windows** you can run on
|
|
`python -m pip install pyhook`
|
|
or **on Linux** run
|
|
`python -m pip install pyxhook`
|
|
|
|
After that install pygame with
|
|
`python -m pip install pygame`
|
|
|
|
And then you should be able to open bongocat with
|
|
`python main.py`
|
|
|
|
## License
|
|
|
|
Programming bongocat is licensed under the terms of the [MIT license][license]
|
|
|
|
|
|
[pyhook]: https://github.com/naihe2010/pyHook
|
|
[pyxhook]: https://github.com/JeffHoogland/pyxhook
|
|
[pygame]: https://www.pygame.org
|
|
[license]: LICENSE |