Standardize input.h/input.cpp formatting

This commit is contained in:
ggdrt 2019-11-17 13:56:24 -08:00
parent ddf68bc9e9
commit d00717f88f
2 changed files with 431 additions and 435 deletions

View File

@ -1,4 +1,3 @@
#include "libretro.h"
#include "mednafen/mednafen-types.h"
#include <math.h>
@ -494,7 +493,6 @@ void input_enable_calibration( bool enable )
void input_set_player_count( unsigned _players )
{
players = _players;
input_set_env( environ_cb );
}
@ -628,7 +626,6 @@ void input_handle_lightgun_touchscreen( INPUT_DATA *p_input, int iplayer, retro_
p_input->u8[ 4 ] |= 0x4;
}
}
}
void input_handle_lightgun( INPUT_DATA *p_input, int iplayer, retro_input_state_t input_state_cb )
@ -694,7 +691,6 @@ void input_handle_lightgun( INPUT_DATA *p_input, int iplayer, retro_input_state_
if ( input_state_cb( iplayer, RETRO_DEVICE_LIGHTGUN, 0, RETRO_DEVICE_ID_LIGHTGUN_AUX_B ) )
p_input->u8[ 4 ] |= 0x4;
}
}
void input_update(bool libretro_supports_bitmasks, retro_input_state_t input_state_cb )