src/video/riscos/SDL_riscosevents.c
changeset 1361 19418e4422cb
parent 1336 3692456e7b0f
child 1379 c0a74f199ecf
equal deleted inserted replaced
1360:70a9cfb4cf1b 1361:19418e4422cb
    27      Implements keyboard setup, event pump and keyboard and mouse polling
    27      Implements keyboard setup, event pump and keyboard and mouse polling
    28 */
    28 */
    29 
    29 
    30 
    30 
    31 #include "SDL.h"
    31 #include "SDL.h"
    32 #include "SDL_sysevents.h"
    32 #include "../../timer/SDL_timer_c.h"
    33 #include "SDL_events_c.h"
    33 #include "../../events/SDL_sysevents.h"
       
    34 #include "../../events/SDL_events_c.h"
       
    35 #include "../SDL_cursor_c.h"
    34 #include "SDL_riscosvideo.h"
    36 #include "SDL_riscosvideo.h"
    35 #include "SDL_riscosevents_c.h"
    37 #include "SDL_riscosevents_c.h"
    36 #include "SDL_timer_c.h"
       
    37 #include "SDL_cursor_c.h"
       
    38 
    38 
    39 #include "memory.h"
    39 #include "memory.h"
    40 #include "stdlib.h"
    40 #include "stdlib.h"
    41 #include "ctype.h"
    41 #include "ctype.h"
    42 
    42 
    74 void RISCOS_PollMouse(_THIS);
    74 void RISCOS_PollMouse(_THIS);
    75 void RISCOS_PollKeyboard();
    75 void RISCOS_PollKeyboard();
    76 
    76 
    77 void RISCOS_PollMouseHelper(_THIS, int fullscreen);
    77 void RISCOS_PollMouseHelper(_THIS, int fullscreen);
    78 
    78 
    79 #ifdef DISABLE_THREADS
    79 #if SDL_THREADS_DISABLED
    80 extern void DRenderer_FillBuffers();
    80 extern void DRenderer_FillBuffers();
    81 
    81 
    82 /* Timer running function */
    82 /* Timer running function */
    83 extern void RISCOS_CheckTimer();
    83 extern void RISCOS_CheckTimer();
    84 
    84 
    87 void FULLSCREEN_PumpEvents(_THIS)
    87 void FULLSCREEN_PumpEvents(_THIS)
    88 {
    88 {
    89     /* Current implementation requires keyboard and mouse polling */
    89     /* Current implementation requires keyboard and mouse polling */
    90 	RISCOS_PollKeyboard();
    90 	RISCOS_PollKeyboard();
    91 	RISCOS_PollMouse(this);
    91 	RISCOS_PollMouse(this);
    92 #ifdef DISABLE_THREADS
    92 #if SDL_THREADS_DISABLED
    93 //	DRenderer_FillBuffers();
    93 //	DRenderer_FillBuffers();
    94 	if (SDL_timer_running) RISCOS_CheckTimer();
    94 	if (SDL_timer_running) RISCOS_CheckTimer();
    95 #endif
    95 #endif
    96 }
    96 }
    97 
    97