Skip to content

MTY_HIDEvent

chrisd1100 edited this page Apr 9, 2023 · 2 revisions

HID input report from certain controllers.

If enabled via MTY_APP_FLAG_HID_EVENTS, all controllers except XInput controllers will generate input report events.

typedef struct {
    const void * report;
    size_t       size;
    MTY_CType    type;
    uint32_t     id;
    uint16_t     vid;
    uint16_t     pid;
} MTY_HIDEvent;

Members

report (const void *)

The HID input report.

size (size_t)

Size in bytes of report.

type (MTY_CType)

Game controller type.

id (uint32_t)

Assigned controller id.

vid (uint16_t)

HID Vendor ID.

pid (uint16_t)

HID Product ID.

See also

Module: App

Clone this wiki locally