Leave a comment

Linux + Gaming keyboard + Laziness + Neo4j


A long time ago, I bought a gaming keyboard for its embedded leds, to code at night.
Apart from that, it was not supported under Linux. Whatever …

Recently, I tried to find how the Gx keys were detected by the command

showkey –scancodes



Unfortunately, it did not show any key codes … Quite puzzling … I thought I had a keyboard with more keys as there is some with 101, some with 105 why not one with 6 more keys?


So I was thinking about doing some Arduino again to simulate a second keyboard .
And this is where things got clearer. The G keys are probably an embedded second keyboard in the keyboard.

So I installed https://github.com/tolga9009/sidewinderd and now I can “program” my Gx keys.

Hit MR (Macro record I guess), hit the Gx key to program, then input your keys sequence and hit MR again to stop recording.

My current setup is to help with Neohttp://www.neo4j.com4j’s Cypher language (W3C GWL basis)

G1/G2: <– / –>

G3/G4: (:)<-[:{}]-(:) / (:)-[:]->()
G5 : {}

The good thing with that keyboard is that 3 sets can be recorded.

For more and more language, :: –> are getting common.

Why hit many keys when only one is sufficient ?
Join me in the movement against keyboard violence !

To increase the typing speed of that second keyboard, you just need to edit /etc/sidewinderd.conf

By default, it records the delays in your macros.

Set capture_delays = false; and restart service

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: