Closed-palm detection