A sample that catches hard key events