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

plusminus and section key #172

Open
sebastian-ruiz opened this issue May 22, 2023 · 2 comments
Open

plusminus and section key #172

sebastian-ruiz opened this issue May 22, 2023 · 2 comments

Comments

@sebastian-ruiz
Copy link

I would like to swap the plusminus ±/section § key on my keyboard with the tilde/backtick (also called grave) key. Here is a picture of my keyboard:

bitmap

But in the xkeysnail/key.py file I don't find what the plusminus ±/section § key is called.

I can remap the tilde/backtick (grave) keys like this:

K('GRAVE'):K("a"),
K('Shift-GRAVE'):K("b"),

but how do I map them to ± and § ?

Thanks!

@justJackjon
Copy link

Also looking for an answer to this. Did you ever find a solution @sebastian-ruiz?

@eddiehazel
Copy link

define_keymap(lambda wm_class: True, {
        K("LShift-KEY_102ND"): K("LShift-GRAVE"),
        K("LShift-GRAVE"): K("LShift-KEY_102ND"),
        K("GRAVE"): K("KEY_102ND"),
        K("KEY_102ND"): K("GRAVE")
    }
)

this seems to work for me for the same problem guys.

if anyone else needs to work out what the xkeysnail is receiving, i managed it by running the binary from the cli

sudo xkeysnail ~/.config/kinto/kinto.py (i am using kinto)

then watch the logs as you press the relevant keys

🙏

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

3 participants