You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
345 B
16 lines
345 B
#pragma once |
|
|
|
// Processes and stores mouse and joystick motion. |
|
|
|
#include <SDL.h> |
|
|
|
#include "./controller.h" |
|
|
|
namespace dvl { |
|
|
|
extern struct Controller controller; |
|
|
|
// Updates motion state for mouse and joystick sticks. |
|
bool ProcessControllerMotion(const SDL_Event &event, ControllerButtonEvent ctrl_event); |
|
|
|
} // namespace dvl
|
|
|