Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-11-30 15:42:57 +0000
committerStijn Buys <ingar@osirion.org>2008-11-30 15:42:57 +0000
commitca4fe4bc148be0ecae828585c650391b9f7c35c6 (patch)
treefc24423caf8c72df0ff7ed6d527f1dbbc57a7b87 /src
parente9f09d2624e62343d94fc199ddd5a544b52ce1ba (diff)
bind numpad / and * to zoom
Diffstat (limited to 'src')
-rw-r--r--src/client/keyboard.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/keyboard.cc b/src/client/keyboard.cc
index 232e0bb..ad96856 100644
--- a/src/client/keyboard.cc
+++ b/src/client/keyboard.cc
@@ -158,8 +158,8 @@ Keyboard::Keyboard()
add_key("kp9", SDLK_KP9, 0, "+rollright");
add_key("kpperiod", SDLK_KP_PERIOD, '.');
- add_key("kpdiv", SDLK_KP_DIVIDE, '/');
- add_key("kpmul", SDLK_KP_MULTIPLY, '*');
+ add_key("kpdiv", SDLK_KP_DIVIDE, '/', "+zoomin");
+ add_key("kpmul", SDLK_KP_MULTIPLY, '*', "+zoomout");
add_key("kpmin", SDLK_KP_MINUS, '-', "+thrustdown");
add_key("kpplus", SDLK_KP_PLUS, '+', "+thrustup");
add_key("kpenter", SDLK_KP_ENTER, '\n', "ui_chat");