Repository navigation
GhostPad v3.2
Fixes the right-stick camera snapping back to origin on release in Call of Duty: Mobile.
Root cause: the v3.1 descriptor added Rx/Ry duplicate usages for the right stick, but Android's Vendor_045e_Product_02fd.kl only maps ABS_Z/ABS_RZ, so the duplicates surfaced to games as AXIS_GENERIC_1/AXIS_GENERIC_2 (0..1, resting at 0.5). Unity's legacy joystick input numbers axes by scanner-code order, so CODM read the look axis as an absolute 0..1 value — the camera tracked the stick's position and re-centered when the stick self-centered.
Fix: restored the stock 0x045E:0x02FD report descriptor (X/Y/Z/Rz + BRAKE/GAS) so the virtual controller's axis layout is byte-identical to a real Xbox Wireless Controller. Right-stick look now returns cleanly to center-stop on release.
Signed with the XNet key and 16 KB page aligned.
SHA-256: f3a3382f95002097a9889ce904403b72f6357c750827d09599ffaf982a479090