mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 08:37:41 +00:00
reduce scope of input_overlay_add_inputs to file.
This commit is contained in:
parent
4c31d41920
commit
0df4186191
@ -68,6 +68,8 @@ struct input_overlay
|
||||
|
||||
input_overlay_t *overlay_ptr = NULL;
|
||||
|
||||
static bool input_overlay_add_inputs(input_overlay_t *ol,
|
||||
unsigned port, unsigned analog_dpad_mode);
|
||||
/**
|
||||
* input_overlay_scale:
|
||||
* @ol : Overlay handle.
|
||||
@ -747,8 +749,15 @@ void input_state_overlay(input_overlay_t *ol, int16_t *ret,
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
bool input_overlay_add_inputs(input_overlay_t *ol,
|
||||
/**
|
||||
* input_overlay_add_inputs:
|
||||
* @ol : pointer to overlay
|
||||
* @port : the user to show the inputs of
|
||||
*
|
||||
* Adds inputs from current_input to the overlay, so it's displayed
|
||||
* returns true if an input that is pressed will change the overlay
|
||||
*/
|
||||
static bool input_overlay_add_inputs(input_overlay_t *ol,
|
||||
unsigned port, unsigned analog_dpad_mode)
|
||||
{
|
||||
int i;
|
||||
|
@ -244,14 +244,6 @@ void input_poll_overlay(input_overlay_t *ol, float opacity, unsigned analog_dpad
|
||||
void input_state_overlay(input_overlay_t *ol,
|
||||
int16_t *ret, unsigned port, unsigned device, unsigned idx,
|
||||
unsigned id);
|
||||
/**
|
||||
* input_overlay_add_inputs:
|
||||
* @ol : pointer to overlay
|
||||
*
|
||||
* Adds inputs from current_input to the overlay, so it's displayed
|
||||
* returns true if an input that is pressed will change the overlay
|
||||
*/
|
||||
bool input_overlay_add_inputs(input_overlay_t *ol, unsigned port, unsigned analog_dpad_mode);
|
||||
|
||||
bool input_overlay_key_pressed(input_overlay_t *ol, int key);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user