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:
+1
-1
@@ -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)
|
||||||
|
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user