summaryrefslogtreecommitdiffstats
path: root/evdev.hpp
diff options
context:
space:
mode:
authorGunnar Mills <gmills@us.ibm.com>2017-07-27 15:22:42 -0500
committerGunnar Mills <gmills@us.ibm.com>2017-07-28 12:34:51 -0500
commit9925857a9ef0e47f105a21186a809a3b094461b3 (patch)
tree481de329c30d097c96e6aab93af86fff0f1d12e6 /evdev.hpp
parent835dfb8877fd2e78281e22b8b08dc29e0e9ef5a5 (diff)
downloadphosphor-gpio-monitor-9925857a9ef0e47f105a21186a809a3b094461b3.zip
phosphor-gpio-monitor-9925857a9ef0e47f105a21186a809a3b094461b3.tar.gz
Refactor GPIO Monitor class
Refactor the GPIO Monitor class to use a common class, Evdev, to inherit from. Evdev does the basic libevdev handling. Change-Id: I427aa9720b0bbbea0284c0babcc03ece92e55f5e Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
Diffstat (limited to 'evdev.hpp')
-rw-r--r--evdev.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/evdev.hpp b/evdev.hpp
index b3189f1..353c593 100644
--- a/evdev.hpp
+++ b/evdev.hpp
@@ -70,8 +70,7 @@ class Evdev
* @param[in] path - Device path to read for GPIO pin state
* @param[in] key - GPIO key to monitor
* @param[in] event - sd_event handler
- * @param[in] handler - IO callback handler. Defaults to one in this
- * class
+ * @param[in] handler - IO callback handler.
* @param[in] useEvDev - Whether to use EvDev to retrieve events
*/
Evdev(const std::string& path,
OpenPOWER on IntegriCloud