mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
hid: Rename hid_init to work around static linking issues for now
This commit is contained in:
committed by
mborgerson
parent
383f2186de
commit
085d631309
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user