mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-06-04 06:05:00 -06:00
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.
42 lines
787 B
C++
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
|