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

Remap escape on one keyboard, don't use it as Capsicain command modifier #98

Open
gsuberland opened this issue Dec 16, 2023 · 1 comment · May be fixed by #101
Open

Remap escape on one keyboard, don't use it as Capsicain command modifier #98

gsuberland opened this issue Dec 16, 2023 · 1 comment · May be fixed by #101

Comments

@gsuberland
Copy link

gsuberland commented Dec 16, 2023

I have two keyboards - a tenkeyless and a separate tenkey pad. The tenkey pad has its own Esc key which I would like to map to LCtrl.

My current config is:

[CONFIG_1]
OPTION IncludeDeviceID vid_0c45
OPTION ExcludeDeviceID vid_2efd
OPTION ConfigName Main
OPTION debug
REWIRE ESC LCTRL
REWIRE TAB LALT

Where vid_2efd is the main keyboard, and vid_0c45 is the tenkey pad.

When I press Esc on the tenkey pad, I see:

(Hard ESCv )
 [ 1 0=   ESC >    LCTRLv ] [M:   2 T:   2 D:      ]   --  LCTRLv {LCTRLv #1}
(Hard ESC^ )
 [ 1 1=   ESC >    LCTRL^ ] [M:     T:   2 D:      ]   --  LCTRL^ {LCTRL^ #0} (tap)

However, if I try to press any other key along with it, I see:

::Unknown command

Which, I presume, means it is interpreting Esc+whatever as a capsicain command. I can still run Esc commands on the main keyboard as usual, of course.

Is there a way to tell capsicain to not treat Esc on the tenkeypad as a command modifier, so I can remap it to LCtrl or some other key?

@cajhin
Copy link
Owner

cajhin commented Dec 17, 2023

Sorry, the ESC key is the one hardcoded key that is not fully configurable. Esc+X will always trigger the 'exit' command, regardless of configuration (the intention was that you cannot configure yourself into a trap where you cannot get out without a reboot).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants