sdias / win-10-virtual-desktop-enhancer

An application that enhances the Windows 10 multiple desktops feature by adding additional keyboard shortcuts and support for multiple wallpapers.
MIT License
1.77k stars 269 forks source link

Azerty keyboard numeric keys #130

Open akitakedits opened 6 years ago

akitakedits commented 6 years ago

I am running an azerty (french) keyboard. To us, numeric keys (above the first row of letters) send out these keys by default: & é " ' ( - è _ ç à

Problem is, trying to use these in the settings.ini causes issues (probably because of the quote and double quotes), I therefore tried to use the Keycode of each key: SC002 for &, SC003 for é, etc..

But that doesn't work properly either, as the first key brings me to the second desktop, the second to the third, etc..

I also tried using {vkFFsc002}, {vkFFsc003} and so on, but it doesn't seem to like {SOMEKEY} in the settings.ini either.

How can I solve this and properly bind everything?

Edit: I got it to temporarely work from the 1st to 8th desktops by changing the DllCall line 480 from DllCall(GoToDesktopNumberProc, Int, n-1) to DllCall(GoToDesktopNumberProc, Int, n-2) But this is very.. hacky I'd say.