hid: Rename hid_init to work around static linking issues for now

This commit is contained in:
Matt Borgerson 2021-05-20 03:56:20 -07:00 committed by mborgerson
parent 383f2186de
commit 085d631309

View File

@ -48,6 +48,11 @@ struct HIDState {
QemuInputHandlerState *s;
};
#ifdef XBOX
/* XXX: `hid_init` conflicts with SDL2 package. Redefine it here for now. */
#define hid_init qemu_hid_init
#endif
void hid_init(HIDState *hs, int kind, HIDEventFunc event);
void hid_reset(HIDState *hs);
void hid_free(HIDState *hs);