-
Notifications
You must be signed in to change notification settings - Fork 412
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
Nice little app! #235
Comments
Have you set Windows to actually sleep when the sleep button is pressed? https://www.digitalcitizen.life/change-shut-down-button-log-lock-restart-sleep-etc If you don't see the option to customize your sleep button's action in the old Windows Control Panel (perhaps because the system doesn't actually have a sleep button), you'll have to do it another way (for example, create a shortcut to a program that sends the PC to sleep). |
Also, sleep is a strange key on most laptops and keyboards. It's sometimes intercepted by hardware which means it never gets passed to Windows, so Windows cannot map it. In other cases, a machine will ignore the Sleep scan code because it only responds to the hardware one. It's a try and see sort of thing. |
I have an old Microsoft keyboard with a "sleep key". The computer is a desktop with Win10 pro. If i enter settings in Windows, energy, behaviour when sleep key is pressed, sets it to no action, the sleep button on the keyboard stops working. So somehow windows must recognise that key. If I choose turn off monitor the monitor goes off. |
I also tried to remap any key to put the PC to sleep. The key loses it's original function, but nothing happens. The registry entry looks fine, though. It seems to be a Windows problem, not a Sharpkeys problem, but somebody here can help. Does Windows maybe expect both the make and break codes? |
I finally had the opportunity to test on a desktop with an old IBM 101-key KB. Set F12 to Sleep but it did nothing at all after remapping. I'm not really sure whether the Sleep button on a new KB will even work with the same PC. @vaifrax: No (would be weird if it did). |
I wanted to drop in a thank you here. Not an issue, but definitely in theme with the issue's title! As a long time macOS user having to use Windows 10 for work, sharpkeys made the transition to using windows on the daily bearable. if you had a way for me to give you money, I'd do so, I just didn't see one |
@ScottAwesome It's on his main website, https://www.randyrants.com/donate/ |
Hi, adding to this thread - thank you so much for making SharpKeys! I'm using a portable keyboard that has only has a num pad, and it was driving me nuts b/c ALT+arrow keys produced symbols even when Numlock was off. That made coding awful since using ALT+UP/DN to move lines produced little symbols all over the place. Was about to give up and buy a new keyboard until I stumbled on this tool. Thank you thank you! |
Hey, I just wanted to let you know that I successfully remapped the Alt Gr key. I have a German keyboard btw, I don't know if that is important. |
Is it possible to remap the windows keyboard with this application so it works with regional versions of Commodore64 emulator Vice? see this thread for reference: https://www.lemon64.com/forum/viewtopic.php?t=71226 I will try it out myself, but was hoping someone had explored similar uses already. Thanks! |
Sadly, the Windows tech that is used to remap things is not aware of any specific application, so this product cannot help. That said, give Microsoft PowerToys a try: I know they have a more active remapping but I don't remember if they are product by product. |
Hi, Is it possible to add this so it can be disabled, please? I tried to add the code for the Emoji button for reference, but it wasn't detected. Many thanks! |
According to SharpKeys' documentation, such three-byte key codes cannot be remapped. You may be out of luck. If you pry the key cap carefully off the offending key, maybe you can do something with it that way? Such as insulating its contact, or, failing that, simply leaving the key cap off. |
Indeed, SharpKeys cannot help with these two keys. However, you can install the Microsoft Keyboard software to remap some of these keys. I'm pretty sure the more recent version would handle both of these keys, but I haven't personally tried. I just ignore them (and use WIN+; for emoji) :) |
Many thanks DreymanR and randyrants, it seems they want to make it as difficult as possible. I didn't want to pull apart my keyboard, and PowerToys thinks the Office key is the left Windows key, so you can't do anything without altering the use of the 'normal' Windows key. But I found a workaround here: It gives this command to run in PowerShell, and it simply disables it: It goes on about remapping it, but disabling it is perfectly fine with me so I stopped there. :) |
Thank you so much! It totally reshapes my work with a keyboard ❤ |
Thanks @Lozzybet - I've added this bit to the FAQ! |
Thank you for this app. I write and translate for a living, but I never was a great typer. Especially the quotation mark was always a nuisance for me: it's next to the "0" on German keyboards. I switched it with the absolutely useless "^" key (which for some reason is featured prominently to the upper left). So now "?" is next to "!", and it made my life so much easier. |
Hi,
I.m trying to create a "sleeep" button for my wifes new keyboard.
Remapping any of the keys to become a sleep button seems impossible.
The key I remap looses it's original function but no computer sleep.
Why?
Rgds
Nils
The text was updated successfully, but these errors were encountered: