added support for analog joysticks to create pressed/released events