Help with mouse_status() function

GPC2 script programming for Titan Two. Code examples, questions, requests.

Help with mouse_status() function

Postby pablosscripts » Sat Aug 21, 2021 7:06 am

I want to adjust how often the scroll wheel is detected. I want a short scroll to register exactly the same as a long scroll. Presently it is repeatedly triggering my combo when I only want it to activate once.

I suspect these are the two values I need to tinker with but it doesn't seem to affect my script:

#define MREPORT_UPDATED -2
#define MREPORT_TIMESTAMP -1

Any tips on how to use this function?
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR

My R6 script: https://youtu.be/x-9NtxyySVM
User avatar
pablosscripts
Brigadier General
Brigadier General
 
Posts: 1976
Joined: Tue Nov 24, 2015 6:27 am


Re: Help with mouse_status() function

Postby pablosscripts » Sat Aug 21, 2021 12:39 pm

THANK YOU!!!
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR

My R6 script: https://youtu.be/x-9NtxyySVM
User avatar
pablosscripts
Brigadier General
Brigadier General
 
Posts: 1976
Joined: Tue Nov 24, 2015 6:27 am


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 114 guests