Skip to content

Commit

Permalink
cleaup
Browse files Browse the repository at this point in the history
  • Loading branch information
zhulik committed Jul 1, 2023
1 parent a11ac5d commit c28d6bf
Showing 1 changed file with 1 addition and 35 deletions.
36 changes: 1 addition & 35 deletions resources/qml/DebugOverlay.qml
Original file line number Diff line number Diff line change
Expand Up @@ -26,32 +26,14 @@ Item {
opacity: 0.6
}

Steamworks.SteamInputScope {
id: input
onInputEvent: {
const e = {
type: event.type,
digitalState: event.digitalState,
analogX: event.analogX,
analogY: event.analogY,
name: event.action.actionDefinition.name
}
lastEventLabel.text = JSON.stringify(e, null, 2)
}
}

ColumnLayout {
anchors.fill: parent

TabBar {
id: bar
Layout.fillWidth: parent

currentIndex: 3

TabButton {
text: "Controller state"
}
currentIndex: 2

TabButton {
text: "Console"
Expand All @@ -71,22 +53,6 @@ Item {

currentIndex: bar.currentIndex

ColumnLayout {

Label {
text: `Action set: ${input.actionSet}`
}

Label {
text: `Current layer: ${JSON.stringify(input.actionSetLayer)}`
}

Label {
id: lastEventLabel
font.pixelSize: 14
}
}

Debug.ConsoleTab {

}
Expand Down

0 comments on commit c28d6bf

Please sign in to comment.