ButtonBinding

typealias ButtonBinding = Quadruple<Button, () -> Command, () -> Command, () -> Command>

Type alias for a button binding.

Represents a Quadruple of Button, press command supplier, release command supplier, and hold command supplier. Used to specify the actions to take when a button is pressed, released, or held.

Example:

Quadruple(Button.A, { MyCommand() }, { MyReleaseCommand() }, { MyHoldCommand() })