mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-09 12:05:52 -04:00
13 lines
312 B
C++
13 lines
312 B
C++
#pragma once
|
|
|
|
#include <SDL3/SDL_events.h>
|
|
|
|
namespace dusk::mouse {
|
|
void read();
|
|
void getAimDeltas(float& out_yaw, float& out_pitch);
|
|
void getCameraDeltas(float& out_yaw, float& out_pitch);
|
|
void handle_event(const SDL_Event& event) noexcept;
|
|
void onFocusLost();
|
|
void onFocusGained();
|
|
} // namespace dusk::mouse
|