diff options
author | Stijn Buys <ingar@osirion.org> | 2008-07-16 11:20:04 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-07-16 11:20:04 +0000 |
commit | fa9d20ca334b1d3ef4bf07bc7f123ad0af8e42f6 (patch) | |
tree | f39e4edcb738f9ab4a07cd07e53e21735c226853 | |
parent | 6937dfa2028f9db3295594a19da27b32f996241d (diff) |
renamed mouse key names
-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() |