OSDN Git Service

SharpDX.DirectInput.Key での入力チェックを SlimDX.DirectInput.Key に置き換え。
[dtxmania/dtxmania.git] / DTXManiaプロジェクト / コード / ステージ / 04.コンフィグ / CActConfigKeyAssign.cs
index a2620aa..58fc931 100644 (file)
@@ -5,10 +5,10 @@ using System.Runtime.InteropServices;
 using System.Drawing;\r
 using FDK;\r
 using SharpDX;\r
-using SharpDX.DirectInput;\r
 \r
 using Rectangle = System.Drawing.Rectangle;\r
 using Color = System.Drawing.Color;\r
+using SlimDXKey = SlimDX.DirectInput.Key;\r
 \r
 namespace DTXMania\r
 {\r
@@ -131,7 +131,7 @@ namespace DTXMania
                        {\r
                                if (this.bキー入力待ち)\r
                                {\r
-                                       if (CDTXMania.Instance.Input管理.Keyboard.bキーが押された((int)SharpDX.DirectInput.Key.Escape))\r
+                                       if (CDTXMania.Instance.Input管理.Keyboard.bキーが押された((int)SlimDXKey.Escape))\r
                                        {\r
                                                CDTXMania.Instance.Skin.sound取消音.t再生する();\r
                                                this.bキー入力待ち = false;\r
@@ -143,7 +143,7 @@ namespace DTXMania
                                                CDTXMania.Instance.Input管理.tポーリング(CDTXMania.Instance.bApplicationActive, false);\r
                                        }\r
                                }\r
-                               else if (CDTXMania.Instance.Input管理.Keyboard.bキーが押された((int)SharpDX.DirectInput.Key.Delete))\r
+                               else if (CDTXMania.Instance.Input管理.Keyboard.bキーが押された((int)SlimDXKey.Delete))\r
                                {\r
                                        CDTXMania.Instance.Skin.sound決定音.t再生する();\r
                                        CDTXMania.Instance.ConfigIni.KeyAssign[this.pad][ptr].Reset();\r
@@ -269,138 +269,138 @@ namespace DTXMania
 \r
                private STKEYLABEL[] KeyLabel = new STKEYLABEL[] {\r
                        #region [ *** ]\r
-                       new STKEYLABEL((int)Key.Escape, "[ESC]"),\r
-                       new STKEYLABEL((int)Key.D1, "[ 1 ]"),\r
-                       new STKEYLABEL((int)Key.D2, "[ 2 ]"),\r
-                       new STKEYLABEL((int)Key.D3, "[ 3 ]"),\r
-                       new STKEYLABEL((int)Key.D4, "[ 4 ]"),\r
-                       new STKEYLABEL((int)Key.D5, "[ 5 ]"),\r
-                       new STKEYLABEL((int)Key.D6, "[ 6 ]"),\r
-                       new STKEYLABEL((int)Key.D7, "[ 7 ]"),\r
-                       new STKEYLABEL((int)Key.D8, "[ 8 ]"),\r
-                       new STKEYLABEL((int)Key.D9, "[ 9 ]"),\r
-                       new STKEYLABEL((int)Key.D0, "[ 0 ]"),\r
-                       new STKEYLABEL((int)Key.Minus, "[ - ]"),\r
-                       new STKEYLABEL((int)Key.Equals, "[ = ]"),\r
-                       new STKEYLABEL((int)Key.Back, "[BSC]"),\r
-                       new STKEYLABEL((int)Key.Tab, "[TAB]"),\r
-                       new STKEYLABEL((int)Key.Q, "[ Q ]"),\r
-                       new STKEYLABEL((int)Key.W, "[ W ]"),\r
-                       new STKEYLABEL((int)Key.E, "[ E ]"),\r
-                       new STKEYLABEL((int)Key.R, "[ R ]"),\r
-                       new STKEYLABEL((int)Key.T, "[ T ]"),\r
-                       new STKEYLABEL((int)Key.Y, "[ Y ]"),\r
-                       new STKEYLABEL((int)Key.U, "[ U ]"),\r
-                       new STKEYLABEL((int)Key.I, "[ I ]"),\r
-                       new STKEYLABEL((int)Key.O, "[ O ]"),\r
-                       new STKEYLABEL((int)Key.P, "[ P ]"),\r
-                       new STKEYLABEL((int)Key.LeftBracket, "[ [ ]"),\r
-                       new STKEYLABEL((int)Key.RightBracket, "[ ] ]"),\r
-                       new STKEYLABEL((int)Key.Return, "[Enter]"),\r
-                       new STKEYLABEL((int)Key.LeftControl, "[L-Ctrl]"),\r
-                       new STKEYLABEL((int)Key.A, "[ A ]"),\r
-                       new STKEYLABEL((int)Key.S, "[ S ]"),\r
-                       new STKEYLABEL((int)Key.D, "[ D ]"),\r
-                       new STKEYLABEL((int)Key.F, "[ F ]"),\r
-                       new STKEYLABEL((int)Key.G, "[ G ]"),\r
-                       new STKEYLABEL((int)Key.H, "[ H ]"),\r
-                       new STKEYLABEL((int)Key.J, "[ J ]"),\r
-                       new STKEYLABEL((int)Key.K, "[ K ]"),\r
-                       new STKEYLABEL((int)Key.L, "[ L ]"),\r
-                       new STKEYLABEL((int)Key.Semicolon, "[ ; ]"),\r
-                       new STKEYLABEL((int)Key.Apostrophe, "[ ' ]"),\r
-                       new STKEYLABEL((int)Key.Grave, "[ ` ]"),\r
-                       new STKEYLABEL((int)Key.LeftShift, "[L-Shift]"),\r
-                       new STKEYLABEL((int)Key.Backslash, @"[ \]"),\r
-                       new STKEYLABEL((int)Key.Z, "[ Z ]"),\r
-                       new STKEYLABEL((int)Key.X, "[ X ]"),\r
-                       new STKEYLABEL((int)Key.C, "[ C ]"),\r
-                       new STKEYLABEL((int)Key.V, "[ V ]"),\r
-                       new STKEYLABEL((int)Key.B, "[ B ]"),\r
-                       new STKEYLABEL((int)Key.N, "[ N ]"),\r
-                       new STKEYLABEL((int)Key.M, "[ M ]"),\r
-                       new STKEYLABEL((int)Key.Comma, "[ , ]"),\r
-                       new STKEYLABEL((int)Key.Period, "[ . ]"),\r
-                       new STKEYLABEL((int)Key.Slash, "[ / ]"),\r
-                       new STKEYLABEL((int)Key.RightShift, "[R-Shift]"),\r
-                       new STKEYLABEL((int)Key.Multiply, "[ * ]"),\r
-                       new STKEYLABEL((int)Key.LeftAlt, "[L-Alt]"),\r
-                       new STKEYLABEL((int)Key.Space, "[Space]"),\r
-                       new STKEYLABEL((int)Key.Capital, "[CAPS]"),\r
-                       new STKEYLABEL((int)Key.F1, "[F1]"),\r
-                       new STKEYLABEL((int)Key.F2, "[F2]"),\r
-                       new STKEYLABEL((int)Key.F3, "[F3]"),\r
-                       new STKEYLABEL((int)Key.F4, "[F4]"),\r
-                       new STKEYLABEL((int)Key.F5, "[F5]"),\r
-                       new STKEYLABEL((int)Key.F6, "[F6]"),\r
-                       new STKEYLABEL((int)Key.F7, "[F7]"),\r
-                       new STKEYLABEL((int)Key.F8, "[F8]"),\r
-                       new STKEYLABEL((int)Key.F9, "[F9]"),\r
-                       new STKEYLABEL((int)Key.F10, "[F10]"),\r
-                       new STKEYLABEL((int)Key.NumberLock, "[NumLock]"),\r
-                       new STKEYLABEL((int)Key.ScrollLock, "[Scroll]"),\r
-                       new STKEYLABEL((int)Key.NumberPad7, "[NPad7]"),\r
-                       new STKEYLABEL((int)Key.NumberPad8, "[NPad8]"),\r
-                       new STKEYLABEL((int)Key.NumberPad9, "[NPad9]"),\r
-                       new STKEYLABEL((int)Key.Subtract, "[NPad-]"),\r
-                       new STKEYLABEL((int)Key.NumberPad4, "[NPad4]"),\r
-                       new STKEYLABEL((int)Key.NumberPad5, "[NPad5]"),\r
-                       new STKEYLABEL((int)Key.NumberPad6, "[NPad6]"),\r
-                       new STKEYLABEL((int)Key.Add, "[NPad+]"),\r
-                       new STKEYLABEL((int)Key.NumberPad1, "[NPad1]"),\r
-                       new STKEYLABEL((int)Key.NumberPad2, "[NPad2]"),\r
-                       new STKEYLABEL((int)Key.NumberPad3, "[NPad3]"),\r
-                       new STKEYLABEL((int)Key.NumberPad0, "[NPad0]"),\r
-                       new STKEYLABEL((int)Key.Decimal, "[NPad.]"),\r
-                       new STKEYLABEL((int)Key.F11, "[F11]"),\r
-                       new STKEYLABEL((int)Key.F12, "[F12]"),\r
-                       new STKEYLABEL((int)Key.F13, "[F13]"),\r
-                       new STKEYLABEL((int)Key.F14, "[F14]"),\r
-                       new STKEYLABEL((int)Key.F15, "[F15]"),\r
-                       new STKEYLABEL((int)Key.Kana, "[Kana]"),\r
-                       new STKEYLABEL((int)Key.AbntC1, "[ ? ]"),\r
-                       new STKEYLABEL((int)Key.Convert, "[Henkan]"),\r
-                       new STKEYLABEL((int)Key.NoConvert, "[MuHenkan]"),\r
-                       new STKEYLABEL((int)Key.Backslash, @"[ \ ]"),\r
-                       new STKEYLABEL((int)Key.AbntC2, "[NPad.]"),\r
-                       new STKEYLABEL((int)Key.NumberPadEquals, "[NPad=]"),\r
-                       new STKEYLABEL((int)Key.PreviousTrack, "[ ^ ]"),        // DIK_CIRCUMFLEX = 0x90\r
-                       new STKEYLABEL((int)Key.AT, "[ @ ]"),\r
-                       new STKEYLABEL((int)Key.Colon, "[ : ]"),\r
-                       new STKEYLABEL((int)Key.Underline, "[ _ ]"),\r
-                       new STKEYLABEL((int)Key.Kanji, "[Kanji]"),\r
-                       new STKEYLABEL((int)Key.Stop, "[Stop]"),\r
-                       new STKEYLABEL((int)Key.AX, "[AX]"),\r
-                       new STKEYLABEL((int)Key.NumberPadEnter, "[NPEnter]"),\r
-                       new STKEYLABEL((int)Key.RightControl, "[R-Ctrl]"),\r
-                       new STKEYLABEL((int)Key.Mute, "[Mute]"),\r
-                       new STKEYLABEL((int)Key.Calculator, "[Calc]"),\r
-                       new STKEYLABEL((int)Key.PlayPause, "[PlayPause]"),\r
-                       new STKEYLABEL((int)Key.MediaStop, "[MediaStop]"),\r
-                       new STKEYLABEL((int)Key.VolumeDown, "[Volume-]"),\r
-                       new STKEYLABEL((int)Key.VolumeUp, "[Volume+]"),\r
-                       new STKEYLABEL((int)Key.WebHome, "[WebHome]"),\r
-                       new STKEYLABEL((int)Key.NumberPadComma, "[NPad,]"),\r
-                       new STKEYLABEL((int)Key.Divide, "[ / ]"),\r
-                       new STKEYLABEL((int)Key.PrintScreen, "[PrtScn]"),\r
-                       new STKEYLABEL((int)Key.RightAlt, "[R-Alt]"),\r
-                       new STKEYLABEL((int)Key.Pause, "[Pause]"),\r
-                       new STKEYLABEL((int)Key.Home, "[Home]"),\r
-                       new STKEYLABEL((int)Key.Up, "[Up]"),\r
-                       new STKEYLABEL((int)Key.PageUp, "[PageUp]"),\r
-                       new STKEYLABEL((int)Key.Left, "[Left]"),\r
-                       new STKEYLABEL((int)Key.Right, "[Right]"),\r
-                       new STKEYLABEL((int)Key.End, "[End]"),\r
-                       new STKEYLABEL((int)Key.Down, "[Down]"),\r
-                       new STKEYLABEL((int)Key.PageDown, "[PageDown]"),\r
-                       new STKEYLABEL((int)Key.Insert, "[Insert]"),\r
-                       new STKEYLABEL((int)Key.Delete, "[Delete]"),\r
-                       new STKEYLABEL((int)Key.LeftWindowsKey, "[L-Win]"),\r
-                       new STKEYLABEL((int)Key.RightWindowsKey, "[R-Win]"),\r
-                       new STKEYLABEL((int)Key.Applications, "[APP]"),\r
-                       new STKEYLABEL((int)Key.Power, "[Power]"),\r
-                       new STKEYLABEL((int)Key.Sleep, "[Sleep]"),\r
-                       new STKEYLABEL((int)Key.Wake, "[Wake]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Escape, "[ESC]"),\r
+                       new STKEYLABEL((int)SlimDXKey.D1, "[ 1 ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.D2, "[ 2 ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.D3, "[ 3 ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.D4, "[ 4 ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.D5, "[ 5 ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.D6, "[ 6 ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.D7, "[ 7 ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.D8, "[ 8 ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.D9, "[ 9 ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.D0, "[ 0 ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Minus, "[ - ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Equals, "[ = ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Backspace, "[BSC]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Tab, "[TAB]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Q, "[ Q ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.W, "[ W ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.E, "[ E ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.R, "[ R ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.T, "[ T ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Y, "[ Y ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.U, "[ U ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.I, "[ I ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.O, "[ O ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.P, "[ P ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.LeftBracket, "[ [ ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.RightBracket, "[ ] ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Return, "[Enter]"),\r
+                       new STKEYLABEL((int)SlimDXKey.LeftControl, "[L-Ctrl]"),\r
+                       new STKEYLABEL((int)SlimDXKey.A, "[ A ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.S, "[ S ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.D, "[ D ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F, "[ F ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.G, "[ G ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.H, "[ H ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.J, "[ J ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.K, "[ K ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.L, "[ L ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Semicolon, "[ ; ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Apostrophe, "[ ' ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Grave, "[ ` ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.LeftShift, "[L-Shift]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Backslash, @"[ \]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Z, "[ Z ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.X, "[ X ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.C, "[ C ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.V, "[ V ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.B, "[ B ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.N, "[ N ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.M, "[ M ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Comma, "[ , ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Period, "[ . ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Slash, "[ / ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.RightShift, "[R-Shift]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPadStar, "[ * ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.LeftAlt, "[L-Alt]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Space, "[Space]"),\r
+                       new STKEYLABEL((int)SlimDXKey.CapsLock, "[CAPS]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F1, "[F1]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F2, "[F2]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F3, "[F3]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F4, "[F4]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F5, "[F5]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F6, "[F6]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F7, "[F7]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F8, "[F8]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F9, "[F9]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F10, "[F10]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberLock, "[NumLock]"),\r
+                       new STKEYLABEL((int)SlimDXKey.ScrollLock, "[Scroll]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPad7, "[NPad7]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPad8, "[NPad8]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPad9, "[NPad9]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPadMinus, "[NPad-]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPad4, "[NPad4]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPad5, "[NPad5]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPad6, "[NPad6]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPadPlus, "[NPad+]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPad1, "[NPad1]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPad2, "[NPad2]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPad3, "[NPad3]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPad0, "[NPad0]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPadPeriod, "[NPad.]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F11, "[F11]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F12, "[F12]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F13, "[F13]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F14, "[F14]"),\r
+                       new STKEYLABEL((int)SlimDXKey.F15, "[F15]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Kana, "[Kana]"),\r
+                       new STKEYLABEL((int)SlimDXKey.AbntC1, "[ ? ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Convert, "[Henkan]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NoConvert, "[MuHenkan]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Backslash, @"[ \ ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.AbntC2, "[NPad.]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPadEquals, "[NPad=]"),\r
+                       new STKEYLABEL((int)SlimDXKey.PreviousTrack, "[ ^ ]"),  // DIK_CIRCUMFLEX = 0x90\r
+                       new STKEYLABEL((int)SlimDXKey.AT, "[ @ ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Colon, "[ : ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Underline, "[ _ ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Kanji, "[Kanji]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Stop, "[Stop]"),\r
+                       new STKEYLABEL((int)SlimDXKey.AX, "[AX]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPadEnter, "[NPEnter]"),\r
+                       new STKEYLABEL((int)SlimDXKey.RightControl, "[R-Ctrl]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Mute, "[Mute]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Calculator, "[Calc]"),\r
+                       new STKEYLABEL((int)SlimDXKey.PlayPause, "[PlayPause]"),\r
+                       new STKEYLABEL((int)SlimDXKey.MediaStop, "[MediaStop]"),\r
+                       new STKEYLABEL((int)SlimDXKey.VolumeDown, "[Volume-]"),\r
+                       new STKEYLABEL((int)SlimDXKey.VolumeUp, "[Volume+]"),\r
+                       new STKEYLABEL((int)SlimDXKey.WebHome, "[WebHome]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPadComma, "[NPad,]"),\r
+                       new STKEYLABEL((int)SlimDXKey.NumberPadSlash, "[ / ]"),\r
+                       new STKEYLABEL((int)SlimDXKey.PrintScreen, "[PrtScn]"),\r
+                       new STKEYLABEL((int)SlimDXKey.RightAlt, "[R-Alt]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Pause, "[Pause]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Home, "[Home]"),\r
+                       new STKEYLABEL((int)SlimDXKey.UpArrow, "[Up]"),\r
+                       new STKEYLABEL((int)SlimDXKey.PageUp, "[PageUp]"),\r
+                       new STKEYLABEL((int)SlimDXKey.LeftArrow, "[Left]"),\r
+                       new STKEYLABEL((int)SlimDXKey.RightArrow, "[Right]"),\r
+                       new STKEYLABEL((int)SlimDXKey.End, "[End]"),\r
+                       new STKEYLABEL((int)SlimDXKey.DownArrow, "[Down]"),\r
+                       new STKEYLABEL((int)SlimDXKey.PageDown, "[PageDown]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Insert, "[Insert]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Delete, "[Delete]"),\r
+                       new STKEYLABEL((int)SlimDXKey.LeftWindowsKey, "[L-Win]"),\r
+                       new STKEYLABEL((int)SlimDXKey.RightWindowsKey, "[R-Win]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Applications, "[APP]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Power, "[Power]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Sleep, "[Sleep]"),\r
+                       new STKEYLABEL((int)SlimDXKey.Wake, "[Wake]"),\r
                        #endregion\r
                };\r
 \r
@@ -547,15 +547,15 @@ namespace DTXMania
 \r
                private bool tキーチェックとアサイン_Keyboard()\r
                {\r
-                       for (int i = 0; i < 256; i++)\r
+                       for( int i = 0; i < 256; i++ )\r
                        {\r
-                               if (i != (int)Key.Escape &&\r
-                                       i != (int)Key.Up &&\r
-                                       i != (int)Key.Down &&\r
-                                       i != (int)Key.Left &&\r
-                                       i != (int)Key.Right &&\r
-                                       i != (int)Key.Delete &&\r
-                                        CDTXMania.Instance.Input管理.Keyboard.bキーが押された(i))\r
+                               if( i != (int) SlimDXKey.Escape &&\r
+                                       i != (int) SlimDXKey.UpArrow &&\r
+                                       i != (int) SlimDXKey.DownArrow &&\r
+                                       i != (int) SlimDXKey.LeftArrow &&\r
+                                       i != (int) SlimDXKey.RightArrow &&\r
+                                       i != (int) SlimDXKey.Delete &&\r
+                                        CDTXMania.Instance.Input管理.Keyboard.bキーが押された( i ) )\r
                                {\r
                                        CDTXMania.Instance.Skin.sound決定音.t再生する();\r
 \r
@@ -563,11 +563,11 @@ namespace DTXMania
                                        if( i == CDTXMania.Instance.ConfigIni.KeyAssign[ pad ][ ptr ].コード )\r
                                                CDTXMania.Instance.ConfigIni.KeyAssign[ pad ][ ptr ].コード = -1;\r
 \r
-                                       CDTXMania.Instance.ConfigIni.t指定した入力が既にアサイン済みである場合はそれを全削除する(EInputDevice.Keyboard, 0, i);\r
+                                       CDTXMania.Instance.ConfigIni.t指定した入力が既にアサイン済みである場合はそれを全削除する( EInputDevice.Keyboard, 0, i );\r
 \r
-                                       CDTXMania.Instance.ConfigIni.KeyAssign[pad][ptr].入力デバイス = EInputDevice.Keyboard;\r
-                                       CDTXMania.Instance.ConfigIni.KeyAssign[pad][ptr].ID = 0;\r
-                                       CDTXMania.Instance.ConfigIni.KeyAssign[pad][ptr].コード = i;\r
+                                       CDTXMania.Instance.ConfigIni.KeyAssign[ pad ][ ptr ].入力デバイス = EInputDevice.Keyboard;\r
+                                       CDTXMania.Instance.ConfigIni.KeyAssign[ pad ][ ptr ].ID = 0;\r
+                                       CDTXMania.Instance.ConfigIni.KeyAssign[ pad ][ ptr ].コード = i;\r
                                        return true;\r
                                }\r
                        }\r