Code:
Private Declare Function GetKeyPress Lib "user32" Alias "GetAsyncKeyState" (ByVal key As Integer) As Integer
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If GetKeyPress(Keys.Enter) Then
MsgBox("Enter was pressed yo")
End If
End Sub
I can't believe I didn't think of doing this before, I've been using overrides this whole time for hotkeys D:
If you want to use complex hotkeys, then change the if statement:
Code:
If GetKeyPress(Keys.Control) & GetKeyPress(Keys.Alt) & GetKeyPress(Keys.A) Then
MsgBox("F5")
End If
(That's for Ctrl+Alt+A)

















