EE had changed attachment on skid steer and noticed loose pin. EE attempted to fix the pin by reaching out of the machine. EE accidentally hit the controls and in turn pinched EE's right hand between the lift arm and the frame of the machine causing multiple fractures to the ring finger and thumb of the right hand as well as soft tissue injury.