Setting Button State by Specifying Its Usage

Setting Button State by Specifying Its Usage

An application or driver can set the state of buttons in a properly-initialized HID report by calling one of the following HID support routines:

HidP_SetButtons (or HidP_SetUsages)

Sets a specified set of buttons to ON (1).

HidP_UnsetButtons (or HidP_UnsetUsages)

Sets a specified set of buttons to OFF (zero).

See also Initializing HID Reports.

 

 

Send comments about this topic to Microsoft

Show:
© 2016 Microsoft