Hammer-detector