Home
last modified time | relevance | path

Searched refs:_dMasterGain (Results 1 – 1 of 1) sorted by relevance

/external/libgdx/extensions/gdx-controllers/gdx-controllers-desktop/jni/ois-v1-4svn/demos/
DFFConsoleDemo.cpp285 float _dMasterGain; member in JoystickManager
293 : _pInputMgr(pInputMgr), _nCurrJoyInd(-1), _dMasterGain(0.5), _bAutoCenter(true) in JoystickManager()
366 _dMasterGain = 0.5; // Half the maximum. in selectJoystick()
376 _dMasterGain = 0.5; // Half the maximum. in selectJoystick()
391 _dMasterGain += dDeltaPercent / 100; in changeMasterGain()
392 if (_dMasterGain > 1.0) in changeMasterGain()
393 _dMasterGain = 1.0; in changeMasterGain()
394 else if (_dMasterGain < 0.0) in changeMasterGain()
395 _dMasterGain = 0.0; in changeMasterGain()
397 _vecFFDev[_nCurrJoyInd]->setMasterGain(_dMasterGain); in changeMasterGain()
[all …]