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?

5
  • 3
    Not possible on Windows
    – DavidPostill
    Commented Nov 26, 2020 at 20:57
  • 1
    Have you tried the Microsoft Mouse and Keyboard Center? In the step 2 it mentioned: Connect the keyboard that you want to configure. support.microsoft.com/en-us/topic/…
    – Jenny
    Commented Nov 27, 2020 at 8:58
  • @Jenny - looks like that tool is only for Microsoft devices.
    – WorldGov
    Commented Jan 1, 2021 at 10:10
  • Hm, it seems like it might be possible, at least theoretically looking at this: github.com/cajhin/capsicain/issues/44
    – B0rk4
    Commented Dec 23, 2021 at 18:12
  • @DavidPostill: It is possible, just not particularly easy. Please see my answer for two possible approaches to solving this problem. Commented Aug 12, 2022 at 6:22

1 Answer 1

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

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .