Just write that comands under inputfields like if you want to go forward and climb up, you write speed = 2 to first inputfield and climb to second inputfield.