Beispiel #1
0
bool ControlMapper::operator==(const ControlMapper &other) const
{
    return m_Device == other.m_Device
           && m_Event == other.m_Event
           && CompareAxisProps(other.m_Axis)
           && m_Label == other.m_Label;
}
Beispiel #2
0
bool Intensity::operator==(const Intensity &other) const
{
    return m_Device == other.m_Device
    && m_Event == other.m_Event
    && m_direction == other.m_direction
    && CompareAxisProps(other.m_Axis)
    && m_dead_zone == other.m_dead_zone
    && m_shape == other.m_shape
    && m_steps == other.m_steps;
}