Skip to content

Commit 8f4c823

Browse files
author
William Schumacher
committed
Revert "Documentation for the unpythoning"
This reverts commit f2904a9.
1 parent 4bccb54 commit 8f4c823

File tree

2 files changed

+21
-7
lines changed

2 files changed

+21
-7
lines changed

FAQ.md

-7
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ dongles. If it doesn't, file an issue (http://github.com/openyou/emokit/issues).
3232

3333
You shouldn't. It should "just work". So please stop asking.
3434

35-
* Where's the original python code go?
36-
37-
As of 2012-10-31, the python version is seriously broken, and none of
38-
the main project devs have been working on it. It will live on in a
39-
branch for the moment, and will come back in when it's fixed and is at
40-
parity with the C code.
41-
4235
* OPTIONAL READING: The history of the key generation, and why you used to need keys
4336

4437
When emokit first came out (For more information on this, check out

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,15 @@ Issues: http://github.com/openyou/emokit/issues
4141
Required Libraries
4242
==================
4343

44+
Python
45+
------
46+
47+
* pywinhid (Windows Only) - http://code.google.com/p/pywinusb/
48+
* pyusb (OS X, Optional for Linux) - http://sourceforge.net/projects/pyusb/
49+
50+
C Language
51+
----------
52+
4453
* CMake - http://www.cmake.org
4554
* libmcrypt - https://sourceforge.net/projects/mcrypt/
4655
* hidapi - http://www.signal11.us/oss/hidapi/
@@ -53,6 +62,18 @@ C library
5362

5463
See epocd.c example
5564

65+
Python library
66+
--------------
67+
68+
import emotiv
69+
headset = emotiv.Emotiv()
70+
try:
71+
while True:
72+
for packet in headset.dequeue():
73+
print packet.gyroX, packet.gyroY
74+
finally:
75+
headset.close()
76+
5677
Platform Specifics Issues
5778
=========================
5879

0 commit comments

Comments
 (0)