This repository was archived by the owner on Sep 3, 2021. It is now read-only.
Replies: 1 comment
-
|
This can't be done directly in Lua. You'd need to write a C module to plug into Lua. It's also not so easy to do that. You'd need to either check very often for mouse button presses (often enough that you wouldn't miss a button press), or, alternatively, hook into the system-wide window message for mouse clicks. There doesn't seem to be any Lua modules already written for that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to make a color switch when clicking on the left mouse button , how can this be implemented ?
Beta Was this translation helpful? Give feedback.
All reactions