Logitech / logi_craft_sdk

Provide (API) SDK specifications to map your app functions to Logitech Craft dial controller called "Crown".
575 stars 110 forks source link

Allow exclusive access to the crown, in order to support DAW/VST/MIDI apps #32

Open SaveTheHuman5 opened 4 years ago

SaveTheHuman5 commented 4 years ago

Can include a new activation message to allow exclusive access to crown form the client? Example:

registerRootObject.message_type = "register_exclusive";

This register exclusive new register message allow to the client to pickup crown events no matter the windows is foreground or not. This allow to create some cool things for the crown, as a controls for MIDI, DAWs, VST, (implement craft with my software Elephant), Once the client is destroyed, all can back to work to normal or can send a disconnect message. This is the correct way of implement with Elephant, no idea if Logitech can implement this. Is possible?

SaveTheHuman5 commented 4 years ago

Possible easy solution, an easier way to integrate craft with Elephant what can be with hotkeys sent by the crown, but I see a bug or incorrect behaviour. I can pickup the hotkeys and convert to MIDI and other events........but I do the following test and found this bug:

I assign key a, to crown rotation right, all programs, and then rotate to the right 360 degrees very slow, this is the result. aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Then I repeat the same rotating the crown very faster to the right again 360 degrees, this is the result: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa why?

In first place the number of hotkeys/keys sent should be the same per one complete rotation and Logitech Options should have a slider bar or something for setup the sensitivity, in that way user can choose fro some range of 20 key events per rotation to a maximum of 360, one key sent per degree of rotation.

This wrong behaviour not only affect a possible implementation of craft with Elephant using hotkeys, this also affects users want use keys for non supported programs.

Example: User want assign keys to a video editor for scrub the video to left right, you know video scrub. When user rotate the crown slow, the scrub be super faster, and when user rotate the crown faster, the scrub be super slow! The correct behaviour and what user want should be opposite.

dotlogix commented 4 years ago

It seems this issue does not get any attention. This feature would be really useful to create custom plugins to use in any application. Just keys are just not enough so please add a way to create custom plugins for any application not filtered by any path

cyberluke commented 3 years ago

This would be really useful!