evilC 6 years ago
commit 34827b78f3

@ -53,6 +53,12 @@ global AHI := InterceptionWrapper()
```
In this case, `AHI` is actually an AHK class - it wraps the AHI DLL and provides some extra functionality.
The majority of the documented commands can be called directly on the DLL itself by calling them on `AHI.Instance` instead of `AHI`.
AHI := new AutoHotInterception()
global Interception := AHI.GetInstance()
```
`AHI` is an AHK class that makes it easy to interact with the AutoHotInterception DLL. For example, it wraps `GetDeviceList()` to make it return a normal AHK array. Most of the time you will not need it.
For advanced users, if you wish to directly communicate with the AHI DLL (eg for best possible performance), you can call `AHI.Instance` instead of `AHI` for most functions (eg when sending of synthesized input using `SendMouseMove`).
## Finding Device IDs
### Finding a specific device

Loading…
Cancel
Save