~andreas-pokorny/mir/key-repeater-on-timer-fd-utility

Viewing all changes in revision 3757.

  • Committer: Andreas Pokorny
  • Date: 2016-10-12 05:28:11 UTC
  • Revision ID: andreas.pokorny@canonical.com-20161012052811-t7dqmw17kumkzup3
Add a simpler key repeater utility class for stub and evdev input platform

The key repeater is meant to be integrated with the Dispatchable classes and will replace the key repeater that currently abuses the main loop in inject repeated keys inside the mirserver. It uses a new mircommon steady_timer_fd utility that wrapps CLOCK_MONOTONIC timer fds.

This is a preparation step to move the repeat handling inside the input platforms, which will evade another mirserver event type fumbling location.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: