Skip to content

Commit

Permalink
Fix mouse wheel key names
Browse files Browse the repository at this point in the history
  • Loading branch information
glebm committed Jan 13, 2025
1 parent 590682b commit 0882c9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1327,9 +1327,9 @@ KeymapperOptions::KeymapperOptions()
keyIDToKeyName.emplace(SDL_BUTTON_MIDDLE | KeymapperMouseButtonMask, "MMOUSE");
keyIDToKeyName.emplace(SDL_BUTTON_X1 | KeymapperMouseButtonMask, "X1MOUSE");
keyIDToKeyName.emplace(SDL_BUTTON_X2 | KeymapperMouseButtonMask, "X2MOUSE");
keyIDToKeyName.emplace(MouseScrollUpButton, "SCROLlUPMOUSE");
keyIDToKeyName.emplace(MouseScrollUpButton, "SCROLLUPMOUSE");
keyIDToKeyName.emplace(MouseScrollDownButton, "SCROLLDOWNMOUSE");
keyIDToKeyName.emplace(MouseScrollLeftButton, "SCROLlLEFTMOUSE");
keyIDToKeyName.emplace(MouseScrollLeftButton, "SCROLLLEFTMOUSE");
keyIDToKeyName.emplace(MouseScrollRightButton, "SCROLLRIGHTMOUSE");

keyNameToKeyID.reserve(keyIDToKeyName.size());
Expand Down

0 comments on commit 0882c9b

Please sign in to comment.