Skip to content

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

@Troupal

Description

@Troupal

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions