Giter VIP home page Giter VIP logo

Comments (9)

pixeltris avatar pixeltris commented on September 2, 2024

This is the only way I can think of doing that. It changes LShift to switch to layer1, then in layer 1 it maps '4' to '+' (though that will mean '4' will always result in '+' when on layer1, regardless if shift is held down).

[Base]
LShift:TempSwitchLayer1

[Layer1]
D4:LShift+Add

from gk6x.

f4k3-pixel avatar f4k3-pixel commented on September 2, 2024

Well, I do have 4 layers.... maybe I can lose one as a compromise.
Thanks for the example. I'll try it out.

Is it possible to use some other key for TempSwitchLayer1 and use shift as the normal thing? As in with temp switch layer (let's say which is mapped to ) , pressing \ 4 will give $ and pressing \ shift 4 will give +?

Or, is it possible to have 3 things bound to a single key with different modifiers to access them.

from gk6x.

pixeltris avatar pixeltris commented on September 2, 2024

Each key can only be mapped to a single value. For example you can't have 'A' map to 'G'+'H' (unless you map your key to a macro). But for regular keys you can apply modifiers such as LCtrl, RAlt, etc so that you can map 'A' to 'LCtrl'+'G'.

TempSwitchLayer1-3 are their own unique values and can't be combined with things such a modifiers. You can obviously map any key to TempSwitchLayer1-3 (doesn't have to be LShift).

I can't really help much beyond that knowledge so I'd just suggest playing around knowing the limitation of the key mappings and see if you can get it doing what you want.

from gk6x.

f4k3-pixel avatar f4k3-pixel commented on September 2, 2024

I thought that it should be possible as ESC definitely does work this way.
Maybe ESC is a special key like Fn.

from gk6x.

pixeltris avatar pixeltris commented on September 2, 2024

Again, I'd just suggest getting familiar with how the logic of key mappings work to try and do what you want. The TempSwitchLayer1-3 values can let you do interesting things as you're obviously switched to another layer when those keys are held down.

Escape isn't a special key in any way as far as I'm aware.

from gk6x.

f4k3-pixel avatar f4k3-pixel commented on September 2, 2024

ESC is ESC
Fn+ESC is `
Fn+Shift+ESC is ~

But okay, I'll play around and see what I can do.
Thanks!

from gk6x.

pixeltris avatar pixeltris commented on September 2, 2024

Yea the backtick key (`) and the the tilde key (~) are the same key. In this project that key is called "BackTick". When you hold down LShift you get the tilde. The mapping for that would be as follows:

[Layer1]
Escape:Escape

[FnLayer1]
Escape:BackTick

As you can see there's nothing special going on with escape, there are just two different rules (one for regular keys and one for fn keys)

(note that this wouldn't actually be possible to do on Base as you can't map FnBase (firmware limitation), so yes in that respect Escape may be special for the Base layer).

from gk6x.

f4k3-pixel avatar f4k3-pixel commented on September 2, 2024

Hmmm....yes. But it'd have been useful to have →
4 → 4
Shift+4 → $
Fn+4 → F4
Fn+Shift+4 →Something else?

Side question → If not on the GK boards, is this possible on QMK?

from gk6x.

pixeltris avatar pixeltris commented on September 2, 2024

Pretty much anything is possible on QMK (as it's fully programmable / open source). The GK6X firmware only allows for basic mapping. What you're wanting to do isn't possible with what's available with configuring GK6X boards.

from gk6x.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.