MCPcopy Create free account
hub / github.com/ading2210/linuxpdf / VIRTIOInputDevice

Class VIRTIOInputDevice

tinyemu/virtio.c:1396–1400  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1394#define ABS_Z 0x02
1395
1396typedef struct VIRTIOInputDevice {
1397 VIRTIODevice common;
1398 VirtioInputTypeEnum type;
1399 uint32_t buttons_state;
1400} VIRTIOInputDevice;
1401
1402static const uint16_t buttons_list[] = {
1403 BTN_LEFT, BTN_RIGHT, BTN_MIDDLE

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected