Joystick flick

I need ideas on how to detect quick flicks in a specific direction on a joystick