text: #include "drally.h"
  
  extern void_cb ___2432c8h;
  
  void dRally_Keyboard_make(SDL_Scancode);
  void dRally_Keyboard_break(SDL_Scancode);
  
  void IO_Loop(void){
  
      SDL_Event e;
  
      while(SDL_PollEvent(&e)){
  
          if(e.type == SDL_KEYDOWN){
  
              dRally_Keyboard_make(e.key.keysym.scancode);
          }
          else if(e.type == SDL_KEYUP){
             
              dRally_Keyboard_break(e.key.keysym.scancode);
          }
          else if(e.type == SDL_QUIT){
              printf("[dRally] TODO: exit not handled properly\n");
              ___2432c8h();
          }
      }
  }
  