adds additional logic to leap motion input.