Improve mouse hiding logic (#2163)

* Improve mouse hiding logic

* Restore ImGui logic
This commit is contained in:
Luke Street
2026-07-02 00:03:18 -06:00
committed by GitHub
parent 09f087656a
commit f32e069c4b
5 changed files with 82 additions and 60 deletions
+4 -4
View File
@@ -4,9 +4,9 @@
namespace dusk::mouse {
void read();
void getAimDeltas(float& out_yaw, float& out_pitch);
void getCameraDeltas(float& out_yaw, float& out_pitch);
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 onFocusLost();
void onFocusGained();
void on_focus_lost();
void on_focus_gained();
} // namespace dusk::mouse