diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/utouch/frame.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/utouch/frame.h b/include/utouch/frame.h index 5b5f4d2..03a44aa 100644 --- a/include/utouch/frame.h +++ b/include/utouch/frame.h | |||
| @@ -250,6 +250,17 @@ struct utouch_contact *utouch_frame_get_current_slot(utouch_frame_handle fh); | |||
| 250 | int utouch_frame_set_current_slot(utouch_frame_handle fh, int slot); | 250 | int utouch_frame_set_current_slot(utouch_frame_handle fh, int slot); |
| 251 | 251 | ||
| 252 | /** | 252 | /** |
| 253 | * utouch_frame_set_current_id - set the current slot by touch id | ||
| 254 | * @fh: the frame engine in use | ||
| 255 | * @id: the touch id | ||
| 256 | * | ||
| 257 | * Sets the slot currently being modified, by touch id. If the id is | ||
| 258 | * not currently in use (does not have an active slot), a new slot is | ||
| 259 | * assigned. Returns zero if successful, negative error otherwise. | ||
| 260 | */ | ||
| 261 | int utouch_frame_set_current_id(utouch_frame_handle fh, int id); | ||
| 262 | |||
| 263 | /** | ||
| 253 | * utouch_frame_sync - synchronize and return new frame | 264 | * utouch_frame_sync - synchronize and return new frame |
| 254 | * @fh: the frame engine in use | 265 | * @fh: the frame engine in use |
| 255 | * @time: the frame synchronization time (ms) | 266 | * @time: the frame synchronization time (ms) |
