2.0 alpha
[platform/core/system/devman.git] / include / device_haptic.h
old mode 100755 (executable)
new mode 100644 (file)
similarity index 91%
rename from device_haptic.h
rename to include/device_haptic.h
index 8d0c3fc..b0587e6
@@ -4,7 +4,7 @@
  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
  *
  * Contact: DongGi Jang <dg0402.jang@samsung.com>
- * 
+ *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * You may obtain a copy of the License at
@@ -17,7 +17,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
-*/ 
+*/
 
 
 #ifndef __DEVICE_HAPTIC_H__
@@ -38,6 +38,11 @@ extern "C" {
 #define DEFAULT_DEVICE_HANDLE          1
 
 /*
+ * Default duration value
+ */
+#define DEFAULT_DURATION_VALUE         30
+
+/*
  * Motor property for generic APIs
  */
        enum {
@@ -51,6 +56,7 @@ extern "C" {
  * Feedback level for generic APIs
  */
        enum {
+               VIBE_FEEDBACK_LEVEL_0 = 0,      /* HAPTIC FEEDBACK LEVEL 0 */
                VIBE_FEEDBACK_LEVEL_1 = 2000,   /* HAPTIC_FEEDBACK_LEVEL_1 */
                VIBE_FEEDBACK_LEVEL_2 = 4000,   /* HAPTIC_FEEDBACK_LEVEL_2 */
                VIBE_FEEDBACK_LEVEL_3 = 6000,   /* HAPTIC_FEEDBACK_LEVEL_3 */