diff --git a/src/allegro/include/allegro/platform/aintwin.h b/src/allegro/include/allegro/platform/aintwin.h index 1dd800fac..2790a8b97 100644 --- a/src/allegro/include/allegro/platform/aintwin.h +++ b/src/allegro/include/allegro/platform/aintwin.h @@ -109,9 +109,17 @@ AL_FUNC(int, wnd_call_proc, (int (*proc)(void))); AL_FUNC(void, wnd_schedule_proc, (int (*proc)(void))); +/* keyboard routines */ +AL_FUNC(void, _al_win_kbd_handle_key_press, (int scode, int vcode, BOOL repeated)); +AL_FUNC(void, _al_win_kbd_handle_key_release, (int vcode)); + + /* mouse routines */ AL_VAR(HCURSOR, _win_hcursor); AL_FUNC(int, mouse_set_syscursor, (void)); +AL_FUNC(void, _al_win_mouse_handle_button, (HWND hwnd, int button, BOOL down, int x, int y, BOOL abs)); +AL_FUNC(void, _al_win_mouse_handle_wheel, (HWND hwnd, int z, BOOL abs)); +AL_FUNC(void, _al_win_mouse_handle_move, (HWND hwnd, int x, int y)); /* thread routines */ diff --git a/src/allegro/src/win/wwnd.c b/src/allegro/src/win/wwnd.c index 3c1f27208..2f04df10c 100644 --- a/src/allegro/src/win/wwnd.c +++ b/src/allegro/src/win/wwnd.c @@ -90,15 +90,6 @@ typedef struct { #endif /* ifndef CCHILDREN_TITLEBAR */ -/* In wmouse.c */ -void _al_win_mouse_handle_button(HWND hwnd, int button, BOOL down, int x, int y, BOOL abs); -void _al_win_mouse_handle_wheel(HWND hwnd, int z, BOOL abs); -void _al_win_mouse_handle_move(HWND hwnd, int x, int y); - -/* In wkeybd.c */ -void _al_win_kbd_handle_key_press(int scode, int vcode, BOOL repeated); -void _al_win_kbd_handle_key_release(int vcode); - /* init_window_modules: * Initialises the modules that are specified by the WM argument.