~onboard/onboard/0.99

« back to all changes in this revision

Viewing changes to Onboard/ClickSimulator.py

  • Committer: marmuta
  • Date: 2013-08-14 12:59:26 UTC
  • Revision ID: marmvta@gmail.com-20130814125926-vbvamvmr0k2883hl
Make sure the click simulator falls back to CSButtonMapper if the XInput event source is unavailable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
177
177
        self.end_mapping()
178
178
        self._click_done_notify_callbacks = []
179
179
 
 
180
    def is_valid(self):
 
181
        return self._device_manager.is_valid()
 
182
 
180
183
    def supports_click_params(self, button, click_type):
181
184
        return True
182
185