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

This commit is contained in:
Matt Borgerson
2021-05-21 02:08:41 -07:00
committed by mborgerson
parent 383f2186de
commit 085d631309
+5
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);