[PR #3006] [MERGED] Fix touchpad handling and change gyro calculation #3142

Closed
opened 2026-02-27 22:02:36 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3006
Author: @WujekFoliarz
Created: 5/29/2025
Status: Merged
Merged: 6/1/2025
Merged by: @georgemoralis

Base: mainHead: main


📝 Commits (10+)

📊 Changes

3 files changed (+237 additions, -73 deletions)

View changed files

📝 src/core/libraries/pad/pad.cpp (+124 -13)
📝 src/input/controller.cpp (+91 -60)
📝 src/input/controller.h (+22 -0)

📄 Description

  • Both touch ids are now being tracked correctly
  • Acceleration values are now more accurate to original libScePad
  • Orientation calculation should be more accurate now

🔄 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/3006 **Author:** [@WujekFoliarz](https://github.com/WujekFoliarz) **Created:** 5/29/2025 **Status:** ✅ Merged **Merged:** 6/1/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (10+) - [`b350a68`](https://github.com/shadps4-emu/shadPS4/commit/b350a6801b7169eac5433c8d398ce9e7fe0f77c3) Change touchpad handling and orientation calculation - [`1a20a68`](https://github.com/shadps4-emu/shadPS4/commit/1a20a68bf09710430e82e334702a4498715c837b) Merge branch 'main' of https://github.com/shadps4-emu/shadPS4 - [`ef1a39a`](https://github.com/shadps4-emu/shadPS4/commit/ef1a39ad3c536f23b2eae9914df00c0a4456dd0d) remove unnecessary includes in pad.cpp - [`f02d26e`](https://github.com/shadps4-emu/shadPS4/commit/f02d26e6ac7378ac926add717b8f2e23c2e8ee0d) remove the cmake command arguments - [`f1ec78a`](https://github.com/shadps4-emu/shadPS4/commit/f1ec78a0638342843b02e5afd3bf6db616563853) remove the weird file - [`b56d666`](https://github.com/shadps4-emu/shadPS4/commit/b56d666bcdee412ee96f41689b6cb77a9cb203d2) try to fix formatting - [`bab1a52`](https://github.com/shadps4-emu/shadPS4/commit/bab1a52ff69df289f7eee70f3929d019027605dd) limit new gyro and touchpad logic to controller 1 - [`5378022`](https://github.com/shadps4-emu/shadPS4/commit/53780222157520026fd01fb6c8d9fabfacfc3815) remove cout - [`aa4f032`](https://github.com/shadps4-emu/shadPS4/commit/aa4f0320068a7b9e72db441b12cfb559960455fc) fix formatting and add the handle check to scePadRead - [`5c6a881`](https://github.com/shadps4-emu/shadPS4/commit/5c6a881c8ee110ecdb31de2de20fe7fca83836bb) swap y and z back ### 📊 Changes **3 files changed** (+237 additions, -73 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/pad/pad.cpp` (+124 -13) 📝 `src/input/controller.cpp` (+91 -60) 📝 `src/input/controller.h` (+22 -0) </details> ### 📄 Description - Both touch ids are now being tracked correctly - Acceleration values are now more accurate to original libScePad - Orientation calculation should be more accurate now --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:02:36 +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#3142
No description provided.