dotnet add package NuGet.Logitech_LCD --version 2.1.0
NuGet\Install-Package NuGet.Logitech_LCD -Version 2.1.0
<PackageReference Include="NuGet.Logitech_LCD" Version="2.1.0" />
paket add NuGet.Logitech_LCD --version 2.1.0
#r "nuget: NuGet.Logitech_LCD, 2.1.0"
// Install NuGet.Logitech_LCD as a Cake Addin #addin nuget:?package=NuGet.Logitech_LCD&version=2.1.0 // Install NuGet.Logitech_LCD as a Cake Tool #tool nuget:?package=NuGet.Logitech_LCD&version=2.1.0
A C# Wrapper allowing one to use the functions of the logitech SDK in .NET
- Clone the project in any location
- Add the project to your solution
- Add a reference from your project to this one
Alternatively you can replace these 3 first steps by using the NuGet package :
- Add in your project a Lib folder containing an x86 and an x64 folder, each of these must contain the LogitechLcd.dll (the wrapper dll in the logitech LCD SDK, you may have to rename it as the name might have changed) file
- You're ready to go and use this wrapper
- All of the SDK's base methods are exposed in the LogitechLcd class
To make an applet using more than plain text and a background image, one can create a userControl and make it inherit from the Logitech_LCD.Applets.BaseApplet class.
You will then have to override the OnDataUpdate method and you're ready to design your control like you would do for any other Winform Control.
To use the WPF applet, you'll have to create a new WPF window/usercontrol
This control will have to look like this :
<UserControl x:Class="TestWPFApplet.UserControl1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:applets="clr-namespace:Logitech_LCD.Applets;assembly=Logitech-LCD" d:DesignHeight="240" d:DesignWidth="320" mc:Ignorable="d"> <applets:BaseWPFApplet> <Grid Background="White"> <Label>Applet Content</Label> </Grid> </applets:BaseWPFApplet> </UserControl>
If you have some code to run before any visual update, there is an event called
OnDataUpdate who will be called before any visual update.
If you are in Release build configuration or the first build of the lib wasn't done yet, the designer won't be able to initialize. When disiging the your control, be sure to be in Debug build configuration, run a build of the lib, close the designer window and reopen it.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed.|
|.NET Core||netcoreapp3.1 is compatible.|
|.NET Framework||net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
- System.Drawing.Common (>= 4.7.0)
- No dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.