function update() -- Get the axis input. local axis = vci.me.GetAxisInput() if axis.x ~= 0 then print(" X : "..tostring(axis.x)) end if axis.y ~= 0 then print(" Y : "..tostring(axis.y)) end if axis.z ~= 0 then print(" Z : "..tostring(axis.z)) end if vci.me.GetButtonInput(1) then print(" Button1 pushed") end if vci.me.GetButtonInput(2) then print(" Button2 pushed") end if vci.me.GetButtonInput(3) then print(" Button3 pushed") end if vci.me.GetButtonInput(4) then print(" Button4 pushed") end end