diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/model/IntSetting.kt b/src/android/app/src/main/java/org/citra/citra_emu/features/settings/model/IntSetting.kt
index f0726f665..9b7981648 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/model/IntSetting.kt
+++ b/src/android/app/src/main/java/org/citra/citra_emu/features/settings/model/IntSetting.kt
@@ -19,6 +19,7 @@ enum class IntSetting(
RESOLUTION_FACTOR("resolution_factor", Settings.SECTION_RENDERER, 1),
STEREOSCOPIC_3D_MODE("render_3d", Settings.SECTION_RENDERER, 0),
STEREOSCOPIC_3D_DEPTH("factor_3d", Settings.SECTION_RENDERER, 0),
+ STEPS_PER_HOUR("steps_per_hour", Settings.SECTION_SYSTEM, 0),
CARDBOARD_SCREEN_SIZE("cardboard_screen_size", Settings.SECTION_LAYOUT, 85),
CARDBOARD_X_SHIFT("cardboard_x_shift", Settings.SECTION_LAYOUT, 0),
CARDBOARD_Y_SHIFT("cardboard_y_shift", Settings.SECTION_LAYOUT, 0),
diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFragmentPresenter.kt b/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFragmentPresenter.kt
index 43371565d..5b462b69a 100644
--- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFragmentPresenter.kt
+++ b/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFragmentPresenter.kt
@@ -298,6 +298,18 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
""
)
)
+ add(
+ SliderSetting(
+ IntSetting.STEPS_PER_HOUR,
+ R.string.steps_per_hour,
+ R.string.steps_per_hour_description,
+ 0,
+ 65535,
+ " steps",
+ IntSetting.STEPS_PER_HOUR.key,
+ IntSetting.STEPS_PER_HOUR.defaultValue.toFloat()
+ )
+ )
add(
RunnableSetting(
R.string.console_id,
diff --git a/src/android/app/src/main/jni/default_ini.h b/src/android/app/src/main/jni/default_ini.h
index d2161f9ef..78c76f846 100644
--- a/src/android/app/src/main/jni/default_ini.h
+++ b/src/android/app/src/main/jni/default_ini.h
@@ -307,7 +307,7 @@ init_ticks_type =
# Defaults to 0.
init_ticks_override =
-# Number of steps per hour reported by the pedometer.
+# Number of steps per hour reported by the pedometer. Range from 0 to 65,535.
# Defaults to 0.
steps_per_hour =
diff --git a/src/android/app/src/main/res/values/strings.xml b/src/android/app/src/main/res/values/strings.xml
index 8c6c0a49b..6acc9d463 100644
--- a/src/android/app/src/main/res/values/strings.xml
+++ b/src/android/app/src/main/res/values/strings.xml
@@ -186,6 +186,8 @@
Day
Country
Play Coins
+ Pedometer Steps per Hour
+ Number of steps per hour reported by the pedometer. Range from 0 to 65,535.
Console ID
Regenerate Console ID
This will replace your current virtual 3DS with a new one. Your current virtual 3DS will not be recoverable. This might have unexpected effects in games. This might fail if you use an outdated config savegame. Continue?
diff --git a/src/citra/default_ini.h b/src/citra/default_ini.h
index 75945e040..28eea5762 100644
--- a/src/citra/default_ini.h
+++ b/src/citra/default_ini.h
@@ -319,7 +319,7 @@ init_ticks_type =
# Defaults to 0.
init_ticks_override =
-# Number of steps per hour reported by the pedometer.
+# Number of steps per hour reported by the pedometer. Range from 0 to 65,535.
# Defaults to 0.
steps_per_hour =
diff --git a/src/citra_qt/configuration/configure_system.ui b/src/citra_qt/configuration/configure_system.ui
index ab56071dd..b116797ff 100644
--- a/src/citra_qt/configuration/configure_system.ui
+++ b/src/citra_qt/configuration/configure_system.ui
@@ -381,7 +381,7 @@
-
- Play Coins:
+ Play Coins
@@ -394,8 +394,11 @@
-
+
+ <html><head/><body><p>Number of steps per hour reported by the pedometer. Range from 0 to 65,535.</p></body></html>
+
- Pedometer steps per hour:
+ Pedometer Steps per Hour