mirror of
https://github.com/Artemis-RGB/Artemis
synced 2025-12-13 05:48:35 +00:00
29 lines
591 B
C#
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
|
|
}
|
|
} |