It should be able to work the same way, what I would do is simply before they hit the ground if they press the same button again, send it to a glide event. So a little something like this.
Get button down->In Air-> Get Button Down (Same one, before hitting ground)-> Glide-> Get Button Up(Release)-> Fall to ground.