I've included a basic code snippet below. I'm not sure what is going on. The button works fine until I add in the text input. Once I put in the text input that captures everything and the buttons no longer work?
SetWindowTitle( "HelloWorld" )
SetWindowSize( GetMaxDeviceWidth(), 768, 0 )
SetVirtualResolution( GetMaxDeviceWidth(), 768 )
SetOrientationAllowed( 1, 1, 1, 1 )
StartTextInput("")
text$=""
do
LoadImage ( 1, "spin_frog.png" )
LoadImage( 2, "Cloud_A.png" )
txtWidth = GetTextTotalWidth(1)
deviceWidth = GetMaxDeviceWidth()
SetTextPosition ( 1, deviceWidth/2 - txtWidth/2, 75 )
SetTextSize ( 1, 48 )
AddVirtualButton( 1, deviceWidth/2 - txtWidth/2, 600, 200 )
SetVirtualButtonText( 1, "Submit" )
SetVirtualButtonVisible(1,1)
SetVirtualButtonImageUp( 1, 2 )
If GetVirtualButtonState(1)=1
Print("Button Down")
SetVirtualButtonImageDown( 1, 1 )
EndIf
Sync()
loop