mirror of
https://github.com/lubosz/overte.git
synced 2025-08-24 09:38:36 +02:00
add 'reset sensors' to preferences
This commit is contained in:
parent
929fec731c
commit
56cd4e57a6
1 changed files with 7 additions and 0 deletions
|
@ -300,6 +300,13 @@ void setupPreferences() {
|
|||
preference->setStep(0.001f);
|
||||
preferences->addPreference(preference);
|
||||
}
|
||||
{
|
||||
auto preference = new ButtonPreference(MOVEMENT, "RESET SENSORS", [] {
|
||||
qApp->resetSensors();
|
||||
});
|
||||
|
||||
preferences->addPreference(preference);
|
||||
}
|
||||
|
||||
static const QString AVATAR_CAMERA{ "Mouse Sensitivity" };
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue