mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #210] [CLOSED] - Initial gamepad support (needs more work..) #1395
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#1395
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/shadps4-emu/shadPS4/pull/210
Author: @raziel1000
Created: 6/24/2024
Status: ❌ Closed
Base:
main← Head:gamepad_0📝 Commits (4)
808f228- Initial gamepad support using SDL3 (tested quickly with an xbox one controller and only supports one connected pad for now), vibration should work too241c8e0- vibration only when we are actually using a gamepad, will make it better later :p3b36fdcswitched gamepad buttons and axis to event gbutton/gaxis instead and moved it to WindowSDL::waitEvent() (just testing for now)69223f1---📊 Changes
9 files changed (+166 additions, -8 deletions)
View changed files
📝
src/common/config.cpp(+12 -0)📝
src/common/config.h(+2 -0)📝
src/core/libraries/pad/pad.cpp(+14 -5)📝
src/input/controller.cpp(+10 -0)📝
src/input/controller.h(+6 -0)📝
src/qt_gui/main_window.cpp(+12 -1)📝
src/qt_gui/main_window_ui.h(+7 -0)📝
src/sdl_window.cpp(+101 -2)📝
src/sdl_window.h(+2 -0)📄 Description
controller = 0 for keyboard
controller = 1 for gamepad
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.