Global AutoRepeat with UI or onInit conf

I am lost. So what should the activation macros look like (and operate)?

For my case: by pressing T (no matter how) activate caret navigation mode. As you can see it has secondary mode - this should not affect on activation of caret navigation mode.

Sorry, but put like this, I donā€™t know how to activate caret mode but not activate secondary role.

How should the firmware know whether you want to activate secondary role or navigation mode?

By specification, using trackpoint triggers secondary role - thatā€™s necessary for the cases where secondary role is modifier - wanting to move mouse with shift pressed is a valid usecase.

Edit: what does ā€œnot affectā€ mean anyways? Does it mean that secondary role should not be triggered, or should it be triggered just as if there was no navigation mode magic? If the latter, then there is no difference from just activating the navigation mode via activation of that fn3 layer, is there?

Edit2: can you just clearly state what the scenarios should be? Like "t+a" should activate "fn3.a", etc. The language you are using above is just terribly ambiguous.

Sorry! I now figured out that I also press T, I forgot that I still have normal T press.
I think you were right - activate in secondary role (which activated by long T press). I think thatā€™s not
what I really wanted.

Probably the second case is how I imagined this.

Second use case - activate if I press key cluster key (alt+super). Holding these keys - if I release trackpoint and press some key (still holding that alt+super key) I should get alt+super key.

Second case of what? (It would really help if you used self-contained sentences without ambiguous external referencesā€¦)

Second use case - activate if I press key cluster key (alt+super).

Activate what? Navigation mode?

Holding these keys - if I release trackpoint and press some key (still holding that alt+super key) I should get alt+super key.

The way I understand this, you want the key cluster key to produce alt+super whenever it is pressed, except when cursor is moved via trackpoint. In that case, you want it to stop producing alt+super for as long as the trackpoint is moving, (and also activate the caret mode).

Is that correct?

That is pretty convoluted logic.

Or do you mean that the key should just produce alt+super all the time and activate caret navigation mode all the time?

left key cluster key be alt+super, let it name cluster.

cluster + key = alt + super + key
cluster + trackpoint = caret navigation mode (move caret)

Case 1

  1. hold cluster emits alt+super
  2. press key emits alt + super + key
  3. release key
  4. hold trackpoint emits caret navigation mode (still holding cluster)
  5. release trackpoint
  6. release cluster (end)

Case 2

  1. hold cluster emits alt+super
  2. hold trackpoint emits caret navigation mode (move caret)
  3. release trackpoint
  4. press key emits alt + super + key (still holding cluster)
  5. release key
  6. release cluster (end)

Iā€™m not sure do alt or super emits some events or are they modifiers to pressed keys. I just added emits alt+super to make it more clear.

Or do you mean that the key should just produce alt+super all the time and activate caret navigation mode all the time?

Yes, key should produce alt+super all the time and activate caret navigation mode all the time.

Soā€¦

Actually mean ā€œmove caret with alt+superā€.

Well, thinking about it, this can still be done with macros as they are now, although dedicated holdNavigationMode would be far more reliable when multiple such switches are used at the same time.

set module.keycluster.navigationMode.base caret
holdKey LALG
set module.keycluster.navigationMode.base <whatever was the original mode>

Edit: sorry, LS = left shift, LG = left super (gui)

1 Like

Yes :slight_smile: Sorry for my vague language.
What I wanted to explain - interleaving should also work (should not release alt+super after using trackpoint to make alt+super+key and vice versa).

Iā€™m new to navigation mode I might not fully understand how it works in complete.

Thanks, will try today!

1 Like

What does the toggle on the key mean here please?

image

It means toggle layer.

Screenshot from 2023-10-03 18-30-35

1 Like