A better button library!

How to determine how long a button is pressed - Using Arduino / Project Guidance - Arduino Forum