mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-02 10:36:03 -04:00
f32e069c4b
* Improve mouse hiding logic * Restore ImGui logic
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
|