0x2130 - Ratchet Wheel

[0x2130]RatchetWheel


divert =[0]GetWheelMode()
divert =[1]SetWheelMode(divert)
deltaV,deltaH =[event0] WheelMovement

    

RatchetWheel
Diverting of wheel movement reporting to HID++ events for standard ratchet wheels

When reports are diverted to HID++ they are not reported on HID.

[0]GetWheelMode
Parameters
None
Returns
 [8bits]  [7:1] reserved
  [8bits]  [0:0] divert
Device should return 0 in these bits     (bit mask 0xFE)
0 = HID, 1=HID++ notification                 (bit mask 0x01)

Errors
None

[1]SetWheelMode

Parameters
  [8bits]  [7:1] reserved
  [8bits]  [0:0] divert
Device should echo these bits in the reply    (bit mask 0xFE)
0 = HID, 1=HID++ notification                           (bit mask 0x01)
Returns
  [8bits] [7:1] reserved
  [8bits]  [0:0] divert
Echo of command parameter
Echo of  command parameter
Errors
None


[event0] WheelMovement
        Reported while "divert" bit is set to 1 (HID++ notification).

 [s8bits]  deltaV
Vertical wheel motion delta.  Moving away from the user produces positive values.
 [s8bits]  deltaH
Horizontal wheel motion delta  Moving to the right produces positive values.