USB Stenograph protocol for Plover
Find a file
Emily Easteal 49facd781f reduce CPU usage from constant polling
On my computer, plover is one of the most resource intensive processes when using this plugin.
This is because the USB polling occurs in a loop with no sleep.
The code as it was, polled for USB information in excess of 1600 times a second.
This commit adds in a sleep to reduce that down to 6 to 7 polls a second.
A sleep of 0.15 seconds was chosen as this in excess of 5 strokes per second - the fastest I could find.
Additionally, the delay doesn't introduce significant lag to realtime output.
2021-06-09 12:48:17 +01:00
.gitignore Refactor code 2018-02-26 22:27:32 -05:00
LICENSE.txt Simplify readme 2018-02-26 22:34:33 -05:00
plover_stenograph_usb.py reduce CPU usage from constant polling 2021-06-09 12:48:17 +01:00
README.rst Version 0.0.4 2018-05-22 09:38:36 -04:00
setup.cfg Version 0.0.4 2018-05-22 09:38:36 -04:00
setup.py Add try-catch for USB device set_configuration() 2019-08-02 17:18:19 +03:00

Plover Stenograph USB
=====================

Use Stenograph machines such as the Luminex, Diamanté, and Protégé on Plover. The plugin may
not work with other machines.

Special thanks to Keith McCready for his guidance and support.

Tested Machines
---------------

If you test another machine, please let me know whether it works or not.

- Working
  - Luminex
  - Diamanté
  - Protégé
- Not Working
  - Unknown

Get the Drivers
---------------

-  On Windows, install the `Stenograph USB Drivers`_ (`direct link`_)
-  On Mac, install `libusb`_
-  On Linux, ensure you have libusb installed

Installation
------------

The plugin is available to install from within Plover 4 using the
Plugins Manager.

.. _Stenograph USB Drivers: http://www.stenograph.com/utilities-links-downloads
.. _direct link: http://www.stenograph.com/content/files/documents/USB_Writer_Drivers.zip
.. _libusb: http://macappstore.org/libusb/