Skip to content
This repository has been archived by the owner on Apr 14, 2018. It is now read-only.

Commit

Permalink
Changed to pyhidapi, was having issues on OSX 10.11.1.
Browse files Browse the repository at this point in the history
Added better support for detecting the headset, easier to maintain IMO.

Added device output information if device was not found, for OSX only. Although, it will be added for other platforms as well.

Changed the poll from 0 to the DEVICE_POLL_INTERVAL variable on several sleep functions.

Some formatting fixes.

Updated .gitignore to exclude pycharm and other things.

Updated README with new requirements, I plan on adding more for initial setup after fixing the other platforms hopefully pyhidapi will work on all platforms.

Setting serial number is no longer a manual process for OSX!
  • Loading branch information
Bill Schumacher committed Dec 20, 2015
1 parent 2e454fd commit 2cfd7b2
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 2 deletions.
42 changes: 41 additions & 1 deletion .gitignore
@@ -1,2 +1,42 @@
*build*
*.pyc
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
migrations/
*.egg-info/
.installed.cfg
*.egg

# PyCharm
.idea/

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Test file
python/test.py
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -48,7 +48,7 @@ Python

* pywinhid (Windows Only) - https://pypi.python.org/pypi/pywinusb/
* (OS X) HIDAPI - http://www.signal11.us/oss/hidapi/
* (OS X) cython-hidapi - https://github.com/gbishop/cython-hidapi
* (OS X) pyhidapi - https://github.com/NF6X/pyhidapi
* pycrypto - https://www.dlitz.net/software/pycrypto/
* gevent - http://gevent.org
* realpath - http://? sudo apt-get install realpath
Expand Down

0 comments on commit 2cfd7b2

Please sign in to comment.