mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 12:10:44 +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;
|
||||
QVariantMap ltClick1 {
|
||||
{ "action", standard["LTClick"] },
|
||||
{ "action", controller::StandardButtonChannel::LT_CLICK },
|
||||
{ "button", "Focus" }
|
||||
};
|
||||
QVariantMap ltClick2 {
|
||||
{ "action", standard["LTClick"] },
|
||||
{ "action", controller::StandardButtonChannel::LT_CLICK },
|
||||
{ "button", "Primary" }
|
||||
};
|
||||
|
||||
|
@ -8580,11 +8580,11 @@ void Application::createLoginDialogOverlay() {
|
|||
const unsigned int rightHand = 1;
|
||||
QList<QVariant> rightPointerTriggerProperties;
|
||||
QVariantMap rtClick1 {
|
||||
{ "action", standard["RTClick"] },
|
||||
{ "action", controller::StandardButtonChannel::RT_CLICK },
|
||||
{ "button", "Focus" }
|
||||
};
|
||||
QVariantMap rtClick2 {
|
||||
{ "action", standard["RTClick"] },
|
||||
{ "action", controller::StandardButtonChannel::RT_CLICK },
|
||||
{ "button", "Primary" }
|
||||
};
|
||||
rightPointerTriggerProperties.append(rtClick1);
|
||||
|
|
Loading…
Reference in a new issue