Lime3DS/src/citra_libretro/core_settings.h
OpenSauce04 9b045bf837 libretro: Replace render_touchscreen setting with enable_touch_pointer_timeout
Touch pointer rendering is now always enabled, but unless a controller is being used to move the touchscreen cursor, it will be hidden due to the timeout which is also enabled by default.
2026-03-23 13:07:39 +00:00

42 lines
787 B
C++

// Copyright Citra Emulator Project / Azahar Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#pragma once
#include <string>
#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