Logic does also have a "virtual keyboard", which translates keyboard keys to MIDI notes.
Further, there are free virtual keyboard software out there, that does this without the need to run in a DAW - for example http://freepiano.tiwb.com/en/ (note that the software in the link has nothing to do with Toontrack, nor have I tried it myself) 🙂