From 0c8faf27ea83c3996c68b0ab02c0b4ed824b4129 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 31 Jul 2014 12:01:04 -0500 Subject: in haptic.cpp, better comments --- src/haptic.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/haptic.cpp') diff --git a/src/haptic.cpp b/src/haptic.cpp index 637c6f5..90c75f7 100644 --- a/src/haptic.cpp +++ b/src/haptic.cpp @@ -45,6 +45,9 @@ public: } else { + /* We only support one vibrate mode for now: an on/off pulse at + one-second intervals. So, set a timer to go off every 2 seconds + that vibrates for one second. */ ua_sensors_haptic_enable(m_sensor); m_tag = g_timeout_add_seconds (2, on_timeout, this); on_timeout (this); -- cgit v1.2.3