File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33using Ambilight . DesktopDuplication ;
44using Ambilight . GUI ;
55using Colore ;
6+ using Colore . Data ;
67using NLog ;
78using 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 )
Original file line number Diff line number Diff line change 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:"
You can’t perform that action at this time.
0 commit comments