ililim / dual-key-remap

Remap any key to any other two keys on Windows 🔥. Remap CapsLock to both Ctrl and Escape! (It's like xcape for windows!)
GNU General Public License v2.0
512 stars 36 forks source link

How to remap multiple keys? #5

Closed Leoongithub closed 5 years ago

Leoongithub commented 5 years ago

Can I use this to modify more than one key at the same time?

ililim commented 5 years ago

Currently that's not implemented, what remapping are you trying to create? For general purpose remapping I recommend https://www.autohotkey.com/.

Adding multiple key support is a good idea, but implementing it would take some extra work and isn't planned yet in the upcoming future. I'd be happy to accept code contributions in this area.

Leoongithub commented 5 years ago

I'm not sure if I express it clearly. I mean, for example:

{remap_key=CAPITAL
when_alone=ESCAPE
with_other=CTRL}
{remap_key=ENTER
when_alone=ENTER
with_other=CTRL}
ililim commented 5 years ago

Yep, I understand. This isn't possible yet, but I'll add it to the list for future features.

ShiranC commented 5 years ago

I would like to do the same thing @Leoongithub requested. It would be great to have this feature! Thanks @ililim for the app.

ililim commented 5 years ago

This has been implemented in the latest release (v0.4). For example, the above remapping can be achieved with the following config:

remap_key=CAPSLOCK
when_alone=ESCAPE
with_other=CTRL

remap_key=ENTER
when_alone=ENTER
with_other=CTRL