forked from Sepanta/console-emulator
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
65 lines
1.1 KiB
65 lines
1.1 KiB
import QtQuick 2.0
|
|
|
|
import "qrc:/emulator/elements"
|
|
import "qrc:/const"
|
|
|
|
Item {
|
|
width: childrenRect.width
|
|
height: childrenRect.height
|
|
anchors.horizontalCenter: parent.horizontalCenter
|
|
|
|
// width: 820
|
|
// height: 80
|
|
// x: 550
|
|
|
|
y: 50
|
|
|
|
Row {
|
|
spacing: 64
|
|
|
|
JoystickButtonBind {
|
|
id: joystick1
|
|
nameCenter: "js1Center"
|
|
nameLeft: "js1Left"
|
|
nameRight: "js1Right"
|
|
nameTop: "js1Top"
|
|
nameBottom: "js1Bottom"
|
|
}
|
|
|
|
JoystickButtonBind {
|
|
id: joystick2
|
|
nameCenter: "js2Center"
|
|
nameLeft: "js2Left"
|
|
nameRight: "js2Right"
|
|
nameTop: "js2Top"
|
|
nameBottom: "js2Bottom"
|
|
}
|
|
|
|
JoystickButtonBind {
|
|
id: joystick3
|
|
nameCenter: "js3Center"
|
|
nameLeft: "js3Left"
|
|
nameRight: "js3Right"
|
|
nameTop: "js3Top"
|
|
nameBottom: "js3Bottom"
|
|
}
|
|
|
|
JoystickButtonBind {
|
|
id: joystick4
|
|
nameCenter: "js4Center"
|
|
nameLeft: "js4Left"
|
|
nameRight: "js4Right"
|
|
nameTop: "js4Top"
|
|
nameBottom: "js4Bottom"
|
|
}
|
|
|
|
JoystickButtonBind {
|
|
id: joystick5
|
|
nameCenter: "js5Center"
|
|
nameLeft: "js5Left"
|
|
nameRight: "js5Right"
|
|
nameTop: "js5Top"
|
|
nameBottom: "js5Bottom"
|
|
}
|
|
}
|
|
}
|
|
|