Stub new undocumented 516 m4/m5 (#90404)

## About The Pull Request
Lummox added these and didnt document them so these are leftclicking rn

## Changelog
🆑
fix: Mouse4 and Mouse5 no longer leftclick
/🆑

Co-authored-by: TiviPlus <572233640+TiviPlus@users.noreply.com>
This commit is contained in:
TiviPlus
2025-04-05 16:51:13 +02:00
committed by GitHub
co-authored by TiviPlus
parent 214bd61b2f
commit a0fa2dda57
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -5,6 +5,8 @@
#define RIGHT_CLICK "right"
#define MIDDLE_CLICK "middle"
#define LEFT_CLICK "left"
#define BUTTON4 "xbutton1"
#define BUTTON5 "xbutton2"
///Mouse button that was just clicked/released
///if(modifiers[BUTTON] == LEFT_CLICK)
+3
View File
@@ -76,6 +76,9 @@
if(SEND_SIGNAL(src, COMSIG_MOB_CLICKON, A, modifiers) & COMSIG_MOB_CANCEL_CLICKON)
return
if(LAZYACCESS(modifiers, BUTTON4) || LAZYACCESS(modifiers, BUTTON5))
return
if(LAZYACCESS(modifiers, SHIFT_CLICK))
if(LAZYACCESS(modifiers, MIDDLE_CLICK))
ShiftMiddleClickOn(A)