Skip to content

Commit bb1abee

Browse files
committed
Add appinfo
1 parent 0b824b3 commit bb1abee

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

Ambilight/Logic/LogicManager.cs

+18-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using Ambilight.DesktopDuplication;
44
using Ambilight.GUI;
55
using Colore;
6+
using Colore.Data;
67
using NLog;
78
using Color = Colore.Data.Color;
89

@@ -35,6 +36,22 @@ private async void StartLogic(TraySettings settings)
3536
{
3637
//Initializing Chroma SDK
3738
IChroma chromaInstance = await ColoreProvider.CreateNativeAsync();
39+
AppInfo appInfo = new AppInfo(
40+
"Ambilight for Razer devices",
41+
"Shows an ambilight effect on your Razer Chroma devices",
42+
"Nico Jeske",
43+
"ambilight@nicojeske.de",
44+
new[]
45+
{
46+
ApiDeviceType.Headset,
47+
ApiDeviceType.Keyboard,
48+
ApiDeviceType.Keypad,
49+
ApiDeviceType.Mouse,
50+
ApiDeviceType.Mousepad,
51+
ApiDeviceType.ChromaLink
52+
},
53+
Category.Application);
54+
await chromaInstance.InitializeAsync(appInfo);
3855

3956
_keyboardLogic = new KeyboardLogic(settings, chromaInstance);
4057
_mousePadLogic = new MousePadLogic(settings, chromaInstance);
@@ -53,7 +70,7 @@ private async void StartLogic(TraySettings settings)
5370
public void ProcessNewImage(Bitmap img)
5471
{
5572
Bitmap newImage = new Bitmap(img);
56-
73+
5774
if (settings.KeyboardEnabled)
5875
_keyboardLogic.Process(newImage);
5976
if (settings.PadEnabled)

Installer/Installer.vdproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3776,7 +3776,7 @@
37763776
"Manufacturer" = "8:Nico Jeske"
37773777
"ARPHELPTELEPHONE" = "8:"
37783778
"ARPHELPLINK" = "8:"
3779-
"Title" = "8:Razer Ambilight Installer"
3779+
"Title" = "8:Ambilight for Razer devices installer"
37803780
"Subject" = "8:"
37813781
"ARPCONTACT" = "8:Nico Jeske"
37823782
"Keywords" = "8:"

0 commit comments

Comments
 (0)