Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mouse chording - not taking over mouse wheel functionality
#2
The macro can check middle button state...

Code:
Copy      Help
ifk (4)
,out 1
else
,out 0

Tested with wheel forward trigger, 'When released' unchecked.

To make it more reliable:

Code:
Copy      Help
int+ g_lastWheelTick
ifk (4)
,g_lastWheelTick=GetTickCount
,;macro1
,out 1
else
,if(GetTickCount-g_lastWheelTick<500) goto macro1
,g_lastWheelTick=0
,;macro0
,out 0

------

Quote:Is it customary to tip for answered solutions? I was reading that the Google Answers folks work on tips too. Anyway, Gintaras, you deserve it!!!!! and I would be happy to comply.....

Not sure I understand. I not speak English well.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)