mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-13 00:17:55 -05:00
configure_input: Modify controller connection delay
Increases the controller connection delay to 60ms and refactors it to attempt to disconnect all controllers prior to connecting all controllers in HID.
This commit is contained in:
@ -54,6 +54,18 @@ public:
|
||||
/// Save all button configurations to settings file.
|
||||
void ApplyConfiguration();
|
||||
|
||||
/**
|
||||
* Attempts to connect the currently selected controller in the HID backend.
|
||||
* This function will not do anything if it is not connected in the frontend.
|
||||
*/
|
||||
void TryConnectSelectedController();
|
||||
|
||||
/**
|
||||
* Attempts to disconnect the currently selected controller in the HID backend.
|
||||
* This function will not do anything if the configuration has not changed.
|
||||
*/
|
||||
void TryDisconnectSelectedController();
|
||||
|
||||
/// Set the connection state checkbox (used to sync state).
|
||||
void ConnectPlayer(bool connected);
|
||||
|
||||
|
Reference in New Issue
Block a user