implement digital from float action
This allows binding a digital (boolean) action to a float value (e.g. trigger), without relying on the runtime to make an opaque decision when the trigger value should be false/true.
When the optional haptic feedback action url is passed, haptic feedback will be applied when the given threshold is passed in either direction.