logi_craft_sdk
logi_craft_sdk copied to clipboard
Craft keyboard C# Plugin
I have recently purchased the Logitech Craft Keyboard and I am currently trying to develop a custom plugin for it in c#.
I have downloaded the examples from the github page and created my own plugin in C# following the same pattern as the WinFormsCrownSample using the instructions located here: https://github.com/Logitech/logi_craft_sdk/blob/master/samples/WinFormsCrownSample/README.md
I have created my plugin folder with a GUID, created the Gallery, Languages and Manifest folders within this. I have created the defaults.jspon and tools.json files and specified the GUID within these along with the other relevant information. I have placed this folder within ProgramData\Logishrd\LogiOptionsPlugins and also within Logishrd\LogiOptions\Plugins as I am not sure which one is correct.
Using a simple win forms application I have managed to connect to the keyboard, register my plugin and receive the "register_ack" message to confirm my plugin has been registered. I also receive the activate_plugin message when my sample application becomes active. However, when i turn the crown on my keyboard i am not receiving any crown turn events in my application. I receive no messages of any type from my client.
I believe I have followed all the instructions correctly, but just can't figure out why I do not receive the crown turn or crown touch events. Are there any steps I have missed?
I can provide code examples or my entire sample application if needsbe.