Code handling XBOX controller reading for EdgeLaser