[PR #633] [CLOSED] Mouse lib implementation #1680

Closed
opened 2026-02-27 21:13:32 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/633
Author: @georgemoralis
Created: 8/28/2024
Status: Closed

Base: mainHead: libMouse


📝 Commits (5)

📊 Changes

18 files changed (+868 additions, -138 deletions)

View changed files

📝 CMakeLists.txt (+5 -1)
📝 src/common/logging/filter.cpp (+1 -0)
📝 src/common/logging/types.h (+1 -0)
📝 src/core/libraries/error_codes.h (+7 -0)
📝 src/core/libraries/libs.cpp (+2 -0)
src/core/libraries/mouse/mouse.cpp (+207 -0)
src/core/libraries/mouse/mouse.h (+53 -0)
📝 src/core/libraries/pad/pad.cpp (+332 -114)
📝 src/core/libraries/pad/pad.h (+6 -0)
📝 src/core/libraries/system/msgdialog_ui.cpp (+26 -11)
📝 src/core/libraries/system/msgdialog_ui.h (+19 -3)
📝 src/imgui/renderer/imgui_core.cpp (+1 -1)
📝 src/imgui/renderer/imgui_impl_sdl3.cpp (+14 -6)
📝 src/imgui/renderer/imgui_impl_sdl3.h (+5 -1)
src/input/mouse.cpp (+81 -0)
src/input/mouse.h (+45 -0)
📝 src/sdl_window.cpp (+56 -0)
📝 src/sdl_window.h (+7 -1)

📄 Description

Some games seems to use mouse among with pad (keyboard,gamepad). So tried to implemented this , but i miss something it seems.

So far added only mouse buttons , but doesn't seem to response .

If someone has any idea (turok is one game that uses it , but i remember see it in a lot third person shooters ,or point and click games)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/633 **Author:** [@georgemoralis](https://github.com/georgemoralis) **Created:** 8/28/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `libMouse` --- ### 📝 Commits (5) - [`b1f764d`](https://github.com/shadps4-emu/shadPS4/commit/b1f764dae5fa63b9d2365bb49705874ec5527be6) adding mouse module (initial) - [`bdf31fa`](https://github.com/shadps4-emu/shadPS4/commit/bdf31fac3c5133f9dd1a52d984795033c60abcad) more work in mouse lib - [`2ee4e87`](https://github.com/shadps4-emu/shadPS4/commit/2ee4e87cf77753cdf836c11aca10d87e7b8a4cf3) fixed a test - [`92b9903`](https://github.com/shadps4-emu/shadPS4/commit/92b990346766a764f6b8953aac1e68e277e4f64b) fix filter - [`8dc956a`](https://github.com/shadps4-emu/shadPS4/commit/8dc956a476910c6661b7ffff36679f35cf899242) More Lib mouse (#1414) ### 📊 Changes **18 files changed** (+868 additions, -138 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+5 -1) 📝 `src/common/logging/filter.cpp` (+1 -0) 📝 `src/common/logging/types.h` (+1 -0) 📝 `src/core/libraries/error_codes.h` (+7 -0) 📝 `src/core/libraries/libs.cpp` (+2 -0) ➕ `src/core/libraries/mouse/mouse.cpp` (+207 -0) ➕ `src/core/libraries/mouse/mouse.h` (+53 -0) 📝 `src/core/libraries/pad/pad.cpp` (+332 -114) 📝 `src/core/libraries/pad/pad.h` (+6 -0) 📝 `src/core/libraries/system/msgdialog_ui.cpp` (+26 -11) 📝 `src/core/libraries/system/msgdialog_ui.h` (+19 -3) 📝 `src/imgui/renderer/imgui_core.cpp` (+1 -1) 📝 `src/imgui/renderer/imgui_impl_sdl3.cpp` (+14 -6) 📝 `src/imgui/renderer/imgui_impl_sdl3.h` (+5 -1) ➕ `src/input/mouse.cpp` (+81 -0) ➕ `src/input/mouse.h` (+45 -0) 📝 `src/sdl_window.cpp` (+56 -0) 📝 `src/sdl_window.h` (+7 -1) </details> ### 📄 Description Some games seems to use mouse among with pad (keyboard,gamepad). So tried to implemented this , but i miss something it seems. So far added only mouse buttons , but doesn't seem to response . If someone has any idea (turok is one game that uses it , but i remember see it in a lot third person shooters ,or point and click games) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:13:32 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#1680
No description provided.