HapticLib
0.7
Haptic Feedback Library for embedded systems
|
Single haptor descriptor. More...
#include <hapticLib.h>
Data Fields | |
uint8_t | id |
Unique ID to designate the haptor. | |
uint16_t | min_duty |
Minimum duty cycle to activate the tactor. | |
uint16_t | max_duty |
Maximum duty cycle to feed to the tactor. | |
pattern_desc * | activePattern |
Reference to the active pattern driving this haptor. | |
struct haptor_desc * | nextHaptor |
Reference to another haptor_desc. |
Single haptor descriptor.
HapticLib keep track of all the haptors configured in the system using one haptor_desc struct for each of them.
To know what kind of informations holds, please refer to its data structure haptor_desc.
Definition at line 1921 of file hapticLib.h.
pattern_desc* activePattern |
Reference to the active pattern driving this haptor.
If it is NULL
the haptor is free to be activated by a pattern.
Definition at line 1937 of file hapticLib.h.
uint8_t id |
Unique ID to designate the haptor.
Definition at line 1922 of file hapticLib.h.
uint16_t max_duty |
Maximum duty cycle to feed to the tactor.
Definition at line 1934 of file hapticLib.h.
uint16_t min_duty |
Minimum duty cycle to activate the tactor.
Definition at line 1931 of file hapticLib.h.
struct haptor_desc* nextHaptor |
Reference to another haptor_desc.
This links create a list of haptors chained together to form an haptor group driven by the same pattern.
Definition at line 1946 of file hapticLib.h.