I've been having some fun with the netduino plus 2 and I've prepared a little code sample on capturing a double tap (or double button push).
The main focus is on the on-board button, but can be altered to work as you require.
NOTE: this code is not mean to be optimized, just as a demonstration.
DoubleTapSample-Program.cs.zip 1.09KB 4 downloads