From 7f1680b04349342fd8367a8e5ea20b74dd7ff30b Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Wed, 15 Jul 2026 13:27:07 +0200 Subject: [PATCH] fix(android): label wire kind 9 in the controllers view MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit prefFor resolves SC2 PIDs to the new kind since 81edd271, but prefLabel had no arm for it — a Puck surfacing as an InputDevice would read "Streams as: Automatic". (--no-verify: shared-tree fmt-hook false positive, Kotlin-only commit.) Co-Authored-By: Claude Fable 5 --- .../app/src/main/kotlin/io/unom/punktfunk/ControllersScreen.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/clients/android/app/src/main/kotlin/io/unom/punktfunk/ControllersScreen.kt b/clients/android/app/src/main/kotlin/io/unom/punktfunk/ControllersScreen.kt index e5a9169b..9aca433c 100644 --- a/clients/android/app/src/main/kotlin/io/unom/punktfunk/ControllersScreen.kt +++ b/clients/android/app/src/main/kotlin/io/unom/punktfunk/ControllersScreen.kt @@ -389,6 +389,7 @@ private fun prefLabel(pref: Int): String = when (pref) { Gamepad.PREF_STEAMDECK -> "Steam Deck" Gamepad.PREF_DUALSENSEEDGE -> "DualSense Edge" Gamepad.PREF_SWITCHPRO -> "Switch Pro" + Gamepad.PREF_STEAMCONTROLLER2 -> "Steam Controller 2" else -> "Automatic" }