diff options
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/keyboard.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/keyboard.cc b/src/client/keyboard.cc index 9e066dc..83d31e8 100644 --- a/src/client/keyboard.cc +++ b/src/client/keyboard.cc @@ -176,12 +176,12 @@ Keyboard::Keyboard() add_key("euro", SDLK_EURO); // mouse key aliases - add_key("lmb", 512 + SDL_BUTTON_LEFT, 0, "+control"); - add_key("rmb", 512 + SDL_BUTTON_RIGHT); - add_key("mmb", 512 + SDL_BUTTON_MIDDLE); + add_key("mouse1", 512 + SDL_BUTTON_LEFT, 0, "+control"); + add_key("mouse2", 512 + SDL_BUTTON_RIGHT); + add_key("mouse3", 512 + SDL_BUTTON_MIDDLE); - add_key("mwup", 512 + SDL_BUTTON_WHEELUP, 0, "+thrust"); - add_key("mwdown", 512 + SDL_BUTTON_WHEELDOWN, 0, "-thrust"); + add_key("mouse4", 512 + SDL_BUTTON_WHEELUP, 0, "+thrust"); + add_key("mouse5", 512 + SDL_BUTTON_WHEELDOWN, 0, "-thrust"); } Keyboard::~Keyboard() |