Final code can be found in the file pyHookCodeFinal.py
A keystroke recorder made in Python used to send strings to our robot through Bluetooth. Uses pyhook to record keystrokes and pyserial for Bluetooth connectivity. Records user's keystrokes for a certain period of time, records the keystrokes to a csv, then reads the csv in order to re-enact the keystrokes. Libraries used include Pyhook and Pyserial.
This module encapsulates the access for the serial port. It provides backends for Python running on Windows, OSX, Linux, BSD (possibly any POSIX compliant system) and IronPython. The module named "serial" automatically selects the appropriate backend.
- Project Homepage: https://github.com/pyserial/pyserial
- Download Page: https://pypi.python.org/pypi/pyserial
BSD license, (C) 2001-2015 Chris Liechti <[email protected]>
For API documentation, usage and examples see files in the "documentation" directory. The ".rst" files can be read in any text editor or being converted to HTML or PDF using Sphinx. A HTML version is online at https://pythonhosted.org/pyserial/
Examples and unit tests are in the directory examples.
pip install pyserial
should work for most users.
Detailed information can be found in documentation/pyserial.rst.
The usual setup.py for Python libraries is used for the source distribution. Windows installers are also available (see download link above).