Skip to content

Cannot set color, and DPI display isn't right #18

@masakk1

Description

@masakk1

Hello, cool stuff you made here!
I'd actually try writing a PR but I understand nothing about your code (I'm more for a python/lua guy).
So at least I want to tell you what I've found using your program.

1. DPI is slightly wrong.

The output is correct, but it's saying that I'm using preset 3, however I'm actually using preset 2! All the numbers and colors are correct and the colors too, though.

Here is the output (which is the defautl actually):
[x] DPI setting 1: 400 DPI	#FFFF00
[x] DPI setting 2: 800 DPI	#0000FF
[x] DPI setting 3: 1600 DPI	#FF0000 --> It's telling its this thing
[x] DPI setting 4: 3200 DPI	#00FF00
[ ] DPI setting 5: 5000 DPI	#FF00FF
[ ] DPI setting 6: 10000 DPI	#FFFFFF

It's only offset by one. And in fact, it'll always be offset by one except when it is number 4, in which case nothing is highlighted at all lol.

This is only when printing the info like this however, since when I run ./gloriousctl --listen the DPIs it listens are correct!
Here is a screenshot demonstrating it:
gloritousctl_er1_dpi_miss

2. The color and speed setting don't really work.

I can't really show demonstrate it with values, but I can describe what happens.
All effects that have custom colors are always turned off. No matter what color I choose. Here are the commands I used just in case I'm wrong:

$ sudo ./gloriousctl --set-effect breathing1
[...]
RGB mode: Single color breathing # It's off at this point
[...]
$ sudo ./gloriousctl --set-color D79921
# output is the same as previously
# The mouse is still not lit! All the lights are just off.

The ones that I've found have the same problem are: single, breathing1 and breathing7.
Surprisingly, rave seemed to lit despite being able to change the color, it is stuck at RED and BLUE colors. Command used to test rave colors (just in case): sudo ./gloriousctl --set-color FABD2F D79921

And well... for the speed one, I cannot prove it, but absolutely no effect worked. Trust be bro.
However, I can tell you I've been using this command to change the speed:

$ sudo ./gloriousctl --set-speed 3 # changed between 0 and 3

Anyway

Good luck trying to figure out these things haha! If you guys need me to help with tests lmk.
Also I didn't even care about the debounce thing but apparently I did see a big difference in my CPS while butterfly clicking, so good job there!

I'm going to make a PR with better instructions in the README since there currently is none, and a lot of new people get stuck (there are like 3 issues open about the same thing lol).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions