mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
Added mouse side button support
This commit is contained in:
parent
24348f6990
commit
2c913a1940
@ -170,6 +170,8 @@ const std::map<std::string, u32> string_to_keyboard_key_map = {
|
|||||||
{"leftbutton", SDL_BUTTON_LEFT},
|
{"leftbutton", SDL_BUTTON_LEFT},
|
||||||
{"rightbutton", SDL_BUTTON_RIGHT},
|
{"rightbutton", SDL_BUTTON_RIGHT},
|
||||||
{"middlebutton", SDL_BUTTON_MIDDLE},
|
{"middlebutton", SDL_BUTTON_MIDDLE},
|
||||||
|
{"sidebuttonback", SDL_BUTTON_X1},
|
||||||
|
{"sidebuttonforward", SDL_BUTTON_X2},
|
||||||
{"mousewheelup", SDL_EVENT_MOUSE_WHEEL_UP},
|
{"mousewheelup", SDL_EVENT_MOUSE_WHEEL_UP},
|
||||||
{"mousewheeldown", SDL_EVENT_MOUSE_WHEEL_DOWN},
|
{"mousewheeldown", SDL_EVENT_MOUSE_WHEEL_DOWN},
|
||||||
{"mousewheelleft", SDL_EVENT_MOUSE_WHEEL_LEFT},
|
{"mousewheelleft", SDL_EVENT_MOUSE_WHEEL_LEFT},
|
||||||
|
Loading…
Reference in New Issue
Block a user