Skip to content

Commit

Permalink
Update ns-winuser-rawmouse.md (MicrosoftDocs#770)
Browse files Browse the repository at this point in the history
Fix `usButtonFlags` and `usButtonData` not rendered after MicrosoftDocs#743.
  • Loading branch information
DJm00n authored Jul 1, 2021
1 parent 163f692 commit 660a485
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sdk-api-src/content/winuser/ns-winuser-rawmouse.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ The mouse state. This member can be any reasonable combination of the following.
| **MOUSE_ATTRIBUTES_CHANGED**</br>0x04 | Mouse attributes changed; application needs to query the mouse attributes. |
| **MOUSE_MOVE_NOCOALESCE**</br>0x08 | This mouse movement event was not coalesced. Mouse movement events can be coalescened by default.<br/>Windows XP/2000: This value is not supported. |

### -field ulButtons
### -field DUMMYUNIONNAME.ulButtons

Type: **ULONG**

Reserved.

### -field usButtonFlags
### -field DUMMYUNIONNAME.DUMMYSTRUCTNAME.usButtonFlags

Type: **USHORT**

Expand All @@ -98,7 +98,7 @@ The transition state of the mouse buttons. This member can be one or more of the
| **RI_MOUSE_WHEEL**</br>0x0400 | Raw input comes from a mouse wheel. The wheel delta is stored in **usButtonData**.<br/>A positive value indicates that the wheel was rotated forward, away from the user; a negative value indicates that the wheel was rotated backward, toward the user. For further information see the following Remarks section. |
| **RI_MOUSE_HWHEEL**</br>0x0800 | Raw input comes from a horizontal mouse wheel. The wheel delta is stored in **usButtonData**.<br/>A positive value indicates that the wheel was rotated to the right; a negative value indicates that the wheel was rotated to the left. For further information see the following Remarks section.<br/>Windows XP/2000: This value is not supported. |

### -field usButtonData
### -field DUMMYUNIONNAME.DUMMYSTRUCTNAME.usButtonData

Type: **USHORT**

Expand Down Expand Up @@ -222,4 +222,4 @@ if ((rawMouse.usButtonFlags & RI_MOUSE_WHEEL) == RI_MOUSE_WHEEL ||

[Mouse Input Notifications (legacy)](/windows/win32/inputdev/mouse-input-notifications)

[SystemParametersInfo](nf-winuser-systemparametersinfoa.md)
[SystemParametersInfo](nf-winuser-systemparametersinfoa.md)

0 comments on commit 660a485

Please sign in to comment.