@evilC commented on GitHub (Apr 14, 2020):
keyboard = AHI.GetKeyboardId(0x03EB, 0xFF02) should be keyboard := AHI.GetKeyboardId(0x1017, 0xA003)
You were literally setting the variable…
@Okaghana commented on GitHub (Apr 14, 2020):
That fixes is. Thank you!
@ChrisAcrobat commented on GitHub (Jan 7, 2023):
I have a similar problem, but mine is for two different mice.
ID: 15 (Logitech M705) VID/PID: 0x046D, 0xC52B Handle: HID\VID_046D&PID_C52B&REV_…
@evilC commented on GitHub (Nov 5, 2020):
Because FPS games do not have a cursor position, they use relative moves
@evilC commented on GitHub (Apr 12, 2020):
keyboard in your function is a local variable, not global. You are passing an empty value for that parameter
@Okaghana commented on GitHub (Apr 13, 2020):
That doesn't fix the error. I still get
0x80004002 - No such interface supported
Same for passing the keyboard as a function parameter
@evilC commented on GitHub (Apr 14, 2020):
AHI.SendKeyEvent(keyboard, GetKeySC(%char%), 1) is also wrong
Function calls (GetKeySC) are already in "expression syntax", so wrapping char in %…
@Okaghana commented on GitHub (Apr 14, 2020):
Also doesn't fix it.