mirror of
https://github.com/libretro/beetle-saturn-libretro.git
synced 2024-11-23 09:19:49 +00:00
Bind libretro mouse button 4&5 to Saturn mouse start button.
This commit is contained in:
parent
599854ee34
commit
3e3fa4134e
@ -451,7 +451,9 @@ void input_update( retro_input_state_t input_state_cb )
|
||||
p_input->u8[0x8] |= ( 1 << 2 ); // C
|
||||
}
|
||||
|
||||
if ( input_state_cb( iplayer, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_START ) ) {
|
||||
if ( input_state_cb( iplayer, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_START ) ||
|
||||
input_state_cb( iplayer, RETRO_DEVICE_MOUSE, 0, RETRO_DEVICE_ID_MOUSE_BUTTON_4 ) ||
|
||||
input_state_cb( iplayer, RETRO_DEVICE_MOUSE, 0, RETRO_DEVICE_ID_MOUSE_BUTTON_5 ) ) {
|
||||
p_input->u8[0x8] |= ( 1 << 3 ); // Start
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user