mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 00:56:45 +02:00
changing button channel to enum
This commit is contained in:
parent
7f805ebcb4
commit
23141662ff
1 changed files with 7 additions and 7 deletions
|
@ -8554,11 +8554,11 @@ void Application::createLoginDialogOverlay() {
|
||||||
|
|
||||||
QList<QVariant> leftPointerTriggerProperties;
|
QList<QVariant> leftPointerTriggerProperties;
|
||||||
QVariantMap ltClick1 {
|
QVariantMap ltClick1 {
|
||||||
{ "action", standard["LTClick"] },
|
{ "action", controller::StandardButtonChannel::LT_CLICK },
|
||||||
{ "button", "Focus" }
|
{ "button", "Focus" }
|
||||||
};
|
};
|
||||||
QVariantMap ltClick2 {
|
QVariantMap ltClick2 {
|
||||||
{ "action", standard["LTClick"] },
|
{ "action", controller::StandardButtonChannel::LT_CLICK },
|
||||||
{ "button", "Primary" }
|
{ "button", "Primary" }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -8580,11 +8580,11 @@ void Application::createLoginDialogOverlay() {
|
||||||
const unsigned int rightHand = 1;
|
const unsigned int rightHand = 1;
|
||||||
QList<QVariant> rightPointerTriggerProperties;
|
QList<QVariant> rightPointerTriggerProperties;
|
||||||
QVariantMap rtClick1 {
|
QVariantMap rtClick1 {
|
||||||
{ "action", standard["RTClick"] },
|
{ "action", controller::StandardButtonChannel::RT_CLICK },
|
||||||
{ "button", "Focus" }
|
{ "button", "Focus" }
|
||||||
};
|
};
|
||||||
QVariantMap rtClick2 {
|
QVariantMap rtClick2 {
|
||||||
{ "action", standard["RTClick"] },
|
{ "action", controller::StandardButtonChannel::RT_CLICK },
|
||||||
{ "button", "Primary" }
|
{ "button", "Primary" }
|
||||||
};
|
};
|
||||||
rightPointerTriggerProperties.append(rtClick1);
|
rightPointerTriggerProperties.append(rtClick1);
|
||||||
|
|
Loading…
Reference in a new issue