1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
Artemis/src/Artemis.VisualScripting/Nodes/Input/PressedKeyPositionNodeEntity.cs
2022-10-21 10:37:02 +02:00

29 lines
591 B
C#

using System.ComponentModel;
namespace Artemis.VisualScripting.Nodes.Input;
public class PressedKeyPositionNodeEntity
{
public PressedKeyPositionNodeEntity()
{
}
public PressedKeyPositionNodeEntity(Guid layerId, KeyPressType respondTo)
{
LayerId = layerId;
RespondTo = respondTo;
}
public Guid LayerId { get; set; }
public KeyPressType RespondTo { get; set; }
public enum KeyPressType
{
[Description("Up")]
Up,
[Description("Down")]
Down,
[Description("Up/down")]
UpDown
}
}