Results 1 to 10 of 15
Thread: Alternative SDK for Aura
-
09-03-2018 12:42 PM #1
- Join Date
- Aug 2018
- Reputation
- 11
- Posts
- 4
Alternative SDK for Aura
I have found a way to create an SDK that can do just as much as the Aura software. The trick is to communicate directly with the COM object (AsRogAuraServiceLib), which is in charge of controlling the hardware. This allows you to pragmatically set effects or make your own configuration tool. I will be posting a link to a github repository with the code, once I have a working demo.
-
09-03-2018 09:56 PM #2
- Join Date
- Aug 2018
- Reputation
- 11
- Posts
- 4
First Demo
This is a demo with a Visual Studio project, For it to run you need Aura installed. It takes as a command line argument, a path to a profile XML file, like the one provided. Tell me what you think, and please post any bugs.
Github Link: https://github.com/boredom101/Asus-Aura-Alternative
-
09-20-2018 06:36 AM #3
- Join Date
- Sep 2018
- Reputation
- 10
- Posts
- 2
What device you tested on? I've tried on notebook's keyboard and it doesn't work.
In ServiceMediator works only get_QueryAllDeviceCap method and returns info about my keyboard? but GetProfile and SetProfile do nothing.
I've found a way to controll leds using AuraDevelopement class, but it sets incorrect colors if trying to set per key color and not using one of default effects.
Code:var aura = new AuraDevelopement(); aura.AURARequireToken(); var kb = aura.GetAllDevices()[0]; kb.SetMode(0); // per key color mode uint color = 255 << 16; //green for (uint i = 0; i < kb.LightCount; i++) { kb.SetLightColor(i, color); } kb.Apply();
-
09-25-2018 04:10 AM #4
- Join Date
- Jan 2015
- Reputation
- 10
- Posts
- 1
They have inversed the blue and red in the uint... use that snippet :
Code:public static class Generic { public static uint ToUint(this System.Drawing.Color c) { return (uint)(((c.A << 24) | (c.B << 16) | (c.G << 8) | c.R) & 0xffffffffL); } } Use it like this : uint color =System.Drawing.Color.Green.ToUint();
-
09-25-2018 05:44 AM #5
- Join Date
- Sep 2018
- Reputation
- 10
- Posts
- 2
color bug in per key mode
It works, but only when I use kb.SetMode(1); which makes keyboard have only one color for all keys.
When I use kb.SetMode(0); to set color for each key separately it works differently. System.Drawing.Color.Green.ToUint(); becomes red and to set green color I should use System.Drawing.Color.Blue.ToUint();, it is not the big problem, I just need another method with another color order, but it is not the biggest problem. The biggest problem, that green is not so green. It have slightly different tone and some keys have some red lighting.
It happens only when I set color using my program in official AURA software there is no such problems. Also as you can see the bug appears only for some of the keys.Last edited by STRIKER_Perm; 09-25-2018 at 06:48 AM.
-
10-16-2018 08:01 PM #6
- Join Date
- Oct 2018
- Reputation
- 10
- Posts
- 2
Nice
Nice. I got this alternative api to work with bot my mobo and gpu.
-
10-23-2018 09:30 PM #7
- Join Date
- Aug 2017
- Reputation
- 10
- Posts
- 33
Whoa this is big! Do you think it will be possible to implement DRAM and Addressable RGB? Thanks for doing this, I need this!
-
10-25-2018 07:50 PM #8
- Join Date
- Aug 2018
- Reputation
- 11
- Posts
- 4
-
10-28-2018 01:59 PM #9
- Join Date
- Aug 2018
- Reputation
- 11
- Posts
- 4
-
01-16-2019 07:29 AM #10
asder98 PC Specs Motherboard Rampage VI Extreme Processor 7900X@4.9Ghz Memory (part number) G.Skill Trident Z RGB 4266@4000CL16 Graphics Card #1 1080Ti Galax HOF OC Lab Edition Storage #1 960 Pro 512GB Case Be Quite! Base 900 pro WHITE (#1060) Power Supply Seasonic 850W Prime Titanium OS Windows 10 Edu
- Join Date
- Mar 2018
- Reputation
- 10
- Posts
- 5
@CX gamer DRAM works with the existing code...
~~@boredom101 do you have a full list on the xml options??~~
edit: nm I found itLast edited by asder98; 01-17-2019 at 03:13 AM.
I am an electrical engineer to save time let's assume I am always right!