No macros detected by AutoHotkey

I just bought a Steelseries gaming keyboard and a rival mouse. Unfortunately, each of these products has different software for macros and keyboard lighting, both of which are mediocre at best.

Instead of having 2 processes running in the background, and I need to use 2 crappy programs to write my macros, I decided to use AutoHotkey for my macros, some of which I plan to make quite complex. The mouse was not a problem in AutoHotkeys, with two side buttons using XButton1 and XButton2, however no matter what I do, I cannot detect keyboard macros (from M1 to M12 and MX1 to MX10).

Using the hook for the keyboard does not detect any keys and searches online, I can not find how to handle these keys. I’m not even sure that windows see them, because when I try to enter them in the shortcut key field in a regular shortcut, they do nothing. So my questions are:

What are the macros on my keyboard called in AutoHotkey? Is there a way around this problem without using the Steelseries Engine? If I can’t access them normally, is there a way to reassign them without external software? (Optional) Is there a way to adjust keyboard and mouse lighting without Steelseries software?

Btw I am using Windows 8 and here are mouse and keyboard links. Thank you in advance.

+1
source share
1 answer

You can get a name for special keys that are not listed in the AutoHotkey documentation by following these steps: here .

Some notes and explanations:

You can use this script for step 1:

#InstallKeybdHook Sleep, 99999999999999999999 

When you start it, check if the keyboard hook is active:

Press here:

enter image description here

then here:

enter image description here

and if active, you should see something like this:

enter image description here

In step 6, here is the hexadecimal value column:

enter image description here

If this does not work for you, try Alternative Solutions in the link above.

+2
source

Source: https://habr.com/ru/post/1397076/


All Articles