~andreas-pokorny/mir/09-input-config-authorizer

« back to all changes in this revision

Viewing changes to include/platform/mir/input/touchpad_settings.h

  • Committer: Andreas Pokorny
  • Date: 2016-11-03 08:59:55 UTC
  • Revision ID: andreas.pokorny@canonical.com-20161103085955-ymn3h6b7m57hckr0
forward input device configurations in nested platform

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    bool middle_mouse_button_emulation{true};
41
41
};
42
42
 
 
43
inline bool operator==(TouchpadSettings const& lhs, TouchpadSettings const& rhs)
 
44
{
 
45
    return lhs.click_mode == rhs.click_mode && lhs.scroll_mode == rhs.scroll_mode &&
 
46
           lhs.button_down_scroll_button == rhs.button_down_scroll_button && lhs.tap_to_click == rhs.tap_to_click &&
 
47
           lhs.disable_while_typing == rhs.disable_while_typing && lhs.disable_with_mouse == rhs.disable_with_mouse &&
 
48
           lhs.middle_mouse_button_emulation == rhs.middle_mouse_button_emulation;
 
49
}
 
50
 
43
51
}
44
52
}
45
53