src/video/directfb/SDL_DirectFB_events.c
changeset 6950 1ddb72193079
parent 6885 700f1b25f77f
child 7191 75360622e65f
equal deleted inserted replaced
6949:4de584a3a027 6950:1ddb72193079
    38 #include "../../events/scancodes_xfree86.h"
    38 #include "../../events/scancodes_xfree86.h"
    39 
    39 
    40 #include "SDL_DirectFB_events.h"
    40 #include "SDL_DirectFB_events.h"
    41 
    41 
    42 #if USE_MULTI_API
    42 #if USE_MULTI_API
    43 #define SDL_SendMouseMotion_ex(w, id, relative, x, y, p) SDL_SendMouseMotion(id, relative, x, y, p)
    43 #define SDL_SendMouseMotion_ex(w, id, relative, x, y, p) SDL_SendMouseMotion(w, id, relative, x, y, p)
    44 #define SDL_SendMouseButton_ex(w, id, state, button) SDL_SendMouseButton(id, state, button)
    44 #define SDL_SendMouseButton_ex(w, id, state, button) SDL_SendMouseButton(w, id, state, button)
    45 #define SDL_SendKeyboardKey_ex(id, state, scancode) SDL_SendKeyboardKey(id, state, scancode)
    45 #define SDL_SendKeyboardKey_ex(id, state, scancode) SDL_SendKeyboardKey(id, state, scancode)
    46 #define SDL_SendKeyboardText_ex(id, text) SDL_SendKeyboardText(id, text)
    46 #define SDL_SendKeyboardText_ex(id, text) SDL_SendKeyboardText(id, text)
    47 #else
    47 #else
    48 #define SDL_SendMouseMotion_ex(w, id, relative, x, y, p) SDL_SendMouseMotion(w, relative, x, y)
    48 #define SDL_SendMouseMotion_ex(w, id, relative, x, y, p) SDL_SendMouseMotion(w, id, relative, x, y)
    49 #define SDL_SendMouseButton_ex(w, id, state, button) SDL_SendMouseButton(w, state, button)
    49 #define SDL_SendMouseButton_ex(w, id, state, button) SDL_SendMouseButton(w, id, state, button)
    50 #define SDL_SendKeyboardKey_ex(id, state, scancode) SDL_SendKeyboardKey(state, scancode)
    50 #define SDL_SendKeyboardKey_ex(id, state, scancode) SDL_SendKeyboardKey(state, scancode)
    51 #define SDL_SendKeyboardText_ex(id, text) SDL_SendKeyboardText(text)
    51 #define SDL_SendKeyboardText_ex(id, text) SDL_SendKeyboardText(text)
    52 #endif
    52 #endif
    53 
    53 
    54 typedef struct _cb_data cb_data;
    54 typedef struct _cb_data cb_data;