Skip to content

Commit

Permalink
changed back
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustring authored Jul 19, 2024
1 parent f8c73b7 commit 48a38eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/keybinds/mouse/windows.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

namespace eclipse::keybinds {

Keys convertMouseKey(int mods) {
switch(mods) {
Keys convertMouseKey(int button) {
switch(button) {
case GLFW_MOUSE_BUTTON_LEFT:
return Keys::MouseLeft;
case GLFW_MOUSE_BUTTON_RIGHT:
Expand Down

0 comments on commit 48a38eb

Please sign in to comment.