SOLVED: AHKHID and Griffin Powermate

Get help with using AutoHotkey and its commands and hotkeys
Posts: 22
Joined: 15 Nov 2013, 19:32

SOLVED: AHKHID and Griffin Powermate

14 Jun 2018, 17:55

Hey all,

trying to get the Griffin Powermate working with AHKHID, but this is really a hell of a job.
I think I got the most important bits already together:

Screenshot 2018-06-15 00.47.11.png
Screenshot 2018-06-15 00.47.11.png (58.28 KiB) Viewed 59 times

But I have no idea how to get along here. One of the function I want to assign is the 000001006F1000 (turning the wheel right).
How do I proceed here?

What I got so far:

Code: [Select all] [Download] GeSHi © Codebox Plus

Gui, +LastFound
hGui := WinExist()
OnMessage(WM_INPUT, "InputMsg")
r := AHKHID_Register(12, 1, hGui, RIDEV_INPUTSINK)
InputMsg(wParam, lParam)
Local devh, iKey, sLabel
devh := AHKHID_GetInputInfo(lParam, II_DEVHANDLE)
If (devh <> -1) And (AHKHID_GetDevInfo(devh, DI_DEVTYPE, True) = RIM_TYPEHID) And (AHKHID_GetDevInfo(devh, DI_HID_VENDORID, True) = 1917) And (AHKHID_GetDevInfo(devh, DI_HID_PRODUCTID, True) = 1040) And (AHKHID_GetDevInfo(devh, DI_HID_VERSIONNUMBER, True) = 8)
Last edited by Stevie on 19 Jun 2018, 18:05, edited 1 time in total.

Return to “Ask For Help”

Who is online

Users browsing this forum: AutoHotKeyFan, dx34354, eptesicus, Flipeador, Nelson3494, newbieforever, rscott and 28 guests