Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DigiMouse.h #153

Open
chicory-ru opened this issue Jun 24, 2022 · 0 comments
Open

DigiMouse.h #153

chicory-ru opened this issue Jun 24, 2022 · 0 comments

Comments

@chicory-ru
Copy link

Copy-pasted into DigisparkMouse/DigiMouse.h MOUSEBTN_RIGHT_MASK 3 times instead of MOUSEBTN_LEFT_MASK and MOUSEBTN_MIDDLE_MASK. 7 years hanging like this :)

#define MOUSEBTN_LEFT_MASK 0x01
#define MOUSEBTN_RIGHT_MASK 0x02
#define MOUSEBTN_MIDDLE_MASK 0x04

void rightClick(){
last_built_report[0] = MOUSEBTN_RIGHT_MASK;
}
void leftClick(){
last_built_report[0] = MOUSEBTN_RIGHT_MASK;
}
void middleClick(){
last_built_report[0] = MOUSEBTN_RIGHT_MASK;
}

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

No branches or pull requests

1 participant