guilryder / clavier-plus

Clavier+ keyboard shortcuts manager for Windows
https://gryder.org/software/clavier-plus/
GNU General Public License v3.0
326 stars 21 forks source link

[FR] Transforming one keystroke into another #20

Closed claudio-salvio closed 2 years ago

claudio-salvio commented 2 years ago

Hello @guilryder

I think it would be very useful to have the possibility to define a rule that allows to capture a keystroke in a certain context and transform it into another one.

For example if the user press F1 when CAPS LOCK is ON, Clavier+ captures the F1 keystroke and generates a F13 keystroke.

Specifically I think it would be to introduce a new Keystroke action (aditional to Program, App and Special Character) that is to capture a keystroke and generate another one.

Greetings, Claudio

guilryder commented 2 years ago

Do this with Write Text then Simulate Keystroke.

Caveat: Clavier+ cannot perfectly transform one keystroke into another, see for instance the repetition limitation.

claudio-salvio commented 2 years ago

Do this with Write Text then Simulate Keystroke.

Hello @guilryder Thanks for your prompt reply.

I explored your proposal but it does not seem to be useful in my case. My goal is to remap keys (for example the G1-G6) in certain conditions to others not existing on my keyboard (for example F13-F24). I can't find how to do that from the Clavier+ gui.

Before exploring Clavier+ for this task I explored other alternatives. Since I have a Corsair keyboard, one of them was the iCue. With iCue I managed to remap the six G keys as F13, F14, F15, F16, F17 and F18. My final goal was to map the remaining keys up to F36 using the toggle keys (CAPS LOCK, NUM LOCK, SCROLL LOCK).

Unfortunately at Corsair they seem to be uninterested in helping users who use their products for work and not for gaming. For more info about this see: Using a combination or sequence of one of the G-keys plus another key and Remapping keys only when a toggling lock key (bloq, caps or scroll) is in a certain state

Please let me know if you can think of any other suggestions to achieve this goal.

Regards, Claudio Salvio

guilryder commented 2 years ago

Clavier+ supports only standard Windows keys: most but not all keys in this list. I've never heard of G1-G6 keys before, they don't seem standard. I guess that iCue uses a custom keyboard driver.

F13-F24 are standard so Clavier+ should be able to capture and simulate them. F25 and beyond are not standard.

See the documentation for how to create shortcuts.

Closing this FR because Clavier+ already supports keystroke remapping (with limitations).