cleanup(iplController): name decide/pinch/kpad/classic fields #889
Reference in New Issue
Block a user
Delete Branch "cleanup/iplController-fields"
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?
Summary
Readable renames for
ipl::controller::Base/Classicfields named from usage:unk_0x08mDecideHoldCountunk_0x1CmbForceInvalidunk_0x1DmbPinchingunk_0x1EmbWasPinchingunk_0x20mpKpadStatusunk_0x24mClassicCursorPosunk_0x2CmClassicCursorTimerEvidence:
mDecideHoldCountincrements while interact is held after trigger;decide()is true at== 5mbForceInvalidis written bysetForceInvalidand forcesisValidDpdfalsembPinching/mbWasPinchingtrack A+B (0x800/0x400) hold across frames for pinch / pinchTrg / pinchOffTrgmpKpadStatusis theKPADStatus*returned bygetKPADStatusmClassicCursorPoswith a shortmClassicCursorTimerAlso updates
iplControllerManagerctor inits that touch the Base fields.Verification
system/iplController.cpp,system/iplControllerManager.cpp(Matching)ninja all_source+build/43U/ok26116613f624061ba99c8d1a299aaa6efa85670dDo not merge — waiting on reviewer.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.