mirror of
https://github.com/lubosz/overte.git
synced 2025-04-24 09:23:17 +02:00
Make Sixense emulate mouse only if controllers aren't at the base
This commit is contained in:
parent
2d4aee7343
commit
3de7222007
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ void SixenseManager::update(float deltaTime) {
|
|||
palm->setJoystick(data->joystick_x, data->joystick_y);
|
||||
|
||||
// Emulate the mouse so we can use scripts
|
||||
if (Menu::getInstance()->isOptionChecked(MenuOption::SixenseMouseInput)) {
|
||||
if (Menu::getInstance()->isOptionChecked(MenuOption::SixenseMouseInput) && !_controllersAtBase) {
|
||||
emulateMouse(palm, numActiveControllers - 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue