changing button channel to enum

This commit is contained in:
Wayne Chen 2018-11-02 20:09:28 -07:00
parent 7f805ebcb4
commit 23141662ff

View file

@ -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);