Add filters for keypress detection