https://autohotkey.com/board/topic/38015-ahkhid-an-ahk-implementation-of-the-hid-functions/
to replace B with other key
Code: Select all
b::
If (DllCall("GetAsyncKeyState", "int", 0x42, "ushort") >> 15) {
Hotkey, b,, Off
SendInput, b
Hotkey, b,, On
}
Return
a::SendInput, b
is it possible to pass HID VID PID name to script so it would know desired keyboard ?
Moderator Note: Added code tags. ~ sinkfaze