mirror of
https://github.com/games-on-whales/inputtino.git
synced 2026-10-15 12:52:02 +00:00
[PR #30] [MERGED] feat(build): fix compilation on BSD #37
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/inputtino#37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/games-on-whales/inputtino/pull/30
Author: @ReenigneArcher
Created: 7/8/2025
Status: ✅ Merged
Merged: 7/8/2025
Merged by: @ABeltramo
Base:
stable← Head:fix/types/use-standard-types📝 Commits (2)
6b26593fix(types): replace__u16withuint16_tb8d3f35feat: implemented basic uinput PS joypad and toggle in the Cmake options📊 Changes
9 files changed (+764 additions, -347 deletions)
View changed files
📝
CMakeLists.txt(+21 -6)📝
src/uhid/include/uhid/uhid.hpp(+2 -2)➕
src/uinput/include/inputtino/protected_ps5_types.hpp(+7 -0)➕
src/uinput/joypad_ps.cpp(+202 -0)📝
src/uinput/joypad_utils.hpp(+2 -2)📝
tests/CMakeLists.txt(+5 -0)📝
tests/testCAPI.cpp(+1 -1)📝
tests/testJoypads.cpp(+54 -336)➕
tests/testUHID.cpp(+470 -0)📄 Description
This PR replaces
__u16withstd::uint16_t. The motivation for this PR is I am investigating compiling Sunshine on FreeBSD (https://github.com/LizardByte/Sunshine/pull/4049). FreeBSD does not havelinux/types.h. I found that usinguint16_tdoes compile past that undefined type error; however, I am not 100% if this is the proper fix. I have an alternate here (github.com/ReenigneArcher/inputtino@e5253e7187) if that would be preferred.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.