mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 06:45:45 -04:00
GameSettings: Add per-game input bindings from profiles
This just affects the **bindings**. You will still have to set the controller type per game if this is different from the global default.
This commit is contained in:
@ -233,6 +233,9 @@ protected:
|
||||
/// Returns a list of all input profiles. first - name, second - path
|
||||
InputProfileList GetInputProfileList() const;
|
||||
|
||||
/// Returns the path for an input profile.
|
||||
std::string GetInputProfilePath(const char* name) const;
|
||||
|
||||
/// Applies the specified input profile.
|
||||
void ApplyInputProfile(const char* profile_path, SettingsInterface& si);
|
||||
|
||||
@ -330,6 +333,7 @@ private:
|
||||
void RegisterAudioHotkeys();
|
||||
void FindInputProfiles(const std::string& base_path, InputProfileList* out_list) const;
|
||||
void UpdateControllerInputMap(SettingsInterface& si);
|
||||
bool UpdateControllerInputMapFromGameSettings();
|
||||
void UpdateHotkeyInputMap(SettingsInterface& si);
|
||||
void ClearAllControllerBindings(SettingsInterface& si);
|
||||
|
||||
|
Reference in New Issue
Block a user