Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does it work and how can we install it? #2

Open
Troupal opened this issue Feb 1, 2018 · 0 comments
Open

How does it work and how can we install it? #2

Troupal opened this issue Feb 1, 2018 · 0 comments

Comments

@Troupal
Copy link

Troupal commented Feb 1, 2018

Hi, I would have liked to know how this script works which (if I understood correctly) should allow to use the G keys of the G910 keyboards, and how to install it.

Indeed, I installed, with pip, python-uinput, pyudev, glob3 and hidraw.

┌─(~/g910-gkey-uinput)──────────────────────────────────────────(troupal@name-of-net:pts/0)─┐
└─(18:50:16 on master)──> sudo pip install python-uinput hidraw pyudev glob3  

When I run the script with python, I don't get any answers to indicate that it works, and the G keys are always the same as the Fx keys. And when I stop the script with Ctrl-C, I get an error that says:

┌─(~/g910-gkey-uinput)──────────────────────────────────────────(troupal@name-of-net:pts/0)─┐
└─(18:50:16 on master)──> python g910-gkey-uinput.py  
Traceback (most recent call last):
  File "g910-gkey-uinput. py", line 33, in <module>
    binary = f. read (20)
KeyboardInterrupt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant