oddbear / Loupedeck.Companion.Plugin

Bitfocus Companion Plugin (unofficial) for the Loupedeck interface.
MIT License
6 stars 0 forks source link

Companion action in a Loupedeck macro #2

Closed JulAms closed 1 year ago

JulAms commented 1 year ago

I'm trying to use a companion action in a loupedeck macro but it doesn't work. If I put the stored companion action on a button in loupedeck it works fine. Any ideas?

oddbear commented 1 year ago

Interesting, and thanks for reporting.

It seems like this can be fixed with a update, but not to sure what's the best approach. Maybe you have some input on this (see options)?

The problem: Companion has "Press actions" and "Release actions". There is a similar concept in Loupedeck, and therefor those are used in the plugin (TouchDown and TouchUp).

However... when running it as a macro, there is no touch event on the device, and nothing will therefor happen. I will therefor have to "simulate" a touch event, and there are some options. But not sure what would be the best for the user here.

The options (when in macro):

I tested with the last, and it seemed to work.

JulAms commented 1 year ago

Hey! Thanks for your reply. In my opinion a macro should simulate a full key press, so press and release. But all three options would work for me.

oddbear commented 1 year ago

Hey! Thanks for your reply. In my opinion a macro should simulate a full key press, so press and release. But all three options would work for me.

Currently testing out what is probably going to be submitted to the store soon. If you want to check out the package before, or just help testing. You can download it from: https://github.com/oddbear/Loupedeck.Companion.Plugin/releases/download/v0.2.5/Loupedeck.Companion.Plugin_0_2_5.lplug4

JulAms commented 1 year ago

Thanks a lot for this. Unfortunately, I still haven't managed to test it extensively, but at first glance it seems to work.

oddbear commented 1 year ago

This update is now live in the Louepedeck Marketplace.