神岛 API 文档 - ArenaPro版
    Preparing search index...

    This Gamepad API interface defines an individual gamepad or other controller, allowing access to information such as button presses, axis positions, and id.

    MDN Reference

    interface Gamepad {
        actionA: any;
        actionB: any;
        crouch: any;
        flyButton: any;
        flyingBackground: any;
        flyingController: any;
        joystickBackground: any;
        joystickController: any;
        jump: any;
    }
    Index

    Properties

    actionA: any

    动作A按钮图片路径。

    The image path for the action A button.

    actionB: any

    动作B按钮图片路径。

    The image path for the action B button.

    crouch: any

    蹲下按钮图片路径。

    The image path for the crouch button.

    flyButton: any

    飞行按钮图片路径。

    The image path for the fly button.

    flyingBackground: any

    飞行背景图片路径。

    The image path for the flying background.

    flyingController: any

    飞行控制器图片路径。

    The image path for the flying controller.

    joystickBackground: any

    摇杆背景图片路径。

    The image path for the joystick background.

    joystickController: any

    摇杆控制器图片路径。

    The image path for the joystick controller.

    jump: any

    跳跃按钮图片路径。

    The image path for the jump button.