using Godot; namespace TBL.GodotSharp.Input { /// /// 输入扩展 /// public class InputExtra : Node { /// /// 控制器类型 /// public enum ControllerType { /// /// 鼠标 /// Mouse, /// /// 触摸 /// Touch, /// /// 纯按钮(手柄/键盘) /// Button } /// /// 最后一次操作的控制器类型 /// public ControllerType LastControllerType { get; private set; } public override void _EnterTree() { Name = nameof(InputExtra); } public override void _Input(InputEvent evt) { // TODO: } } }