Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Turning buttons on and off
#2
Edit function BIMouseProc. Below the 'else' line insert:
Code:
Copy      Help
,,sel wParam
,,,case [WM_LBUTTONDOWN,WM_LBUTTONUP] if(g_dontBlock&1) goto g1
,,,case [WM_RBUTTONDOWN,WM_RBUTTONUP] if(g_dontBlock&2) goto g1
,,,case [WM_MBUTTONDOWN,WM_MBUTTONUP] if(g_dontBlock&4) goto g1

Macro:
Code:
Copy      Help
int+ g_dontBlock=2 ;;2 is flag to not block right; 1 left, 4 middle. You can add two flags to not block two buttons. If 0, blocks all buttons. If 7 - none.
BlockInput2 2 0 1
10


Messages In This Thread
Turning buttons on and off - by InterestedNewbie - 06-13-2019, 01:15 PM
RE: Turning buttons on and off - by Gintaras - 06-13-2019, 03:24 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)