Mouse wheel

Need help? Ask here and someone will help
Post Reply
DindonDodu
Posts: 21
Joined: Fri Jun 22, 2012 3:08 am

Mouse wheel

Post by DindonDodu »

Hi,
I'm having trouble binding the mousewheel to triangle to switch weapon. any help?
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Mouse wheel

Post by Matlo »

Can you explain what binding you defined, and what you expect?
GIMX creator
DindonDodu
Posts: 21
Joined: Fri Jun 22, 2012 3:08 am

Re: Mouse wheel

Post by DindonDodu »

When im playing cod, and i bind the mouswheel up to triangle and mw down to triangle in GIMX-config, it glitch and it change the weapon randomly.
User avatar
Matlo
Posts: 5768
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

Re: Mouse wheel

Post by Matlo »

The problem is that each mouse wheel report is translated into button down/up events. GIMX postpones the up event by 30ms, which is arbitrary. Maybe this is not enough for the game to register the action.

As a work around, you can bind a key to triangle, and define macros for the mouse wheel down events.

Example:

'p' is bound to triangle.

Code: Select all

MACRO MBUTTONDOWN BUTTON_WHEELDOWN
KEYDOWN p
DELAY 60
KEYUP p

MACRO MBUTTONDOWN BUTTON_WHEELUP
KEYDOWN p
DELAY 60
KEYUP p
GIMX creator
Post Reply