47#define N_HAPTIC_TYPE_KEY "haptic.type"
49#define N_HAPTIC_TYPE_TOUCH "touch"
50#define N_HAPTIC_TYPE_EVENT "event"
52#define N_HAPTIC_EFFECT_KEY "haptic.effect"
54#define N_HAPTIC_EFFECT_DEFAULT "default"
65#define N_HAPTIC_EFFECT_DRAG_START "drag_start"
66#define N_HAPTIC_EFFECT_RELEASE_WEAK "release_weak"
67#define N_HAPTIC_EFFECT_DRAG_FAIL "drag_fail"
68#define N_HAPTIC_EFFECT_DRAG_BOUNDARY "drag_boundary"
69#define N_HAPTIC_EFFECT_TOUCH_WEAK "touch_weak"
70#define N_HAPTIC_EFFECT_DRAG_END "drag_end"
71#define N_HAPTIC_EFFECT_RELEASE "release"
72#define N_HAPTIC_EFFECT_TOUCH "touch"
73#define N_HAPTIC_EFFECT_RELEASE_STRONG "release_strong"
74#define N_HAPTIC_EFFECT_TOUCH_STRONG "touch_strong"
75#define N_HAPTIC_EFFECT_SHORT "short"
76#define N_HAPTIC_EFFECT_STRONG "strong"
77#define N_HAPTIC_EFFECT_LONG "long"
78#define N_HAPTIC_EFFECT_NOTICE "notice"
79#define N_HAPTIC_EFFECT_MESSAGE "message"
80#define N_HAPTIC_EFFECT_ATTENTION "attention"
81#define N_HAPTIC_EFFECT_ALARM "alarm"
82#define N_HAPTIC_EFFECT_RINGTONE "ringtone"
85#define N_HAPTIC_CLASS_UNDEFINED (0)
86#define N_HAPTIC_CLASS_TOUCH (1)
87#define N_HAPTIC_CLASS_EVENT (2)
const char * n_haptic_effect_for_request(NRequest *request)
int n_haptic_class_for_type(const char *haptic_type)
int n_haptic_can_handle(NSinkInterface *iface, NRequest *request)
Convenience function to filter haptic depending on settings and call state.
struct _NRequest NRequest
Internal request structure.
Definition request.h:26
struct _NSinkInterface NSinkInterface
Internal sinkinterface structure.
Definition sinkinterface.h:26