mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-24 22:01:42 -06:00
Fixed button mapping. Was returning the physical button instead of
the logical button, but XTest wants the logical button. Apparently, the XTest implementation on my mac laptop has it backwards.
This commit is contained in:
parent
6d3c536717
commit
f4d7ea3d7b
1 changed files with 1 additions and 1 deletions
|
|
@ -1740,7 +1740,7 @@ CXWindowsScreen::mapButtonToX(ButtonID id) const
|
|||
}
|
||||
|
||||
// map button
|
||||
return static_cast<unsigned int>(m_buttons[id - 1]);
|
||||
return static_cast<unsigned int>(id);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue