yqrashawn / GokuRakuJoudo

config karabiner with ease
GNU General Public License v3.0
1.16k stars 121 forks source link

Creating a simlayer with a :pkey trigger #132

Open Vermoot opened 3 years ago

Vermoot commented 3 years ago

Hi!

I've just discovered that I can use Karabiner (and so, Goku) to map stuff onto my Logitech G600's buttons, and I'm over the moon, realising that I can stop using Logitech's awful software.

However, I'm trying to replicate something, and here comes the trouble.

Basically, on this mouse the third click is a layer key, allowing you to use the other buttons with it.

So here's how I'm trying to do the same:

{:simlayers {:alt {:pkey :button6}}
 :main [
  {:des "G600"
   :rules [
          [ { :pkey :button12 }  :!Cw ]
          [ { :pkey :button12 }  :!CSw :alt]
          ]}
  ]}

This doesn't seem to be the right syntax, but I'm struggling to find what I should to instead.