mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Auto iterate through configuration inputs
Allows user to map all inputs seamlessly without having to click on each button. Also increased button timeout to 5 seconds from 1.5 due to pita. Motion controls are not included since they will be special cases.
This commit is contained in:
parent
f9650c52f8
commit
ffa6572116
2 changed files with 32 additions and 5 deletions
|
@ -5,7 +5,7 @@
|
|||
#pragma once
|
||||
|
||||
#define SLIDER_TICK_COUNT 100
|
||||
#define DETECT_WAIT_TIME 1500
|
||||
#define DETECT_WAIT_TIME 5000
|
||||
#define PREVIEW_UPDATE_TIME 25
|
||||
|
||||
// might have to change this setup for wiimote
|
||||
|
@ -203,6 +203,7 @@ public:
|
|||
wxComboBox* device_cbox;
|
||||
|
||||
std::vector<ControlGroupBox*> control_groups;
|
||||
std::vector<ControlButton*> control_buttons;
|
||||
|
||||
protected:
|
||||
|
||||
|
@ -213,6 +214,7 @@ private:
|
|||
ControlDialog* m_control_dialog;
|
||||
InputConfigDialog* const m_config_dialog;
|
||||
InputConfig& m_config;
|
||||
bool DetectButton(ControlButton* button);
|
||||
};
|
||||
|
||||
class InputConfigDialog : public wxDialog
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue