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

Bind key to combination #13

Open
Termack opened this issue Nov 28, 2021 · 7 comments · May be fixed by #44
Open

Bind key to combination #13

Termack opened this issue Nov 28, 2021 · 7 comments · May be fixed by #44

Comments

@Termack
Copy link

Termack commented Nov 28, 2021

Hello, there are some characters in my keyboard that i can only get by using a combination of others.

So I would like to know if there is a way to create a bind to a combination of keys, something like this for example:

- keyboards: [ "AT Translated Set 2 keyboard"]

  layers:
    - modifiers: ['rightshift']
      keymap:
        apostrophe: rightalt + q
@samvel1024
Copy link
Owner

Hey! I think I don't entirely get the idea.

So let's say you want to write symbol _, currently it requires Shift+-. Do you want to simulate Shift+- by using another combination? Is that what you mean?

@filyp
Copy link

filyp commented Jan 25, 2022

So is it possible? This would be really useful.

@filyp
Copy link

filyp commented Feb 2, 2022

In case anyone is having the same problem, I found a workaround. I remap input combination to some unused single key.
For me, unused keys where: hanja, henkan, katakana, hiragana, katakanahiragana, muhenkan, numlock, scrolllock, and you can probably find more.

Then, I set up a custom shortcut in my system from those keys to some combination. (In my case, I had to use ydotool because normal remapping doesn't work on wayland). Note that not all unused keys will be supported by the system, but the examples I gave above should work.

I hope someone finds it useful :)

@Kineolyan
Copy link

Hello @samvel1024 , I am not the original author of the question, but yes, that's also what I would like to do.
For example, I would like to create the following series of symbols for the home-row:

~ [ { ( * <middle> * ) } ] |

Currently, I can do things like ( or [ because they map directly to the "basic" row of a standard qwerty keyboard. However { is [ + shift.
It perfectly works with my config if I manually enable the layer and press shift, but it defeats a bit the purpose.

I would be glad to try implementing this. If you have any idea, I will take them.

@naalit naalit linked a pull request Aug 16, 2022 that will close this issue
@Aqua1ung
Copy link

It's been a while since the developer has promised adding this feature, namely mapping one key to a combination of keys. Has there been any progress in this regard? Or has this application become abandonware?

@Kineolyan
Copy link

After discussing with the owner some times ago, he mentionned doing this on his free time.
He may not have had free time recently. IMO, you can always use it as much as developed and fork it if you want new features.

@Kineolyan
Copy link

For those looking at this issue and wanting an alternative, you can consider keyd, light, allowing to reconfigure some keys, or kmonad, allowing a full config of the keyboard - like what QMK does.

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

Successfully merging a pull request may close this issue.

5 participants