Add haptic feedback for timeline pin action
This commit is contained in:
@@ -267,6 +267,12 @@ static void send_pin_to_pkjs() {
|
||||
static void select_single_click_handler(ClickRecognizerRef recognizer, void *context) {
|
||||
pin_animation_start();
|
||||
send_pin_to_pkjs();
|
||||
static const uint32_t segments[] = {60};
|
||||
VibePattern pattern = {
|
||||
.durations = segments,
|
||||
.num_segments = ARRAY_LENGTH(segments),
|
||||
};
|
||||
vibes_enqueue_custom_pattern(pattern);
|
||||
}
|
||||
|
||||
static void click_config_provider(Window *window) {
|
||||
|
||||
Reference in New Issue
Block a user