Devices
Device-specific input helps extra keyboards, numpads, mice, and controllers act like macro devices.
Why multiple keyboards appear
Windows Raw Input can expose media keys, receivers, HID interfaces, virtual devices, and real keyboards separately. This is why one physical keyboard can sometimes appear as several keyboard-like devices.
Use Detect Device
Use Detect Device to press a key or click a button on the device you want. KAutoKey should select the source device automatically when possible.
Macropad example
If a second keyboard or numpad is exposed as a separate device, you can make J on the extra keyboard trigger a task while J on the main keyboard remains normal.
Controllers
Xbox controllers are usually easiest through XInput. PS4/PS5 and generic controllers may require HID mapping, but can be supported if Windows exposes the inputs clearly.