So I add the library jGameViewHelper.jar, create an instance of the GameViewHelper object in Process_Globals,
Private gvh As GameViewHelper
Add a key listener to the main form:
MainForm = Form1
gvh.AddKeyListener("GVH", MainForm)
Declare a key up handler:
Sub GVH_KeyReleased (KeyCode As String) As Boolean
Log (KeyCode)
End Sub
Simples!
Thanks Erel, very nice.