OSDN Git Service

#30332 MidiInChecker2のソリューションを新規に追加。一通り動くレベルのものをコミットする。ただし英語表示のみの対応。
[dtxmania/dtxmania.git] / MidiInChecker2_Solution / MidiInChecker2_Project / PsuedoFDK / IInputDevice.cs
diff --git a/MidiInChecker2_Solution/MidiInChecker2_Project/PsuedoFDK/IInputDevice.cs b/MidiInChecker2_Solution/MidiInChecker2_Project/PsuedoFDK/IInputDevice.cs
new file mode 100644 (file)
index 0000000..474372b
--- /dev/null
@@ -0,0 +1,37 @@
+using System;\r
+using System.Collections.Generic;\r
+using System.Text;\r
+\r
+namespace MidiInChecker2\r
+{\r
+       public interface IInputDevice : IDisposable\r
+       {\r
+               // プロパティ\r
+\r
+               E入力デバイス種別 e入力デバイス種別\r
+               {\r
+                       get;\r
+               }\r
+               string GUID\r
+               {\r
+                       get;\r
+               }\r
+               int ID\r
+               {\r
+                       get;\r
+               }\r
+               List<STInputEvent> list入力イベント\r
+               {\r
+                       get;\r
+               }\r
+\r
+\r
+               // メソッドインターフェース\r
+\r
+               void tポーリング( bool bWindowがアクティブ中, bool bバッファ入力を使用する );\r
+               bool bキーが押された( int nKey );\r
+               bool bキーが押されている( int nKey );\r
+               bool bキーが離された( int nKey );\r
+               bool bキーが離されている( int nKey );\r
+       }\r
+}\r