Bindings and Gamepads
Gamepads
Mercurial’s gamepads are a thin wrapper over Pasteurized Gamepads. Go give the Pasteurized docs a look first.
The basic differences are:
- Mercurial gamepads have support for command bindings.
- Mercurial gamepads are obtained from Mercurial, rather than from Pasteurized.
Mercurial’s BoundBooleanSupplier
and BoundDoubleSupplier
can both be built
from wrapping their Enhanced equivalents, or directly, see bindings for
examples.
You can combine buttons, sticks, triggers in the same ways as you can in Pasteurized.
Additionally, the layering systems will work as well:
Overall, not too different from Pasteurized.