Feat: Add new button for integer scalling, adds tolerancy and rename (#2690)

* Add integer scaling mode

* Fix integer scaling view-space input bounds

* Improve integer scaling tolerance

* Add Fit and Auto scaling toggle to session drawer

* Translate Fit and Integer scaling labels

* Clarify integer scaling cropping hint

* Update integer scaling hint across translations

* Fix integer scaling settings and translations

* Fix controller input for integer scaling

* Complete integer scaling hint translations

* Fix integer scaling hint translations

* Restore XML declaration quote style

* Use double quotes in XML declarations

* Add missing norugeuingz translatisn

* fix: include math.h for roundf integer scaling

* fix: link math library in Vulkan caller tests

* Fix integer scaling translations

* Fix Italian integer scaling string

* Fix Italian scaling hint apostrophe
This commit is contained in:
LunaDL authored and GitHub committed 2026-11-16 11:47:04 -05:00
1 parent 37a816c212
commit a8c1a9ff4d
38 files changed
+136 -48

No files matched your search

@@ -1447,6 +1447,12 @@ class SessionActivity : ComponentActivity(), SurfaceHolder.Callback, com.droidde
onHudReset = { hudConfig = DroidDeckHudConfig.reset(this@SessionActivity); hud.applyConfig() },
onHudOrderReset = { hudConfig = DroidDeckHudConfig.clearOrder(this@SessionActivity); hud.applyConfig() },
onHudExport = { exportHudDiagnostics() },
integerScaling = integerScaling,
onIntegerScaling = { enabled ->
SessionPrefs.setIntegerScaling(this@SessionActivity, enabled)
integerScaling = enabled
applyGameAlignment()
},
onUpscaler = { m ->
val target = effectsEditorTarget ?: screenEffectsTarget
val activeProfileId =