Module virtual_axial

Source
Expand description

This module contains VirtualAxis, VirtualDPad, and VirtualDPad3D.

Structsยง

VirtualAxis
A virtual single-axis control constructed from two Buttonlikes. One button represents the negative direction (left for the X-axis, down for the Y-axis), while the other represents the positive direction (right for the X-axis, up for the Y-axis).
VirtualDPad
A virtual dual-axis control constructed from four Buttonlikes. Each button represents a specific direction (up, down, left, right), functioning similarly to a directional pad (D-pad) on both X and Y axes, and offering intermediate diagonals by means of two-button combinations.
VirtualDPad3D
A virtual triple-axis control constructed from six Buttonlikes. Each button represents a specific direction (up, down, left, right, forward, backward), functioning similarly to a three-dimensional directional pad (D-pad) on all X, Y, and Z axes, and offering intermediate diagonals by means of two/three-key combinations.