-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[KBM] Map to custom keys / diacritic character, not just keycode #6976
Comments
To add on this, there's a FOSS project under the name of "WinCompose" that's available at github. |
Second this. I am using Japanese layout on my laptop built-in keyboard (US layout). As the underscore key is mission, I want to map |
Good thing, but I would prefer a solution from Microsoft. PS. For now I used the Microsoft Keyboard Layout Creator. It would be better to have a single layout than two similar one to the other except for 2 keys.... |
Yes, what I meant with my comment is what they could implement in their software that already exists and it's useful. |
@crutkas |
Apparently this important modification is not yet confirmed for any of the next 4 releases. Hopefully this will be remedied ASAP. My own pressing need is to be able to remap to ANY Unicode character. Can Unicode characters be mapped to unused Virtual Keys (VK nnn)? |
Lets target right after stability. I'll update the wiki. |
@enricogior this is for support of chords then as well based on some of the closed issues, correct? ala Ctrl-K, Ctrl-C inside VS to comment something. we closed a few issues it looks like against this for chords |
@vincenzoml Thanks, I already solved the issue with AutoHotkey. |
I think this is a more general issue. I'm based in Spain and consider myself L1 Spanish/German. With a Spanish keyboard I can get the 'ß' as AltGr+s in Linux and macOS and thus my keyboard allows me to write in all languages I'm fluent in (ES/DE/EN/IT) without extra drivers (in Linux) or with an extra app (Karabiner in macOS). But that's something I can't in Windows. I have to confess that returning to Win after 20+ years in linux/macOS has been an accident I couldn't avoid. Not that I'm surprised. Just disappointed... |
I resorted to making my own system based on Autohotkey and it's been working well for me (though it was somewhat buggy on a slower, older computer I used to use). I speak many languages daily and cannot afford to switch layout for each, so this one supports most languages with a latin script. |
Fantastic work, @berzi ! Brilliant. However, this does not address my need to incorporate some elements from the Latin Extended-D which are essential for my use case and the reason I want the developers to add it to the code of the Keyboard PowerToy or work on a greater version of the Microsoft Keyboard Layout app and incorporate it as a PowerToy. |
Thank you @georgegom . I'm curious to know what use-case requires those symbols, since I'm not aware of a language that actually uses any of them. I could add some of them to my layout, since I was already thinking of expanding it to cover Hungarian accent marks. |
@berzi, I'm wondering if you've ever considered adding support for the characters the Pinyin uses which don't yet seem to exist. See https://en.wikipedia.org/wiki/Pinyin#Tones It looks like you might just be missing 3rd tone ( |
@cjbarth I actually have the ˇ (altgr + shift 6), looks like the picture is outdated. But I don't have double diacritics yet, that's what I'll work on next. Thanks. :) |
This would help in a lot of situation. My 2 cents:
The most elegant solution would really be to have PowerTools allow for arbitrary mapping (allowing to paste a character feels like a really good interface, but I'd be totally fine with inputing character codes instead) |
The use case is to be able to compose text, say in a Romance language like Spanish, where with a single character (i.e. ao ligature) I can save myself from writing out both forms of a particular noun or adjective. It is more elegant than the horrible solution invented by the publishing/editorial industry. The feature I am asking to be implemented would allow for other characters in the ASCII Latin-D group to be used for other creative purposes, i.e., the use of characters in medieval forms of Indoeuropean languages to express the original form of the word. Therefore, I want to have an enhanced and better option than Microsoft Keyboard Layout Creator (which does not work correctly in Windows 10 and is not for the faint of heart) which can be done by a feature that lets me map what character I want when I need it. :) |
That would be only one use case. The possibility of mapping eg AltGr+s to ß in a Spanish keyboard would make it a keyboard to write all co-official languages in Spain, French, Italian, English and German with. Wouldn’t that be impressive? Well, actually, I do this since ever when I switch to Linux ;-)Enviado desde mi iPhoneEl 6 ago 2023, a las 18:56, George Ortiz-Mejias ***@***.***> escribió:
Fantastic work, @berzi ! Brilliant. However, this does not address my need to incorporate some elements from the Latin Extended-D which are essential for my use case and the reason I want the developers to add it to the code of the Keyboard PowerToy or work on a greater version of the Microsoft Keyboard Layout app and incorporate it as a PowerToy.
Thank you @georgegom . I'm curious to know what use-case requires those symbols since I'm unaware of a language that uses any of them.
I could add some of them to my layout since I was already thinking of expanding it to cover Hungarian accent marks.
The use case is to be able to compose text, say in a Romance language like Spanish, where with a single character (i.e. ao ligature) I can save myself from writing out both forms of a particular noun or adjective. It is more elegant than the horrible solution invented by the publishing/editorial industry.
The feature I am asking to be implemented would allow for other characters in the ASCII Latin-D group to be used for other creative purposes, i.e., the use of characters in medieval forms of Indoeuropean languages to express the original form of the word.
Therefore, I want to have an enhanced and better option than Microsoft Keyboard Layout Creator (which does not work correctly in Windows 10 and is not for the faint of heart) which can be done by a feature that lets me map what character I want when I need it. :)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
¡Felicidades! Glad you do not have this first-world problem. 😉 However, since I am not using Linux, and these are PowerToys for Windows .... need I say more? |
I actually have it every single time I’m forced to use Windows ;-) mentioned Linux just to itch a bit :-)PAEnviado desde mi iPhoneEl 7 ago 2023, a las 1:33, George Ortiz-Mejias ***@***.***> escribió:
¡Felicidades! Glad you do not have this first-world problem. 😉
However, since I am not using Linux, and these are PowerToys for Windows .... need I say more?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
This is quite literally the only reason I installed PowerTools. You are going to lose out on a lot of your potential base by holding off this feature for this long, especially since the solution should be theoretically easy. |
Any update on this? WinCompose is nice but an official Windows compose key would be a very useful thing. Especially since WinCompose isn't digitally signed. Even just the standard Xorg sequences would be a huge help. |
Same question. |
Hello @Manukineko and others that will find this thread. |
@nev3rfail. Thanks this works for me: it replaces the |
@tilleul, that's great:)
Unfortunately, there is no easy way to add an application to autostart to start as elevated, i'm working on it. |
And would you please then detail the steps taken to do this?
I mean, unfortunately however brilliant Quick Accent or Keyboard Manager are, they both lack what Microsoft Keyboard Layout would allow us to do, which is to copy an existing layout and define our own diacritic character entry with just using AltGr and AltGr+Shift.
¡Gracias!
…________________________________
|
FWIW, stumbled across this GitHub while looking for other, vaguely related stuff, and I have to wonder... Does this project currently allow for the direct use of non-standard keyboard symbols as actual inputs yet, or not? Asking from the perspective of a gamer who needs extra keybinds, rather than what folks might conventionally consider a true "power user". TL:DR, looking to bind some flight stick controls to keyboard-style inputs, but as a supplement to the extant keyboard on my desk, rather than to replace it. The game in question doesn't have options to take stick inputs, and JoyToKey just binds things to existing keyboard controls (which is useless). Macros and chords are a non-starter, given that shift, control, and alt are already bound to stuff, which would cause funky interactions when trying to use them as such (IE Alt-codes for ASCII characters). I've also already bound F13-F24 to the 12 extra buttons on the side of my mouse and made use of them. For anyone who cares to ask what game I could be playing that might possibly require such an inordinate number of additional keybinds... It's modded Minecraft (Java edition), and I'm not joking. With how most of the larger/more popular mods are these days, extra bindings beyond the norm are an absolute necessity, given they're all usually coded in isolation and default to having their added controls mapped to things like Z,X,C,F,R, etc, meaning there's usually several dozen conflicts per key whenever you first start up a modpack. Unfortunately, from what I've experienced, MMO mice and gaming keyboards with extra buttons and other such peripherals only seem designed with binding macros in mind (or the aforementioned long-disused F13-F24 keys), instead of registering the extra inputs as their own dedicated buttons. Sorry if this is off-topic for this project, let alone this thread, it's just that this seems like the closest thing to a solution to my problem that I've been able to find. Failing that, could someone point me in a better direction? |
For additional clarification, my mouse is one of those Logitech ones with 12 bindable side buttons, a scrollwheel that center-clicks and rocks side-to-side for forward and backwards webpage navigation, and a third "click" option under the ring finger (like the left and right click are under the index and middle fingers, respectively) that's designed as a mode-shift for the 12 side buttons. Additionally, my keyboard (also Logitech) has the standard US QWERTY+Numpad+F1-12 layout, with 9 additional kinda le buttons wrapped around the left edge and above the function keys, as well as a further three buttons meant as a 3-way mode shift for those previously-mentioned 9. The flight stick (a relatively newer acquisition) comes from VKB, and while it does seem to have its own readings as regular stick controls, (which Minecraft doesn't read,) it also has an option to bind all its inputs to keyboard inputs instead, which would be more useful. Unfortunately, all of the above points towards reusing the keys already on my keyboard, instead of as new unique inputs. Which is where I hoped something like this project might come in. |
@Caldoric There is no such thing as "Register your own input" because there is nothing to register. Inputs can be either virtualkey which is just a 0-255 code, a scancode which is a WORD-sized payload (but there are list of scancodes supported by windows https://learn.microsoft.com/en-us/windows/win32/inputdev/about-keyboard-input (though I don't know what will happen if you paste something unusual to as a scancode and send it to windows)), and unicode which is a crutch over a scancode that allows to send a completely custom payload and is splitted/reassembled if it is too big.
Relevant doc about scancodes, keyboards etc: https://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923143f3456c/scancode.doc Alternatively, you can mess with the keyboard layout itself -- you need a tool like KbdEdit. "Examples" section contains some useful info: http://www.kbdedit.com/manual/manual_index.html |
I installed the utility specifically to remap the backtick symbol, as it's essential for anyone working with code and is missing from European keyboard layouts. I wanted to avoid having to use |
@garysassano if by any chance you're using an Italian layout keyboard, a workaround for tilde and backtick support is using this installable keyboard |
@garysassano with PowerToys Keyboard Manager you can remap a key from your keyboard. |
@e-krebs It's not showing for me, I think it only allows to remap to keys from your current layout in Windows. |
I would like to use Keyboard Manager to map some shortcuts to keys that currently are accessible only from the "Windows Character Map" application. Specifically I would like to map
AltGr + '
to`
andAltGr + ì
to~
.I know that the Keyboard Manager enables only to map to keyboard keys, but allowing also custom characters would be such a great feature for a programmer.
The text was updated successfully, but these errors were encountered: