Skip to content

The Forest Android 0.2.1

Choose a tag to compare

@zwaetschge zwaetschge released this 27 Nov 18:37
· 2 commits to main since this release

Source-only release (build your own APK from your own PC copy via ./build.sh).

What's New in 0.2.1

  • Direct Android Hardware Controller Driver (ForestActivity.java, android_main.c): Captures physical gamepad keys, D-Pad, dual sticks, and triggers directly into XInput slot 0 with 0.12 deadzone, bypassing SDL3's strict SOURCE_JOYSTICK filter and duplicated trigger axis mapping (e.g. AYN Odin 3 built-in Xbox Wireless Controller).
  • Full Controller-Only NGUI Menu Navigation (user32.c, k32_file.c, tf_compat.c, xinput.c): Exposes the virtual XInput gamepad (VID_045E&PID_028E&IG_00) via RawInput and implements Unity 5.6's HID button pipeline (CreateFileW, async ReadFile / GetOverlappedResult, HidD_GetPreparsedData, HidD_GetProductString, HidP_GetCaps, HidP_GetButtonCaps, HidP_GetData, HidP_MaxDataListLength) so A (Submit), B (Back), Y (Skip Intro), and Start (Pause / Resume) work across all menus without touch taps.
  • Auto-Hiding On-Screen Pad & Touch Polish (PadView.java, android_main.c, user32.c): Automatically hides PadView when a physical controller is detected/used (still toggleable via top-right Pad), adds an optional Right-Stick menu cursor ring, and fixes first-tap menu clicks when switching from controller back to touch.
  • Verified (Samsung Galaxy Tab S8 Ultra): 100% controller-only flow verified end-to-end (Title → Single Player → New Game → Back → Single Player → New Game → Normal → ForestMain_v08 → Y intro skip → Start Pause → A Resume, 0 of 1000 blocks short FMOD audio).