Conversation
proof of concept gyro camera
… alpine settings config
adds Analog Movement function for the Left Joystick
the entire analog system has been revised to be more direct about it Co-Authored-By: nickalreadyinuse <75915391+nickalreadyinuse@users.noreply.github.com>
…ion setup there's now a Smoothing and Tightening slider to the CMD setup, for now: it'll be a Console Command. Additionally: Gyro-Autocalibration has been changes so that Sensor Fusion + Stillness setup doesn't to post-calibration drift.
everything should be a proper gamepad input layer, i think?
Co-Authored-By: nickalreadyinuse <75915391+nickalreadyinuse@users.noreply.github.com>
also prepares for GooberRF#296
AL2009man
force-pushed
the
POC-GyroGamepad
branch
from
March 15, 2026 11:12
3ba1e79 to
5bd11b7
Compare
you'll need to place it on Alpine Faction's install file inorder for the database to load
no need to manually download and swap the files when you can just change version numbers
it should now deal with Gamepad-only events.
this also fixes Gamepad-KB/M override
includes Steam Deck, Steam Controller (2026) and Steam Controller (2015)
AL2009man
force-pushed
the
POC-GyroGamepad
branch
from
March 16, 2026 06:40
4411e50 to
3311ead
Compare
with the exception of Mouse Movement (for Mixed Input support), it now change Input glyphs in HUD dynamically. This can be overridden via either console commands or alpine_settings.ini
… scheme Console Commands for Gamepad and Gyro has been revised inorder to match keyboard/mouse cmds. also, remove the Gyro Sens cap, go nuts!
Contributor
Author
hi @is-this-c, quick reminder that GamepadMotionHelper is a third-party vendor. if there's a problem with C constants becoming a problem: edit: the fix will still be employed on this PR tho. |
AL2009man
force-pushed
the
POC-GyroGamepad
branch
from
August 25, 2026 01:05
3594cd3 to
1e5a282
Compare
if a game controller is plugged, or detected, or gyro aiming is disabled: a pop-up warning will appear when pressing the MULT button. This warning only appears once (until you remove alpine_setting.ini file)
looks like i forgot to prevent folks from binding using the guide button.
Valve pretty much standardized the naming scheme in their Steam Controller 2 guides. Thus: the old "Gyro Modifier" name has been replaced with "Gyro Ratcheting" to conform to standardization. also, "Gyro Aiming" has been renamed to "Gyro Camera".
added `joy_led` function, which the controller's lightbar functionality will display the current player health. It's currently disabled by default as it's a experimental feature
AL2009man
force-pushed
the
POC-GyroGamepad
branch
from
September 1, 2026 06:09
1571e23 to
00a25d8
Compare
Cleaned up code (will restore original blink video files), and remove leftover code post-AF 1.4 that still remained on this branch
AL2009man
force-pushed
the
POC-GyroGamepad
branch
from
September 5, 2026 17:48
5d90d30 to
ff4b467
Compare
to avoid overtyping, just simply type "gyro_reset" and then type either `partial` or `full`. this should also help extend future Gyro calibration features down in the line. also added missing Touchpad to the bootup screen, completing the whole pack
should be somewhat consistent with mouse.cpp path?
to prepare for Settting overhaul, the secondary binding system for game controller will be temporarily removed. It may come back someday...
To prepare for overhauled Settings Menu, the Glyph HUD system is now centralized enough to handle glyph switching
…faction into POC-GyroGamepad
surprisingly enough, that subsystem isn't needed for Gamepad API. (it has it's own Haptic setup).
refactor mode switch under the hood, while fixing a minor issue where calibration confidence doesn't change when switching between autocalib modes
AL2009man
force-pushed
the
POC-GyroGamepad
branch
from
September 18, 2026 23:28
99584be to
8e3b509
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
this PR adds what is essentially an input-related feature that is missing from the original PS2 release while adding a few enhancements. While it's not 1:1 with the PS2 (additional rumble effects, auto-aim), it's close enough.
redfactionwithgamepad2.mp4
this leverages SDL3's Gamepad API inorder to implement Gamepad Inputs, not only it'll support Xbox controllers, it also supports PlayStation controllers, Nintendo Controllers and selected 8BitDo Controllers while being the foundation for advanced feature sets down in the line (such as Lightbar, DualSense's Adaptive Triggers, pressure-sensitive buttons, etc)
Controller features.
GamepadRawInputinalpine_settings.ini)joy_ledcmd oralpine_settings.ini)portions of the code and file structure were referenced and inspired by yquake2, Perfect Dark PC Port (currently under draft pr as of this writing) was used as inspiration for glyph management system. Motion sensor's overall functionality is powered by GamepadMotionHelper header.
–––