Take Behringer’s Roland-inspired RD-8 and RD-9, for example. Each offers USB connectivity that allows them to be synced to a DAW, but they can also send MIDI out to other machines. So far so ...
In our example, the bass drum is triggering from the MIDI note C1. You can play this manually, or enter the note values using some form of sequencer which should be available within your DAW.