It could be difficult to get a perfect BPM value from mouse or keyboard, but you only need an approximate value anyway... A better method that would be more accurate and just a nice feature would be tap tempo from an input channel. Like tap the tempo on the mic ;)

I like it already.
Press Ctrl+alt+F10 to bring up the tap tempo menu ;)