Revision 027c03f7 hw/hid.h
b/hw/hid.h | ||
---|---|---|
43 | 43 |
int kind; |
44 | 44 |
int32_t protocol; |
45 | 45 |
uint8_t idle; |
46 |
int64_t next_idle_clock; |
|
46 |
bool idle_pending; |
|
47 |
QEMUTimer *idle_timer; |
|
47 | 48 |
HIDEventFunc event; |
48 | 49 |
}; |
49 | 50 |
|
... | ... | |
52 | 53 |
void hid_free(HIDState *hs); |
53 | 54 |
|
54 | 55 |
bool hid_has_events(HIDState *hs); |
55 |
void hid_set_next_idle(HIDState *hs, int64_t curtime);
|
|
56 |
void hid_set_next_idle(HIDState *hs); |
|
56 | 57 |
void hid_pointer_activate(HIDState *hs); |
57 | 58 |
int hid_pointer_poll(HIDState *hs, uint8_t *buf, int len); |
58 | 59 |
int hid_keyboard_poll(HIDState *hs, uint8_t *buf, int len); |
Also available in: Unified diff