mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 09:39:56 +00:00
(RARCH_CONSOLE) Only compile in rarch_console_input.c if HAVE_DEFAULT_RETROPAD_INPUT
is defined
This commit is contained in:
parent
3d47ee9ea4
commit
0067710c65
@ -44,7 +44,9 @@ CONSOLE EXTENSIONS
|
||||
#include "../rarch_console_config.c"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_DEFAULT_RETROPAD_INPUT
|
||||
#include "../rarch_console_input.c"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_ZLIB
|
||||
#include "../rarch_console_rzlib.c"
|
||||
|
@ -49,8 +49,6 @@ char rarch_default_libretro_keybind_name_lut[RARCH_FIRST_META_KEY][256] = {
|
||||
"RetroPad Button R3", /* RETRO_DEVICE_ID_JOYPAD_R3 */
|
||||
};
|
||||
|
||||
#ifdef HAVE_DEFAULT_RETROPAD_INPUT
|
||||
|
||||
extern const struct platform_bind platform_keys[];
|
||||
extern const unsigned int platform_keys_size;
|
||||
|
||||
@ -150,5 +148,3 @@ const char *rarch_input_get_default_keybind_name(unsigned id)
|
||||
{
|
||||
return rarch_default_libretro_keybind_name_lut[id];
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -37,7 +37,6 @@ enum
|
||||
extern uint64_t rarch_default_keybind_lut[RARCH_FIRST_META_KEY];
|
||||
extern char rarch_default_libretro_keybind_name_lut[RARCH_FIRST_META_KEY][256];
|
||||
|
||||
#ifdef HAVE_DEFAULT_RETROPAD_INPUT
|
||||
const char *rarch_input_find_platform_key_label(uint64_t joykey);
|
||||
|
||||
void rarch_input_set_default_keybinds(unsigned player);
|
||||
@ -46,6 +45,5 @@ void rarch_input_set_keybind(unsigned player, unsigned keybind_action, uint64_t
|
||||
|
||||
void rarch_input_set_controls_default (const input_driver_t *input);
|
||||
const char *rarch_input_get_default_keybind_name (unsigned id);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user