// Copyright Citra Emulator Project / Azahar Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #pragma once #include #include "core/hle/service/cfg/cfg.h" namespace LibRetro { enum CStickFunction { Both, CStick, Touchscreen }; struct CoreSettings { std::string file_path; float analog_deadzone = 1.f; LibRetro::CStickFunction analog_function; bool enable_mouse_touchscreen; Service::CFG::SystemLanguage language_value; bool enable_touch_touchscreen; bool enable_touch_pointer_timeout; std::string swap_screen_mode; bool enable_motion; float motion_sensitivity; } extern settings; void RegisterCoreOptions(void); void ParseCoreOptions(void); } // namespace LibRetro