Skip to content

Commit

Permalink
X1Mouse event
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrohgmacedo committed Jul 12, 2024
1 parent c487931 commit 710bab5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/gui/input.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ static QVariant GetButtonName(
case Qt::NoButton:
return QLatin1String{""};

case Qt::XButton1:
return QStringLiteral("X1");

case Qt::XButton2:
return QStringLiteral("X2");

default:
return {}; // Invalid
}
Expand Down

0 comments on commit 710bab5

Please sign in to comment.