04-30-2008, 07:15 AM
Edit Keyboard_Detector:
find:
Function Keyboard_Detector
insert after:
Function Keyboard_Detector
g_rir.m[1] is identifier of the mouse that is associated with the second filter function. For other mouses it is g_rir.m[0], g_rir.m[2], g_rir.m[3].
find:
Function Keyboard_Detector
insert after:
Function Keyboard_Detector
,,;out "%i %i %i" k raw.mouse.lLastX raw.mouse.lLastY
,,if(k=g_rir.m[1])
,,,if(raw.mouse.lLastY>0) key (VK_VOLUME_DOWN)
,,,else if(raw.mouse.lLastY<0) key (VK_VOLUME_UP)
g_rir.m[1] is identifier of the mouse that is associated with the second filter function. For other mouses it is g_rir.m[0], g_rir.m[2], g_rir.m[3].