# Haptic Feedback on floating menu

**URL:** <https://community.folivora.ai/t/haptic-feedback-on-floating-menu/41524>\
**Category:** Configuration Help & General Discussion\
**Tags:** floating-menu\
**Created:** [January 6, 2025, 2:15pm UTC](https://community.folivora.ai/t/haptic-feedback-on-floating-menu/41524 "2025-01-06T14:15:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShailAntani](https://community.folivora.ai/user_avatar/community.folivora.ai/shailantani/32/35342_2.png) [@ShailAntani](https://community.folivora.ai/u/ShailAntani)\
**Post date:** [January 6, 2025, 2:15pm UTC](https://community.folivora.ai/t/haptic-feedback-on-floating-menu/41524/1 "2025-01-06T14:15:23Z")

</div>

Hi I'm using this floating menu that gets triggered upon clicking the key sequence "control + control".  
The radial switcher then pops up showing the recent apps. I would like to have a trackpad haptic feedback when hovering over the apps circles if possible.

Thanks a lot

 ![Screenshot 2025-01-06 at 7.39.41 PM](https://community.folivora.ai/uploads/default/original/3X/9/0/90acb797ed37b297ba16985238bd9d07f22d8190.jpeg)

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [January 6, 2025, 8:08pm UTC](https://community.folivora.ai/t/haptic-feedback-on-floating-menu/41524/2 "2025-01-06T20:08:18Z")

</div>

you can use the "hover start" action category and the "perform haptic feedback on trackpad" action:

 ![image](https://community.folivora.ai/uploads/default/original/3X/e/e/eef14edf8df830ea080865b2d65420646d82bcde.jpeg)

---

<div class="post-metadata">

**Author:** ![ShailAntani](https://community.folivora.ai/user_avatar/community.folivora.ai/shailantani/32/35342_2.png) [@ShailAntani](https://community.folivora.ai/u/ShailAntani)\
**Post date:** [January 8, 2025, 11:11am UTC](https://community.folivora.ai/t/haptic-feedback-on-floating-menu/41524/3 "2025-01-08T11:11:07Z")

</div>

thank you so much for the help! That partially solved it, but, I wanted the haptics to occur, when I hover over the circles, but when I set the "actions executed on hover start" It gives me a haptic feedback whenever I hover in the Square menu. I hope that made sense 😅  
Is there any way to get the haptic when hovering over the circles?  
Again, thanks a lot for the support :))

 ![Screenshot 2025-01-08 at 4.40.17 PM](https://community.folivora.ai/uploads/default/original/3X/1/a/1a2f698b96838b31910b87e710dbc2883f304839.png)

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [January 8, 2025, 11:12am UTC](https://community.folivora.ai/t/haptic-feedback-on-floating-menu/41524/4 "2025-01-08T11:12:33Z")

</div>

you need to add the action it to every item, not to the menu itself 🙂

---

<div class="post-metadata">

**Author:** ![ShailAntani](https://community.folivora.ai/user_avatar/community.folivora.ai/shailantani/32/35342_2.png) [@ShailAntani](https://community.folivora.ai/u/ShailAntani)\
**Post date:** [January 8, 2025, 11:21am UTC](https://community.folivora.ai/t/haptic-feedback-on-floating-menu/41524/5 "2025-01-08T11:21:11Z")

</div>

Ah that makes sense, sorry im bit of a newbie here,  
So I've used the radial app switcher template that you had posted about:  
And in that menu, theres only 1 item "item template"  
I dont think it would work if I added the haptics on that icon template right?  
Again, sorry for the beginner type quetions :"))

 ![Screenshot 2025-01-08 at 4.49.56 PM](https://community.folivora.ai/uploads/default/original/3X/0/d/0dbaa432b8bf25a0f0d24aa10119d76a4106a1cb.png)  
 ![Screenshot 2025-01-08 at 4.50.06 PM](https://community.folivora.ai/uploads/default/original/3X/3/7/374247cc3afa06e3775e43db06bcd2cae0b2356d.png)

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [January 8, 2025, 11:22am UTC](https://community.folivora.ai/t/haptic-feedback-on-floating-menu/41524/6 "2025-01-08T11:22:17Z")

</div>

Correct for dynamically generated menus this is a bit more complicated. Could you export your current menu (right-click export to file) and post it here? Then I can adjust it for you. (later, need to leave for a few hours now)

---

<div class="post-metadata">

**Author:** ![ShailAntani](https://community.folivora.ai/user_avatar/community.folivora.ai/shailantani/32/35342_2.png) [@ShailAntani](https://community.folivora.ai/u/ShailAntani)\
**Post date:** [January 8, 2025, 11:25am UTC](https://community.folivora.ai/t/haptic-feedback-on-floating-menu/41524/7 "2025-01-08T11:25:34Z")

</div>

Ofcourse, thanks a lot. Appreciate the help very much, Andreas!  
Here you go  
[exported\_triggers(radial\_app).bttpreset](https://community.folivora.ai/uploads/short-url/omWO9Gft6Bun9jbIEdX4oH7meJ6.bttpreset) (7.6 KB)

---

<div class="post-metadata">

**Author:** ![ShailAntani](https://community.folivora.ai/user_avatar/community.folivora.ai/shailantani/32/35342_2.png) [@ShailAntani](https://community.folivora.ai/u/ShailAntani)\
**Post date:** [January 10, 2025, 12:09pm UTC](https://community.folivora.ai/t/haptic-feedback-on-floating-menu/41524/8 "2025-01-10T12:09:10Z")

</div>

@Andreas_Hegenberg Hey! Sorry for the tag, did you have a chance to go through this?  
Thanks! 🙂

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [January 10, 2025, 12:52pm UTC](https://community.folivora.ai/t/haptic-feedback-on-floating-menu/41524/9 "2025-01-10T12:52:32Z")

</div>

Can you try this content script?:

```auto
async function retrieveJSON() {
    let apps = await BTTActions.copyLaunchedApplicationsInFrontToBackOrder();
    let menuItems = [];
    let i = 0;
    for (let app of apps) {
        if (i > 9) { break; }
        i++;
        let item = {
            templateItemUUID: "BFBD1B46-0E72-49CF-B4DB-C2CB017E82B2",
            title: "",
            actions: {
                standard: `js::(async () => {runShellScript({script: 'open "${app.BundlePath}"'})})()`,
                hover: {
                    "btt": "trigger_action",
                    "args": {
                        "json": { BTTPredefinedActionType: 255, BTTHapticFeedbackAction: 2 }
                    }
                },

            },
            icon: `path::${app.AppIconPath}::width@@40`
        };
        menuItems.push(item);
    }

    return JSON.stringify(menuItems);
}

```

 ![image](https://community.folivora.ai/uploads/default/original/3X/c/8/c8828e691e4119cd790eea3f986f480c5085b5b0.jpeg)

---

<div class="post-metadata">

**Author:** ![ShailAntani](https://community.folivora.ai/user_avatar/community.folivora.ai/shailantani/32/35342_2.png) [@ShailAntani](https://community.folivora.ai/u/ShailAntani)\
**Post date:** [January 10, 2025, 1:54pm UTC](https://community.folivora.ai/t/haptic-feedback-on-floating-menu/41524/10 "2025-01-10T13:54:43Z")

</div>

That worked perfectly!  
Thank you so much for the support and taking time out to create the script :))
