# Gamepad Support

This tool supports basic joystick input for capturing photos. Device detection happens automatically, and the main input logic is handled in the Input Manager. Input is adapted for both the new and old Unity input systems. Input controls are stored and can be adjusted in the Photo Settings object.

**To take a photo with a gamepad**

* Press Y button to activate photo mode (Enable Photo Mode controls).
* Use the left stick to move the capture area (Gamepad Movement Type controls).
* Press A button to take a photo (Capture Photo controls).
* Or press Y button to exit photo mode (Disable Photo Mode controls).

<figure><img src="https://3734259406-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWCupGi1gMGbHtWokmOaz%2Fuploads%2FGk2ZMrDUvqF3S58rgCGq%2Fgencraft_image_1740427454865-1.png?alt=media&#x26;token=ef8b977e-3889-4116-bc3f-fe429ada2bea" alt=""><figcaption><p>Gamepad input settings to change</p></figcaption></figure>

For the old input system, when using sticks or a D-pad, it's important to have axes assigned in the Input Manager and to specify their names here. In this example, the custom axes are as follows:

* Left Stick Horizontal Axis - "Horizontal" (left, right) - X Axis
* Left Stick Vertical Axis - "Vertical" (down, up) - Y Axis
* DPad Horizontal - "Debug Horizontal" (left/right) - 6th Axis
* DPad Vertical - "Debug Vertical" (down/up) - 7th Axis

<div><figure><img src="https://3734259406-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWCupGi1gMGbHtWokmOaz%2Fuploads%2FXXnLuRoNIcps6rZidabS%2Fimage_2025-03-24_18-08-01.png?alt=media&#x26;token=2fd5ca0c-1dbd-4ff6-9f87-dc7c728bc041" alt=""><figcaption><p>DPad</p></figcaption></figure> <figure><img src="https://3734259406-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWCupGi1gMGbHtWokmOaz%2Fuploads%2FELizDZHiy7GNg7iVndnd%2Fimage_2025-03-24_18-10-26.png?alt=media&#x26;token=730b11c3-05c5-4abf-ad4c-af8c0c15446f" alt=""><figcaption><p>Left Stick</p></figcaption></figure></div>

Other controls, such as photo management, are not provided on gamepads, as the ways of using this tool vary greatly across different projects. This allows developers to more easily adapt the asset to their specific needs, starting with the base functionality.
