[PR #19] [MERGED] Implementing virtual DualSense over Bluetooth #27

Closed
opened 2026-10-15 12:51:25 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/inputtino/pull/19
Author: @ABeltramo
Created: 1/24/2025
Status: ✅ Merged
Merged: 1/29/2025
Merged by: @ABeltramo

Base: stable ← Head: dev-ds-bt


📝 Commits (4)

  • 2579487 fix: mismatching MAC when leading zeros
  • 799590e feat: implemented PS5 joypad over BT
  • f2ef242 feat: embedded CRC32, dropped zlib dependency
  • 921f55e fix: LED test

📊 Changes

7 files changed (+392 additions, -78 deletions)

View changed files

📝 include/inputtino/input.hpp (+2 -0)
➕ src/uhid/include/crc32.hpp (+38 -0)
📝 src/uhid/include/uhid/protected_types.hpp (+4 -4)
📝 src/uhid/include/uhid/ps5.hpp (+188 -8)
📝 src/uhid/joypad_ps5.cpp (+96 -16)
📝 tests/CMakeLists.txt (+2 -0)
📝 tests/testJoypads.cpp (+62 -50)

📄 Description

WIP,

fixes: https://github.com/games-on-whales/inputtino/issues/16
fixes: https://github.com/LizardByte/Sunshine/issues/3468

TODO:

  • Remove zlib dependency, just need a good embeddable CRC32 implementation
  • Fix LED
  • Double check in games
  • Write the rationale behind both implementations

[EDIT]
blog posts are up:


🔄 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/games-on-whales/inputtino/pull/19 **Author:** [@ABeltramo](https://github.com/ABeltramo) **Created:** 1/24/2025 **Status:** ✅ Merged **Merged:** 1/29/2025 **Merged by:** [@ABeltramo](https://github.com/ABeltramo) **Base:** `stable` ← **Head:** `dev-ds-bt` --- ### 📝 Commits (4) - [`2579487`](https://github.com/games-on-whales/inputtino/commit/2579487a90daf2d8c06aef5fb7fb8855376fc49c) fix: mismatching MAC when leading zeros - [`799590e`](https://github.com/games-on-whales/inputtino/commit/799590e1415b50ab23737b894b8f8f8f17432f90) feat: implemented PS5 joypad over BT - [`f2ef242`](https://github.com/games-on-whales/inputtino/commit/f2ef2426c1f66971e4fbe6fa8bf11c25ebecaeaa) feat: embedded CRC32, dropped zlib dependency - [`921f55e`](https://github.com/games-on-whales/inputtino/commit/921f55e430e6056ba9d9c8c989026410cab383a6) fix: LED test ### 📊 Changes **7 files changed** (+392 additions, -78 deletions) <details> <summary>View changed files</summary> 📝 `include/inputtino/input.hpp` (+2 -0) ➕ `src/uhid/include/crc32.hpp` (+38 -0) 📝 `src/uhid/include/uhid/protected_types.hpp` (+4 -4) 📝 `src/uhid/include/uhid/ps5.hpp` (+188 -8) 📝 `src/uhid/joypad_ps5.cpp` (+96 -16) 📝 `tests/CMakeLists.txt` (+2 -0) 📝 `tests/testJoypads.cpp` (+62 -50) </details> ### 📄 Description WIP, fixes: https://github.com/games-on-whales/inputtino/issues/16 fixes: https://github.com/LizardByte/Sunshine/issues/3468 TODO: - [x] Remove `zlib` dependency, just need a good embeddable CRC32 implementation - [x] Fix LED - [x] Double check in games - [x] Write the rationale behind both implementations [EDIT] blog posts are up: - [When uinput Isn’t Enough: Virtualizing a DualSense controller](https://abeltra.me/blog/inputtino-uhid-1/) - [Creating a Virtual DualSense Controller via UHID](https://abeltra.me/blog/inputtino-uhid-2/) - [Beyond USB: Improving Virtual Controller Support in Linux Games](https://abeltra.me/blog/inputtino-uhid-3/) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 12:51:25 +00: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
games-on-whales/inputtino#27
No description provided.