feat: show start and select buttons

Display the standard GIP Menu and View bits in the controller input monitor
alongside the existing Guide and face-button indicators.

Co-Authored-By: openai/gpt-5.6-luna: added menu button indicators
This commit is contained in:
portersky
2026-08-29 14:12:02 +02:00
parent 822f3c61ad
commit 418e177b5c
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ if(NOT CMAKE_GENERATOR MATCHES "^(Ninja|Xcode)$")
endif() endif()
cmake_minimum_required(VERSION 3.21) cmake_minimum_required(VERSION 3.21)
project(xone_macos VERSION 0.1.17 LANGUAGES CXX Swift) project(xone_macos VERSION 0.1.18 LANGUAGES CXX Swift)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON) set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
+2
View File
@@ -222,6 +222,8 @@ struct ContentView: View {
HStack(spacing: 4) { HStack(spacing: 4) {
buttonIndicator("Guide", pressed: controller.guideDown) buttonIndicator("Guide", pressed: controller.guideDown)
buttonIndicator("Start", pressed: isPressed(controller, 0x0004))
buttonIndicator("Select", pressed: isPressed(controller, 0x0008))
buttonIndicator("A", pressed: isPressed(controller, 0x0010)) buttonIndicator("A", pressed: isPressed(controller, 0x0010))
buttonIndicator("B", pressed: isPressed(controller, 0x0020)) buttonIndicator("B", pressed: isPressed(controller, 0x0020))
buttonIndicator("X", pressed: isPressed(controller, 0x0040)) buttonIndicator("X", pressed: isPressed(controller, 0x0040))