Mouse buttons as hotkeys: missing functionality, no reference to "LButton", "MButton", "RButton" directly in code

Issue #27 closed
Winter Laite created an issue

Test code, works in AHK:

~LButton::
{
    MsgBox("Hi")
}

Does not work in Keysharp, and “LButton”, “RButton” and “MButton” appear to be missing from Keysharp code.

I do find the WinAPI references such as “WM_LBUTTONDOWN”, but don’t know how to use that information to write code to use a mouse button as a hotkey.

KeyList page in docs

Comments (2)

  1. Log in to comment