Simulation 3D Joystick
Process input from asynchronous joystick device
Renamed from Joystick Input in R2025a
Libraries:
Simulink 3D Animation /
Simulation 3D /
Hardware Interface
Description
The Simulation 3D Joystick block provides interaction between a Simulink® model and the virtual world associated with a Simulink 3D Animation™ block. This block uses axes, buttons, and the point-of-view selector, if present. You can use this block as you would use any other Simulink source block. Its output ports reflect the status of the joystick controls for axes and buttons. The block also supports force-feedback devices.
The Simulation 3D Joystick block supports all joystick devices that use the Microsoft® APIs DirectInput
and XInput
components as their communication protocols.