OSDN Git Service

hog: Add initial files for suspend support
authorClaudio Takahasi <claudio.takahasi@openbossa.org>
Tue, 25 Sep 2012 15:34:15 +0000 (12:34 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 28 Sep 2012 09:53:01 +0000 (12:53 +0300)
commitdf78f047c09938596047e8a764834696f85a5bae
tree2c233a28700a6441d7da0223e5df6ba739c5bf8e
parent7fc008ec54513ec4c880f2a631bb4ac82950e985
hog: Add initial files for suspend support

This patch adds the initial files to support HoG suspend. The suspend
concept for HoG is implementation specific. The proposal is allowing
back-end selection at build time. Each Linux distribution/platform is
responsible for defining and writting their own policy to manage suspend
on HoG capable devices.

When setting the Control Point, the report device can execute actions to
save power. eg: Reduce the cycle of the key press detection or disable
LEDs.
Makefile.am
profiles/input/hog_manager.c
profiles/input/suspend-dummy.c [new file with mode: 0644]
profiles/input/suspend.h [new file with mode: 0644]