Commit 67b57df3 authored by Richard Gustavsen's avatar Richard Gustavsen

WasdController: be able to specify drag button

parent f51b00bc
Pipeline #5088 passed with stage
in 4 minutes and 44 seconds
......@@ -52,11 +52,14 @@ Item {
property bool mouseEnabled: true
property bool keysEnabled: true
property alias acceptedButtons: dragHandler.acceptedButtons
implicitWidth: parent.width
implicitHeight: parent.height
focus: keysEnabled
DragHandler {
id: dragHandler
target: null
enabled: mouseEnabled
onCentroidChanged: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment