Files
XplorePlane/XP.Hardware.MotionControl/Implementations/SimulatedJoystick.cs
T

22 lines
652 B
C#

using XP.Hardware.MotionControl.Abstractions;
namespace XP.Hardware.MotionControl.Implementations
{
/// <summary>
/// 虚拟摇杆实现 | Simulated Joystick Implementation
/// 所有操作为空操作,始终报告摇杆未激活
/// All operations are no-ops, always reports joystick as inactive
/// </summary>
public class SimulatedJoystick : IJoystick
{
/// <inheritdoc/>
public bool IsJoystickActive => false;
/// <inheritdoc/>
public void UpdateStatus()
{
// 虚拟摇杆无需从 PLC 轮询状态 | No PLC polling needed for simulated joystick
}
}
}