From ca4fe4bc148be0ecae828585c650391b9f7c35c6 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 30 Nov 2008 15:42:57 +0000 Subject: bind numpad / and * to zoom --- src/client/keyboard.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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"); -- cgit v1.2.3