mirror of
https://github.com/Dingo-Shenanigans/ReSkate.git
synced 2026-10-25 13:04:42 +01:00
The launcher read no controller at all. Started from Steam (Desktop or Game Mode on a Steam Deck), Steam Input applies the game's gamepad layout to it, where the right trackpad is the right stick and its click is R3, so the trackpad did nothing; only the touch screen, which arrives as mouse messages, worked. - Every XInput pad is merged (Xbox, Steam Input's virtual pad), else a DualShock 4 / DualSense is read over HID with the reader the in-game menu already uses, now its own library (dingosdk_playstation_input). - D-pad and left stick move ImGui's focus, outlined in the launcher's blue; A / Cross presses. The hand-drawn tiles, switches and menu buttons take part in navigation (ImGuiButtonFlags_EnableNav). - B / Circle closes an open combo or menu and leaves a text field, and is Escape otherwise, which the launcher's pages already go back on. Escape now also closes the mod overviews and answers Cancel in the uninstall and replace confirmations; closing an overview no longer also leaves the page. - The right stick (the trackpad) moves a pointer that ImGui draws, and R3 (the trackpad's click) is the left button. The system cursor follows it; a mouse move or a touch elsewhere takes the pointer back. - The ImGui Win32 backend's own gamepad code (slot 0 only) is compiled out so it cannot fight the launcher's events; nothing else used it.