00001 /* 00002 * Copyright (C) 2004 Ivo Danihelka (ivo@danihelka.net) 00003 * 00004 * This program is free software; you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation; either version 2 of the License, or 00007 * (at your option) any later version. 00008 */ 00009 #include "KeyControl.h" 00010 00011 00012 //----------------------------------------------------------------- 00013 /** 00014 * Default control are arrows. 00015 */ 00016 KeyControl::KeyControl() 00017 { 00018 m_up = SDLK_UP; 00019 m_down = SDLK_DOWN; 00020 m_left = SDLK_LEFT; 00021 m_right = SDLK_RIGHT; 00022 } 00023