oddbear / Loupedeck.Companion.Plugin

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

Dial Rotate options #1

Open SunilKaranjikar opened 1 year ago

SunilKaranjikar commented 1 year ago

Hello, With the new updates to Companion allowing Rotate functionality specifically for Loupedeck, it would be good to allow 'Companion Rotate' dial type actions similar to 'Companion Buttons'

oddbear commented 1 year ago

Thanks for the request. I will look into it. :)

SunilKaranjikar commented 1 year ago

Thank you. Here's some info from the companion git. https://github.com/bitfocus/companion/pull/2156

On Thu, Dec 1, 2022 at 1:27 AM Oddbjørn Bakke @.***> wrote:

Thanks for the request. I will look into it. :)

— Reply to this email directly, view it on GitHub https://github.com/oddbear/Loupedeck.Companion.Plugin/issues/1#issuecomment-1333472903, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4LQJWBZ44IBLOE4XU6WA3DWLBVQFANCNFSM6AAAAAASQKOMJI . You are receiving this because you authored the thread.Message ID: @.***>

oddbear commented 1 year ago

Have you been able to test this out, outside of this plugin? (either with Stream Deck +, or Loupedeck "direct USB" mode)

I have not been able to test it from USB mode: image

image image

However, what I am using for the plugin is this their (Stream Deck) API: image

But I am not able to find any references to rotation in that one yet.

Currently in Companion 2.4.0+4877-v2-4.0-cd0b68c6

Update 1: I got it working in direct USB mode, by reading this documentation.

Graphics are broken on the dial / rotary encoders.

For the API, I think I would need to ask some of the BitFocus people if this is implemented.

SunilKaranjikar commented 1 year ago

Hi, I have tried to use this with the direct USB connection and it works fine. Buttons 1.1, 1.9,1.17 and 1.8, 1.16,1.24 are the ones that get mapped to the encoders. Buttons 2,7,10, 15, 18, 23 are currently not used for loupedeck Live surfaces.

I would think if you can just allow buttons 1, 9,17 and 8, 16, 24 to be mapped as "companion rotary" and assigned to the encoders on the loupedeck it should be good to go.

On Sun, Dec 4, 2022, 15:16 Oddbjørn Bakke @.***> wrote:

Have you been able to test this out, outside of this plugin? (either with Stream Deck +, or Loupedeck "direct USB" mode)

I have not been able to test it from USB mode: [image: image] https://user-images.githubusercontent.com/2109782/205521176-365eb5bb-2079-47fc-8a33-b219c0334b92.png

[image: image] https://user-images.githubusercontent.com/2109782/205521221-d772dd4d-f3ab-416a-a6ba-86362146480a.png [image: image] https://user-images.githubusercontent.com/2109782/205521348-f1f49040-d765-4f2a-944d-eba5ca2e3939.png

However, what I am using for the plugin is this their (Stream Deck) API: [image: image] https://user-images.githubusercontent.com/2109782/205520793-f7d08a57-831e-42a2-b083-dfcbb5923566.png

But I am not able to find any references to rotation in that one yet.

Currently in Companion 2.4.0+4877-v2-4.0-cd0b68c6

— Reply to this email directly, view it on GitHub https://github.com/oddbear/Loupedeck.Companion.Plugin/issues/1#issuecomment-1336545862, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4LQJWBYFFULMVFBWN27CBDWLUQ4HANCNFSM6AAAAAASQKOMJI . You are receiving this because you authored the thread.Message ID: @.***>

oddbear commented 1 year ago

A small update. The plugin API I use does not seem to support this at all. The response I got from Bitfocus was that I could use the Satellite API.

However, the feature set does not overlap. So to press a button for a specific page does not seem possible with the Satellite API, just the current page. That means that the Satellite API is just possible to use for the directory / companion button.

So I might add different feature sets from different APIs for specific buttons, and for using a page. For specific addressed buttons the dial is not possible to use other than for press and release events.

SunilKaranjikar commented 1 year ago

Thanks for letting me know. Hopefully they have a new API in a while to deal with the Streamdeck +

Julusian commented 1 year ago

Since Companion 3.0, the plugin api supports this

SunilKaranjikar commented 7 months ago

@oddbear Is this feature still on the open list?