microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.2k stars 6.49k forks source link

Please allow different key mappings across multiple keyboards #30049

Open Cat-Ober opened 10 months ago

Cat-Ober commented 10 months ago

Description of the new feature / enhancement

Please allow different key mappings across multiple keyboards. Some keyboards have different layouts than others for example Apple Magic Keyboard on the lower left corner is [control] [option/alt] [command/windows] whereas the same place of windows keyboards are [control] [function] [windows] [alt]. To be able to efficiently use shortcuts, it is necessary to have the keys in the same order across keyboards for example being able to change the Apple Keyboard to [control] [command/windows] [option/alt] and maintaining the mapping of my other keyboards the same.

Scenario when this would be used?

I use an Apple Magic Keyboard at home and a Microsoft keyboard at work or my laptop's native keyboard. To be able to efficiently use shortcuts, it is necessary to have the keys in the same order across keyboards for example being able to change the Apple Keyboard to [control] [command/windows] [option/alt]. It would be VERY useful for me to be able to configure key mapping separately for each of these, particularly the magic keyboard.

Supporting information

No response

brittj2001 commented 9 months ago

I have the exact same scenario. Being able to easily switch between keyboards, whether it be automatically, or by keyboard shortcut, would be hugely beneficial.

ForrestFire0 commented 6 months ago

I see in the docs you say: Can I have different key mappings across multiple keyboards? Currently no. We are not aware of an API where we can see the input and which device it came from. The typical use case here is a laptop with an external keyboard connected.

Why can't we just list the USB devices? That doesn't seem that hard. When USB device A is present, use mapping A, else use mapping B. Thoughts?

(And if your keyboard isn't USB... tough luck)

bradyab commented 5 months ago

I would also like this feature. are there any third party keyboard remappers that support this?