T-Troll / alienfx-tools

Alienware systems lights, fans, and power control tools and apps
MIT License
490 stars 45 forks source link

Alienware AW610M mouse support. #73

Closed T-Troll closed 2 years ago

T-Troll commented 2 years ago

VID_0461&PID_4EC0 (Primax Electronics). Software component for AWCC.

Billybobertjoe commented 2 years ago

3 device(s) detected. VID: 0x461, PID: 0x4ec0, API v7 Let's try to set some colors... SetColor result: 1, error 0 SetColor 2 result: 1, error 0

after disabling the AWCC service, the colors changed on my mouse. are the lights on my keyboard supposed to also change too?

Billybobertjoe commented 2 years ago

so it worked!!!

T-Troll commented 2 years ago

Greeeat! So we hack it!

What we need to do next:

In fact, this is about 85% of full support for now.

No, your keyboard colors should not change, as you can see, i use mouse device only. But both keyboard and tron already supported, so just download and start last tools release, define light names, and have fun.

After we are finish support, i tickle Aurora guys about AW support as well.

Billybobertjoe commented 2 years ago

Ok ill do this tomorrow

Billybobertjoe commented 2 years ago

when can we start? also, is there a way i can integrate this into aurora?

T-Troll commented 2 years ago

I have GMT+7. ^_^

Ok, let's do the latest test in this round. Here is the app: AlienFX Sample App.exe.zip

As usual, disable awcc service and start it. What it should do:

If all steps doing well (keep your eye what color lights have after it's back on), that's all for basic support.

About Aurora, yes, but some effort needed - they use slightly weird structures for light modules.

Billybobertjoe commented 2 years ago

3 device(s) detected. VID: 0x461, PID: 0x4ec0, API v7 Let's try to set some colors... SetColor result: 1, error 0 SetColor 2 result: 1, error 0 Ok, let's try to set lights off...

Now set for half brightness...

... then return back to full... Done!

Billybobertjoe commented 2 years ago

it all worked fine

Billybobertjoe commented 2 years ago

at the end, the color changed to blue

Billybobertjoe commented 2 years ago

i had it set to white at the start

T-Troll commented 2 years ago

at the end, the color changed to blue

Is it changed to blue after "Now set for half brightness..." or after app finished?

If first - i need to modify light resume, if second - it means AWCC change it (maybe you forget to stop AWCCService).

Billybobertjoe commented 2 years ago

It changes it as soon as i start the app

T-Troll commented 2 years ago

I mean, change from white back to blue?

Billybobertjoe commented 2 years ago

Yes

Billybobertjoe commented 2 years ago

Oh, no. I manually set it to white before starting the app so that the change was obvious

T-Troll commented 2 years ago

Crazy. I set it to white into the app!

Billybobertjoe commented 2 years ago

Weird

Billybobertjoe commented 2 years ago

So what now?

T-Troll commented 2 years ago

Another test app - AlienFX Sample App.exe.zip

What it should do:

Please, check, does it work as intended?

Billybobertjoe commented 2 years ago

Everything worked except for the changing colors part. None of the colors changed

T-Troll commented 2 years ago

Fck... But it did it before. NB: Only mouse colors should be changed! Ok, let me think.

Billybobertjoe commented 2 years ago

ok

Billybobertjoe commented 2 years ago

wait...

Billybobertjoe commented 2 years ago

it seems to like the color blue

Billybobertjoe commented 2 years ago

if it does change colors, it changes to light blue. not white or red. just light blue on the whole mouse

T-Troll commented 2 years ago

Got it. Try this one - AlienFX Sample App.exe.zip, please.

Method is the same as before, but if i right, it will not off/dim ALL mouse lights...

Billybobertjoe commented 2 years ago

Right when i start the app, the light turns green. When it is at half brightness, the light is white. It is also white at full brightness

T-Troll commented 2 years ago

Correct.

By the way, it's 4 different effect types available.

Great, now i integrate it into tools, then share beta release for you for testing.

PS: By the way, Aurora have Dell LightFX wrapper support. And i have LightFX emulator. I'll write you about how to use it later on.

Billybobertjoe commented 2 years ago

ok! CANT WAIT!!!

T-Troll commented 2 years ago

Can you please check effect modes meanwhile?

Here is the test app: AlienFX Sample App.exe.zip

You need to run it, it will set light #1 to colors between green and blue and effect to given mode (from 1 to 7), then wait for input. Check what light doing (1 should be steady color, 2-5 i see into your logs but have no idea what is it, 6-7 worth to check just for sure), then write it down for me and press enter for next mode.

T-Troll commented 2 years ago

I included support for mouses at latest release.

Hope effects will work as well.

Billybobertjoe commented 2 years ago

i can no longer add effects with ur app.not even with the keyboard anymore

Billybobertjoe commented 2 years ago

it worked fine with the previouse version. now the drop down box is greyed out

T-Troll commented 2 years ago

Did you check effect types using sample app? Do it, please!

Billybobertjoe commented 2 years ago

How?

T-Troll commented 2 years ago

Can you please check effect modes meanwhile?

Here is the test app: AlienFX Sample App.exe.zip

You need to run it, it will set light no.1 to colors between green and blue and effect to given mode (from 1 to 7), then wait for input. Check what light doing (1 should be steady color, 2-5 i see into your logs but have no idea what is it, 6-7 worth to check just for sure), then write it down for me and press enter for next mode.

Billybobertjoe commented 2 years ago

mouse results.txt

Billybobertjoe commented 2 years ago

https://drive.google.com/file/d/1m_mk41JoY4Jc1CD0B_O76H4tkI68BItB/view?usp=sharing

Billybobertjoe commented 2 years ago

youll understand what the google drive link is for afteer reading the txt file

T-Troll commented 2 years ago

Got it. So final mapping codes to app:

  1. Color
  2. Breathing
  3. Morph
  4. Spectrum
  5. Pulse
  6. Rainbow

BTW, seems like mode 6 is not supported by AWCC. ^_^

Ok, we do it, i'll add code mappings into SDK at next release! Thank you for help!

Billybobertjoe commented 2 years ago

Are you sure it isn't supported by AWCC? i use that setting all the time for my mouse lights.

T-Troll commented 2 years ago

It was not existed into your logs, so maybe they set it as default at device start.

Billybobertjoe commented 2 years ago

It is called “color wave” i think

T-Troll commented 2 years ago

Can you, please, check all mouse functions working now and close this issue if it's ok?

PS: Don't forget to add 2nd mouse light, i see you use one (ID0) only, but your mouse have 2 (also ID1, i use it for testing before).

Billybobertjoe commented 2 years ago

Can we continue this on discord or no?

T-Troll commented 2 years ago

This topic is about mice, not about overall and keyboard issues. Of course, we can continue other discussions in Discord.

Billybobertjoe commented 2 years ago

When i try to set the other mouse light as a different color, it only acts like there is one light and sets to one color, not separate colors

Billybobertjoe commented 2 years ago

imageimageimage

T-Troll commented 2 years ago

So light ID0 did not work. Ok, let me check.