From 9b0344c3c2857ebbcc21404c108acb5d47e332de Mon Sep 17 00:00:00 2001 From: hikerstk Date: Thu, 17 Jul 2008 04:12:40 +0000 Subject: [PATCH] Enabled scroll wheel. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2170 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/user_config.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/user_config.cpp b/src/user_config.cpp index 8fa456719..db071d1c4 100644 --- a/src/user_config.cpp +++ b/src/user_config.cpp @@ -158,7 +158,9 @@ void UserConfig::setDefaults() set(GA_CURSOR_DOWN, Input(IT_KEYBOARD, SDLK_DOWN), Input(IT_STICKMOTION, 0, 1, AD_POSITIVE)); - + set(GA_CURSOR_UP, Input(IT_MOUSEBUTTON, 4)); + set(GA_CURSOR_DOWN, Input(IT_MOUSEBUTTON, 5)); + set(GA_CURSOR_LEFT, Input(IT_KEYBOARD, SDLK_LEFT), Input(IT_STICKMOTION, 0, 0, AD_NEGATIVE));