OSDN Git Service

DTXManiaソリューション、DTXManiaプロジェクト、DTXCreatorプロジェクト、FDKプロジェクトについて英語化。
[dtxmania/dtxmania.git] / FDK / コード / 02.入力 / STInputEvent.cs
diff --git a/FDK/コード/02.入力/STInputEvent.cs b/FDK/コード/02.入力/STInputEvent.cs
new file mode 100644 (file)
index 0000000..1903df4
--- /dev/null
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Text;
+using System.Runtime.InteropServices;
+
+namespace FDK
+{
+       // 構造体
+
+       [StructLayout( LayoutKind.Sequential )]
+       public struct STInputEvent
+       {
+               public int nKey { get; set; }
+               public bool b押された { get; set; }
+               public bool b離された { get; set; }
+               public long nTimeStamp { get; set; }
+               public int nVelocity { get; set; }
+       }
+}