aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-31 12:01:04 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-07-31 12:01:04 -0500
commit0c8faf27ea83c3996c68b0ab02c0b4ed824b4129 (patch)
treed79677c9550e2f72fe60c3c9b44aa2232e463ff6
parentad789d53f4c4bb059eb52c97c53d720c7ccb7a3e (diff)
downloadayatana-indicator-datetime-0c8faf27ea83c3996c68b0ab02c0b4ed824b4129.tar.gz
ayatana-indicator-datetime-0c8faf27ea83c3996c68b0ab02c0b4ed824b4129.tar.bz2
ayatana-indicator-datetime-0c8faf27ea83c3996c68b0ab02c0b4ed824b4129.zip
in haptic.cpp, better comments
-rw-r--r--src/haptic.cpp3
1 files changed, 3 insertions, 0 deletions
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);