This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Class Form1 | |
<Runtime.InteropServices.DllImport("user32.dll")> | |
Private Shared Function GetAsyncKeyState( | |
ByVal nVirtKey As Integer) As Integer | |
End Function | |
Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long | |
Private Class Controller | |
Public _d As Boolean = False | |
Public _u As Boolean = False | |
Public _l As Boolean = False |