added enter and leave 6DOF events
removed doumentation build for code size count