#ifndef __MDFN_DRIVERS_INPUT_H #define __MDFN_DRIVERS_INPUT_H enum : uint8 { BUTTC_NONE = 0, // Must be zero. BUTTC_KEYBOARD, BUTTC_JOYSTICK, BUTTC_MOUSE }; struct ButtConfig { uint8 DeviceType; uint8 DeviceNum; int8 ANDGroupCont; uint16 ButtonNum; uint16 Scale; std::array DeviceID; }; void Input_Event(const SDL_Event* event); void Input_GameLoaded(MDFNGI* gi) MDFN_COLD; void Input_GameClosed(void) MDFN_COLD; void Input_Update(bool VirtualDevicesOnly = false, bool UpdateRapidFire = true); void Input_MakeSettings(std::vector &settings); void Input_NetplayLPMChanged(void); MDFN_HIDE extern bool DNeedRewind; // Only read/write in game thread(or before creating game thread). MDFN_HIDE extern bool RewindState; // " " " " #endif