|
|
@@ -1,8 +1,8 @@ |
|
|
|
#include "IZ_input.h" |
|
|
|
|
|
|
|
void IZ_InputHandleSDLEvents(SDL_Event e, IZ_InputState* state) { |
|
|
|
IZ_JoystickHandleEvents(e, &state->joystick_state, &state->action); |
|
|
|
IZ_KeyboardHandleEvents(e, &state->keyboard_state, &state->action); |
|
|
|
void IZ_InputHandleSDLEvents(IZ_InputState* state) { |
|
|
|
IZ_JoystickHandleEvents(state->sdl_event, &state->joystick_state, &state->action); |
|
|
|
IZ_KeyboardHandleEvents(state->sdl_event, &state->keyboard_state, &state->action); |
|
|
|
} |
|
|
|
|
|
|
|
void IZ_InputHandlePortMIDIEvents(PmEvent e, IZ_InputState* state) { |
|
|
|