pixeltris / GK6X

Configure keys, macros, and lighting on GK6X keyboards (GK64, GK84, GK61, etc)
Other
826 stars 100 forks source link

Need help with not existent key #170

Closed keteflips closed 2 years ago

keteflips commented 3 years ago

Hi all.

I have a GK61 and I dont have the <> ( lessthan greaterthan) keys in my keyboard. I want to map this keys to a layer but in the "dumpkeys" I dont have the keys.

How I can make this to work?

Thanks all for your job.

pixeltris commented 3 years ago

I think you'll need to use a macro for that as <> are only accessible via the shift modifier on ,.

[Macro(LessThan)]
Press:LShift+Comma

[Macro(GreaterThan)]
Press:LShift+Period

[Layer3]
Q:Macro(LessThan)
W:Macro(GreaterThan)

That example should map <> using macros to Q/W on layer 3.

For a full list of keys see https://github.com/pixeltris/GK6X/blob/96e9c041778c9370f9bf06000d687f4873fbb468/GK6X/KeyValues.cs#L269

keteflips commented 2 years ago

Thanks buts its not that easy, I don't have <> keys in my keyboard, then if I push LShift+Period I don't get it.

Its like I want to assign F13 to a key, how I can do that?

pixeltris commented 2 years ago

Even if you don't have the key on the keyboard that mapping should still work. An example of mapping Q to F13 on layer 3 is as follows:

[Layer3]
Q:F13

If you have comma/period, but LShift doesn't produce </>, then what does it produce?

keteflips commented 2 years ago

Even if you don't have the key on the keyboard that mapping should still work. An example of mapping Q to F13 on layer 3 is as follows:

[Layer3]
Q:F13

If you have comma/period, but LShift doesn't produce </>, then what does it produce?

That's the point.

I dont have the native <> key for my keyboard distribution I use a mix of spanish keycaps in a american distribution, a photo:

https://i.imgur.com/U8Ho2cw.jpg

When I press the LShift plus </> I get ;: and with ALT plus </> I get nothing.

Thanks in advance.

pixeltris commented 2 years ago

https://en.wikipedia.org/wiki/QWERTY#Latin_America,_officially_known_as_Spanish_Latinamerican_sort

Assuming your OS is set to the Latin American layout (which it sounds like it is based on your key output) then you'll want the key between LShift and Z which can be found here:

https://github.com/pixeltris/GK6X/blob/96e9c041778c9370f9bf06000d687f4873fbb468/GK6X/KeyValues.cs#L353-L356

An example of mapping Q to </> on layer 3:

[Layer3]
Q:AltBackslash

Note that when you press the key you'll get < and you'll need to hold down shift to get > as that's how that key operates under Latin American.

Alternatively set your OS keyboard layout to US and buy a US keycap set, that way you can use </> normally.

Ref https://github.com/pixeltris/GK6X/issues/51

keteflips commented 2 years ago

Wroks perfect!!!!!

Mayor que menor que

Comma:AltBackslash Period:Macro(Great)

Macros

>

[Macro(Great,10,RepeatXTimes,1)] Down:LShift Press:AltBackslash