mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
[PR #1410] [MERGED] Controller: Add method for reading analog input bytes #499
Reference in New Issue
Block a user
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/stenzek/duckstation/pull/1410
Author: @ggrtk
Created: 1/7/2021
Status: ✅ Merged
Merged: 1/8/2021
Merged by: @stenzek
Base:
master← Head:get-analog-input-bytes📝 Commits (1)
5ff3299Controller: Add method for reading analog input bytes📊 Changes
8 files changed (+36 additions, -0 deletions)
View changed files
📝
src/core/analog_controller.cpp(+6 -0)📝
src/core/analog_controller.h(+1 -0)📝
src/core/analog_joystick.cpp(+6 -0)📝
src/core/analog_joystick.h(+1 -0)📝
src/core/controller.cpp(+5 -0)📝
src/core/controller.h(+3 -0)📝
src/core/negcon.cpp(+11 -0)📝
src/core/negcon.h(+3 -0)📄 Description
Requested by @PugsyMAME.
This will return the analog stick inputs even when the Analog Controller type is in digital mode. Byte order, starting at least significant byte, is RightX, RightY, LeftX, LeftY.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.