PIP 5.6.1
Platform-Independent Primitives
Public Types | Public Attributes | List of all members
PIHIDevice::Event Struct Reference

Input event produced by PIHIDevice. More...

#include <pihidevice.h>

Public Types

enum  Type { tNone , tButton , tAxisMove }
 Kind of HID event. More...
 

Public Attributes

Type type = tNone
 Event kind.
 
PIHIDeviceInfo::AxisInfo axis
 Axis description for axis events.
 
PIHIDeviceInfo::ButtonInfo button
 Button description for button events.
 
float value = 0.
 Normalized axis value, relative delta, or button state.
 

Detailed Description

Input event produced by PIHIDevice.

Member Enumeration Documentation

◆ Type

Kind of HID event.

Enumerator
tNone 

Empty event

tButton 

Button state change

tAxisMove 

Axis value change or relative axis delta