pub fn bind_scancode_to_axis(
        mut self,
        keycode: Key,
        axis: Axes,
        direction: AxisDirection,
    ) -> Self {
        self.bindings.insert(
            InputType::ScanCode(keycode),
            InputEffect::Axis(axis, direction),
        );
        self
    }
/// Adds a key binding connecting the given scancode (layout-independent key identifier) to the
/// given logical axis.
Adds a key binding connecting the given scancode (layout-independent key identifier) to the
given logical axis.
Adds a key binding connecting the given scancode ( layout - independent key identifier ) to the given logical axis .
pub fn bind_scancode_to_axis(
        mut self,
        keycode: Key,
        axis: Axes,
        direction: AxisDirection,
    ) -> Self {
        self.bindings.insert(
            InputType::ScanCode(keycode),
            InputEffect::Axis(axis, direction),
        );
        self
    }
pub fn bind_scancode_to_axis ( mut self , keycode : Key , axis : Axes , direction : AxisDirection , ) -> Self { self . bindings . insert ( InputType :: ScanCode ( keycode ) , InputEffect :: Axis ( axis , direction ) , ) ; self }
Adds a key binding connecting the given scancode (layout-independent key identifier) to the
given logical axis.
Adds a key binding connecting the given scancode ( layout - independent key identifier ) to the given logical axis .
mut self
keycode
Key
axis
Axes
direction
AxisDirection
mut self
keycode
Key
axis
Axes
direction
AxisDirection