InsertMemeNameHere
InsertMemeNameHere

Reputation: 2433

horizontal mouse wheel messages from windows raw input

I've noticed there isn't a documented equivalent to WM_MOUSEHWHEEL for windows raw input, yet I am receiving WM_INPUT messages for horizontal wheel clicking. Before I embark on my journey to re-invent the wheel (stupid pun intended), has anyone already cataloged such messages?

Upvotes: 3

Views: 1086

Answers (1)

InsertMemeNameHere
InsertMemeNameHere

Reputation: 2433

Nevermind, took about 5 minutes.

In the event that anyone comes looking for this, it seems that a #define RI_MOUSE_HWHEEL 0x0800 solves the problem. Testing for this flag is the same as with RI_MOUSE_WHEEL. The delta is in the usButtonData: positive for right, negative for left.

Upvotes: 7

Related Questions