3

Background: I typically wish to remap keys on my laptop keyboard, but not on external USB keyboards I connect to the laptop. I'm aware of a solution for linux, as well as several options how to remap keys on windows for all keyboards (e.g. SharpKeys).

Question: Is there any way to remap keyboard keys for a single keyboard only on Windows 10?

B0rk4
  • 131

1 Answers1

2

Try looking at: https://github.com/evilC/AutoHotInterception

Based on: https://github.com/oblitum/Interception

Not sure whether it's supported on Windows 11 yet:

https://github.com/oblitum/Interception/issues/133

However, note that the Interception keyboard driver is closed source, which may present a problem for some users, but is nevertheless digitally signed.

A "driverless" option can be hacked together by combining Raw Input and Keyboard Hook messages to selectively block input from multiple keyboards, but this approach is not without its own set of challenges:

Combining Windows Raw Input and Keyboard Hook to Disambiguate Multiple Keyboard Devices

StackExchanger
  • 433
  • 1
  • 4
  • 10