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

TempSwitchLayer behaviour different with Fn key #182

Closed
f7urry opened this issue Dec 21, 2021 · 4 comments
Closed

TempSwitchLayer behaviour different with Fn key #182

f7urry opened this issue Dec 21, 2021 · 4 comments

Comments

@f7urry
Copy link

f7urry commented Dec 21, 2021

i was remap like this

[Layer1]
CapsLock:TempSwitchLayer2

[Layer2,FnLayer1]
Up:PageUp
Down:PageDown
Left:Home
Right:End

when i press Capslock+Shift+Right it mark to end of line, and when i release Capslock the Shift key has been released too
its different with Fn+Shift+Right was mark to end of line too, but when release FnKey, the Shift still registered
i dont know its because firmware or something

its happened to when using Ctrl+TempSwitchLayer2+Esc should be registered Ctrl+BackTick
but when the order changed TempSwitchLayer2+Ctrl+Esc its registered as it should

@pixeltris
Copy link
Owner

I think this is a firmware limitation unfortunately. I have a GK84 and a GK68.

GK84 (older firmware) is pretty versatile, as long as I'm holding down a modifier key it'll keep it registered, regardless of what temp switch layer I'm pressing / releasing.

GK68 (newer firmware) on the other hand releases held modifiers when entering a temp switch layer, as well as when leaving a temp switch layer.

You might have to get creative with your mappings or stick to the FN key.

Related issue #66

@f7urry
Copy link
Author

f7urry commented Dec 21, 2021

do you have any idea to custom the firmware GK68?
https://github.com/wgwoods/gk64-python this is only for GK64 right?

@pixeltris
Copy link
Owner

I don't think anyone has made custom firmware for GK6X keyboards and it would be a big undertaking to do so. See some discussion here #148

Unfortunately for anything other than basic mappings you're better off buying a keyboard with your desired layout which supports QMK.

@f7urry
Copy link
Author

f7urry commented Jan 4, 2022

well, i think i figure out some trick like this, its resolving my problem, the shift still registered till i release the key

[Macro(HoldShift,0,ReleaseKeyToStop,2)]
Down:TempSwitchLayer2+LShift

[Layer1]
CapsLock:TempSwitchLayer2
LShift:Macro(HoldShift)

[Layer2,FnLayer1,FnLayer2]
LShift:Macro(HoldShift)

@f7urry f7urry closed this as completed Jan 6, 2022
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

2 participants