mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
47 lines
1.7 KiB
C
47 lines
1.7 KiB
C
/* Copyright (C) 2023 Giovanni Cascione <ing.cascione@gmail.com>
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
|
|
#ifndef LIBRETRO_CORE_H
|
|
#define LIBRETRO_CORE_H
|
|
|
|
#include <libretro.h>
|
|
|
|
extern retro_log_printf_t retro_log_cb;
|
|
extern retro_input_state_t retro_input_cb;
|
|
|
|
bool retro_get_input_bitmask_supported(void);
|
|
void reset_performance_tuner(void);
|
|
void retro_osd_notification(const char* msg);
|
|
int retro_get_input_device(void);
|
|
const char * retro_get_core_dir(void);
|
|
const char * retro_get_system_dir(void);
|
|
const char * retro_get_save_dir(void);
|
|
const char * retro_get_playlist_dir(void);
|
|
|
|
bool retro_setting_get_timing_inaccuracies_enabled(void);
|
|
float retro_setting_get_frame_rate(void);
|
|
uint16 retro_setting_get_sample_rate(void);
|
|
int retro_setting_get_analog_deadzone(void);
|
|
bool retro_setting_get_analog_response_is_quadratic(void);
|
|
float retro_setting_get_mouse_speed(void);
|
|
int retro_setting_get_mouse_fine_control_speed_reduction(void);
|
|
bool retro_setting_get_gamepad_cursor_only(void);
|
|
float retro_setting_get_gamepad_cursor_speed(void);
|
|
float retro_setting_get_gamepad_acceleration_time(void);
|
|
|
|
#endif // LIBRETRO_CORE_H
|