mirror of
https://github.com/OpenMW/openmw.git
synced 2026-01-24 10:30:53 +00:00
Merge branch 'triggered' into 'master'
Make sure gamepad triggers can be bound (#8721) Closes #8721 See merge request OpenMW/openmw!4931
This commit is contained in:
commit
52d2f2a6ed
1 changed files with 6 additions and 0 deletions
|
|
@ -215,6 +215,12 @@ namespace MWInput
|
|||
|
||||
void ControllerManager::axisMoved(int deviceID, const SDL_ControllerAxisEvent& arg)
|
||||
{
|
||||
if (mBindingsManager->isDetectingBindingState())
|
||||
{
|
||||
mBindingsManager->controllerAxisMoved(deviceID, arg);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!Settings::input().mEnableController || MWBase::Environment::get().getInputManager()->controlsDisabled())
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue