If you like to build a hustle free wireless, rechargable, BLE controller prototype based on ESP32, it is very helpful …
Put this in the head of your main script!
// esp32 with analog joystick in >>> variables from 0-4095
Arduino setup basic Unity C# interface
This first minimal approach to interface alternative user interface elements, like potentiometers or sensors comes along with a proper oldschool …
Simple communication between Processing and Arduino via Firmata
How to do many2many routerless communication for ESP32