mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-28 23:15:32 -04:00
a6f059827b
* Game ABI / headers refactoring * Delete dusk/imgui.h
13 lines
320 B
C++
13 lines
320 B
C++
#pragma once
|
|
|
|
#include <SDL3/SDL_events.h>
|
|
|
|
namespace dusk::mouse {
|
|
void read();
|
|
void get_aim_deltas(float& out_yaw, float& out_pitch);
|
|
void get_camera_deltas(float& out_yaw, float& out_pitch);
|
|
void handle_event(const SDL_Event& event) noexcept;
|
|
void on_focus_lost();
|
|
void on_focus_gained();
|
|
} // namespace dusk::mouse
|