[][src]Trait romy_core::input::InputCombine

pub trait InputCombine {
    fn combine(&self, with: &Self) -> Self;
}

Trait for combining two inputs together

Required methods

fn combine(&self, with: &Self) -> Self

Combine this input with another one, usually this means any pressed buttons from either device will be down in the new one

Loading content...

Implementors

impl InputCombine for InputDevice[src]

impl InputCombine for Controller[src]

impl InputCombine for InputCollection[src]

impl InputCombine for Keyboard[src]

impl InputCombine for Nes[src]

Loading content...