Skip to content

Feature: Click callbacks#234

Open
Purple-CSGO wants to merge 1 commit intogetlantern:masterfrom
Purple-CSGO:master
Open

Feature: Click callbacks#234
Purple-CSGO wants to merge 1 commit intogetlantern:masterfrom
Purple-CSGO:master

Conversation

@Purple-CSGO
Copy link

I've added callback functions for mouse left/right click events to fit customization. Examples and README are also adjusted. It works on my project as intended but I'm unable to test if it works on platforms other than windows.

P.S double clicks are not added cuz the lParam const value is not defined and I cannot find it from the doc in comments. Maybe we should customize and implement dbclick by calculating intervals between clicks ourselves?

P.S this PR would break original codes cuz two more callbacks are added to Run() and Register(), so it should be carefully notified when making a new release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant