What instrument came before the piano?

As far as I know, the instrument before the piano was the harpsichord, an instrument best suited to the baroque period. It had no pedals, so trills were used when a note needed to be held on. This is why we see trills in our music (by composers such as Beethoven) today. Being a flautist and saxophonist, (Grade 5+) I am pretty sure this is right. Hope this helps :)