[PR #1530] [CLOSED] Device file abstraction & Mouse hid implementation #2155

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1530
Author: @viniciuslrangel
Created: 11/14/2024
Status: Closed

Base: mainHead: mouse-hid


📝 Commits (10+)

📊 Changes

29 files changed (+1230 additions, -186 deletions)

View changed files

📝 CMakeLists.txt (+9 -1)
📝 src/common/io_file.cpp (+12 -10)
📝 src/common/io_file.h (+2 -0)
📝 src/common/logging/filter.cpp (+1 -0)
📝 src/common/logging/types.h (+1 -0)
src/common/va_ctx.h (+111 -0)
src/core/devices/base_device.cpp (+12 -0)
src/core/devices/base_device.h (+68 -0)
src/core/devices/hid_device.cpp (+68 -0)
src/core/devices/hid_device.h (+30 -0)
src/core/devices/hid_device_mouse.cpp (+76 -0)
src/core/devices/ioccom.h (+77 -0)
📝 src/core/file_sys/fs.cpp (+0 -1)
📝 src/core/file_sys/fs.h (+9 -1)
📝 src/core/libraries/error_codes.h (+7 -0)
📝 src/core/libraries/kernel/file_system.cpp (+98 -19)
📝 src/core/libraries/kernel/libkernel.cpp (+25 -1)
📝 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)

...and 9 more files

📄 Description

Also steering wheel emulation (???)


🔄 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/1530 **Author:** [@viniciuslrangel](https://github.com/viniciuslrangel) **Created:** 11/14/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `mouse-hid` --- ### 📝 Commits (10+) - [`4b106ae`](https://github.com/shadps4-emu/shadPS4/commit/4b106ae8e9f1ee40aefe483e817d4d42979e4170) adding mouse module (initial) - [`5742fd8`](https://github.com/shadps4-emu/shadPS4/commit/5742fd80ef72ac22a2d58cc71d3166a79c81f4d3) more work in mouse lib - [`a6fc595`](https://github.com/shadps4-emu/shadPS4/commit/a6fc5951e55f991cedcdbff6b93a3dafba8f6595) fixed a test - [`22f0c5a`](https://github.com/shadps4-emu/shadPS4/commit/22f0c5a8469b97188c310f0cdd3a7694b167fd85) fix filter - [`d1fdbd0`](https://github.com/shadps4-emu/shadPS4/commit/d1fdbd024a512fa090e3114279e201afe4613af3) More Lib mouse (#1414) - [`c70a496`](https://github.com/shadps4-emu/shadPS4/commit/c70a4965c21005ce0e0c08ac56a8b0d2f6f008dd) libMouse: adds mutexes - [`f884b6d`](https://github.com/shadps4-emu/shadPS4/commit/f884b6d2083815d227839c566dab17020b9b3644) IOFile: removes seek limit checks when file is writable - [`b76c98e`](https://github.com/shadps4-emu/shadPS4/commit/b76c98e2175942648fe208bef3171de81c05221d) add virtual devices scaffold - [`31b3b19`](https://github.com/shadps4-emu/shadPS4/commit/31b3b1976bcebe17204447d94ad4cfc96c527f92) devices: add mouse abstraction - [`e40ef8e`](https://github.com/shadps4-emu/shadPS4/commit/e40ef8e100ed7cbd397d84195a76882e2e953590) remove old hle mouse ### 📊 Changes **29 files changed** (+1230 additions, -186 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+9 -1) 📝 `src/common/io_file.cpp` (+12 -10) 📝 `src/common/io_file.h` (+2 -0) 📝 `src/common/logging/filter.cpp` (+1 -0) 📝 `src/common/logging/types.h` (+1 -0) ➕ `src/common/va_ctx.h` (+111 -0) ➕ `src/core/devices/base_device.cpp` (+12 -0) ➕ `src/core/devices/base_device.h` (+68 -0) ➕ `src/core/devices/hid_device.cpp` (+68 -0) ➕ `src/core/devices/hid_device.h` (+30 -0) ➕ `src/core/devices/hid_device_mouse.cpp` (+76 -0) ➕ `src/core/devices/ioccom.h` (+77 -0) 📝 `src/core/file_sys/fs.cpp` (+0 -1) 📝 `src/core/file_sys/fs.h` (+9 -1) 📝 `src/core/libraries/error_codes.h` (+7 -0) 📝 `src/core/libraries/kernel/file_system.cpp` (+98 -19) 📝 `src/core/libraries/kernel/libkernel.cpp` (+25 -1) 📝 `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) _...and 9 more files_ </details> ### 📄 Description Also steering wheel emulation (~???~) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:15:24 +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#2155
No description provided.