jadware
jadware

Reputation: 165

What is the AHK keycode for the auto-rotate button?

I'm attempting to remap a physical button on my laptop that triggers the auto-rotate toggle inside Windows 10. I know the keyboard shortcut for this Windows+O which would be #o in AutoHotKey.

With the following code snippet I can swap the autorotate key and volume down key (just an example).

#o::Volume_Down
Volume_Down::#o

But what is the underlying signal/keycode that Windows+O triggers, and can I trigger it with a keycode instead of with #o?

Upvotes: 1

Views: 484

Answers (1)

jadware
jadware

Reputation: 165

Turns out there is no keycode for this. It's a key combination: Win+O. The key on the side of the laptop simply sends Win+O.

Upvotes: 1

Related Questions