#include "supertux/menu/keyboard_menu.hpp"
#include "util/gettext.hpp"
#include "util/writer.hpp"
-//#include <SDL_keycode.h> // add by giby
JoystickKeyboardController::JoystickKeyboardController() :
controller(),
#include "control/controller.hpp"
#include <SDL.h>
-#include <SDL_keycode.h> // add by giby
#include <map>
#include <string>
#include <vector>
class JoystickMenu;
class Controller;
- //SDL_JoystickID myID = SDL_JoystickInstanceID(myOpenedStick);
-
-class JoystickKeyboardController // http://wiki.libsdl.org/moin.fcg/SDL_Joystick for info
+class JoystickKeyboardController
{
private:
friend class KeyboardMenu;
// just to be sure
atexit(SDL_Quit);
- // SDL_EnableUNICODE(1); //old code, mofif by giby
- // SDL_JoystickID myID = SDL_JoystickInstanceID(myOpenedStick);
-
-
// wait 100ms and clear SDL event queue because sometimes we have random
// joystick events in the queue on startup...
SDL_Delay(100);