What is AutoHotInterception (AHI)?
masterAutoHotInterception (AHI) is a library that allows you to execute AutoHotkey code in response to events from a specific keyboard or mouse. It can optionally block the native functionality of that device, meaning Windows will not see the original event. This allows you to use multiple keyboards or mice independently (e.g., pressing F1 on Keyboard A triggers one action, while F1 on Keyboard B triggers a different action).
AHI supports both AHK v1 and AHK v2 and relies on the Interception driver by Francisco Lopez.