New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LED support for sensei 310 #43

Open
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
8 participants
@Gazler
Copy link

Gazler commented Nov 17, 2017

Currently still a work in progress. The LED settings definitely work, I
am still trying to work out the exact spec.

This isn't ready for merging yet, I am just opening it for discussion in case anyone else is working on it.

LED support for sensei 310
Currently still a work in progress. The LED settings definitely work, I
am still trying to work out the exact spec.
@flozz

This comment has been minimized.

Copy link
Owner

flozz commented Nov 17, 2017

Ok, thank you, let me know when it is ready :)

@Gazler

This comment has been minimized.

Copy link
Author

Gazler commented Nov 17, 2017

Weirdly, although the color commands work (0x07, 0x02, 0x01, 0xRR, 0xGG, 0xBB) - it is not even close to what I found in Wireshark.

Here's a dump for setting the mouse wheel LED to #ff5200

0000   5b 00 01 bc 07 00 00 00 00 00 00 00 00 00 00 01
0010   00 01 00 01 00 00 00 00 00 00 00 01 ff 52 00 ff
0020   52 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0030   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0040   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0050   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0060   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0070   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0080   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0090   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00a0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00b0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00c0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00d0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00e0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00f0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0100   00 00 00 00 00 00

Maybe they have a new command which always sets it as a color cycle, since here is the output from a color cycle for the mousewheel LED using "ColorShift" at speed 1.33 for the following colors:

  • 00% - #00ff91
  • 33% - #ffea00
  • 66% - #00ccff
0000   5b 00 01 bc 07 00 00 00 00 00 00 00 00 00 00 01
0010   00 01 00 00 00 00 00 00 00 00 00 04 00 ff 91 00
0020   ff 91 00 ff ea 00 54 00 cc ff 54 00 ff 91 56 00
0030   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0040   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0050   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0060   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0070   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0080   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0090   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00a0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00b0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00c0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00d0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00e0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00f0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0100   00 00 00 00 00 00
@Gazler

This comment has been minimized.

Copy link
Author

Gazler commented Nov 17, 2017

For completion

Here's a dump for setting the logo LED to #ff5200

0000   5b 00 00 bc 07 00 00 00 00 00 00 00 00 00 00 01
0010   00 01 00 01 00 00 00 00 00 00 00 01 ff 52 00 ff
0020   52 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0030   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0040   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0050   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0060   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0070   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0080   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0090   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00a0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00b0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00c0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00d0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00e0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00f0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0100   00 00 00 00 00 00

So it looks like 5b is the command 00 is ignored, then 00 is the led. That's about as far as I have managed to get. The color is there in there at position 0016, and again at position 0019. Perhaps the 01 at 0015 is the mode?

I have a feeling that bc 07 is the timing - it is:

  • bc07 - 1.33s cycle
  • aa0a - 2.73s
  • 8813 for 5.00s
  • 6851 - 20.84s

Modes:

  • 01 - steady
  • 02 - trigger
  • 03 - breathe
  • 04 - colorshift
@Gazler

This comment has been minimized.

Copy link
Author

Gazler commented Nov 17, 2017

I've figured out the timings. It is in little endian. Here's the conversions for the timing above:

+------+---------------+---------------------+--------------------------------+
| HEX  | LITTLE ENDIAN |       BINARY        |            DECIMAL             |
+------+---------------+---------------------+--------------------------------+
|      |               |                     |                                |
| bc07 | 07bc          | 0000 0111 1100 0110 | 1.98s*                         |
|      |               |                     |                                |
| aa0a | aa0a          | 0000 1010 1010 1010 | 2.73s                          |
|      |               |                     |                                |
| 8813 | 1388          | 0001 0011 1000 1000 | 5.00s                          |
|      |               |                     |                                |
| 6851 | 5168          | 0101 0001 0110 1000 | 20.84s                         |
+------+---------------+---------------------+--------------------------------+

* Note this is the min value which is why we were seeing it for 1.33s
@flozz

This comment has been minimized.

Copy link
Owner

flozz commented Nov 20, 2017

I think this will also help to understand how rival 500 and 700 (and 310?) work too :D

@Gazler

This comment has been minimized.

Copy link
Author

Gazler commented Nov 20, 2017

I have made a little more progress with how the percentages are represented.

00%: 32ff91
06%: ffea0a
66%: 1eccff
81%: 632427
89%: 5af3ab

Position 1c: color 1
Position 1f: color 1
Position 23: color 2
Position 27: color 3
Position 2b: color 4
Position 2f: color 5
Position 33: color 1

       00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f

0000   5b 00 00 e4 0c 00 00 00 00 00 00 00 00 00 00 01
0010   00 01 00 00 00 00 00 00 00 00 00 06 32 ff 91 32
0020   ff 91 00 ff ea 0a 0f 1e cc ff 99 63 24 27 26 5a
0030   f3 ab 14 32 ff 91 1c 00 00 00 00 00 00 00 00 00
0040   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0050   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0060   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0070   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0080   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0090   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00a0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00b0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00c0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00d0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00e0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00f0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0100   00 00 00 00 00 00

[111111] [111111]    [222222]    [333333]    [444444]    [555555]    [111111]
32 ff 91 32 ff 91 00 ff ea 0a 0f 1e cc ff 99 63 24 27 26 5a f3 ab 14 32 ff 91 1c

Colors - start color repeated 3 times. Each other color once. The number dividing the colors represents a percentage of 255. e.g:

 * 0x0f: 15 / 255  = ~0.06 = 6%
                      Total: 6%
 * 0x99: 153 / 255 = ~0.60 = 60%
                      Total: 66%
 * 0x26: 38 / 255  = ~0.15 = 15%
                      Total: 81%
 * 0x14: 20 / 255  = ~0.08 = 8%
                      Total: 89%
 * 0x1c: 28 / 255  = ~0.11 = 100%

The first color is repeated 3 times. My best guess is that this represents the start and end color.

I've also observed that the minimum duration changes with the number of colors used - 1/3 of a second is added per color.

Here's another dump for 2 colors

0000   5b 00 00 28 05 00 00 00 00 00 00 00 00 00 00 01
0010   00 01 00 00 00 00 00 00 00 00 00 03 ff 4d 00 ff
0020   4d 00 00 ff ea 00 ff ff 4d 00 00 00 00 00 00 00

[111111] [1111111]   [2222222]   [1111111]
ff 4d 00 ff 4d 00 00 ff ea 00 ff ff 4d 00 00

Also worth noting, the commands are always 269 bytes for the LEDs.

@ahstro

This comment has been minimized.

Copy link

ahstro commented Dec 1, 2017

Does this only apply to the Sensei 310 or would it also work for the Rival 310? My untrained mind would assume them to have the same internals, but I'm not going to pretend that I know how this works at all.

@Gazler

This comment has been minimized.

Copy link
Author

Gazler commented Dec 1, 2017

@ahstro If you have a Rival 310, feel free to try the following:

This should turn the mouse wheel LED orange

echo -en "\x5b\x00\x01\xbc\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x01\xff\x52\x00\xff\x52\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" > /dev/hidraw6

This should cycle between blue, green and yellow.

echo -en "\x5b\x00\x01\xbc\x07\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x04\x00\xff\x91\x00\xff\x91\x00\xff\xea\x00\x54\x00\xcc\xff\x54\x00\xff\x91\x56\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" > /dev/hidraw6

Please note, you may need to try a different device id, it was 6 in my case.

If it works then we can probably assume that they use the same protocol.

If you want to turn the LED off again, try this:

echo -en "\x07\x02\x01\x00\x00\x00" > /dev/hidraw6
@ahstro

This comment has been minimized.

Copy link

ahstro commented Dec 1, 2017

@Gazler It doesn't seem to do anything, unfortunately, but thank you for trying to help 🙂

@mikeshultz

This comment has been minimized.

Copy link

mikeshultz commented Dec 14, 2017

Just picked up a Sensei 310(1038:1722). Your command to turn the mouse wheel LED off worked, but the ones to to change the mouse wheel color do not. Actually, it just set the device back to it's default multi-color fade mode.

I'm no good at reverse engineering this stuff, but let me know if you need any testing.

@Gazler

This comment has been minimized.

Copy link
Author

Gazler commented Dec 14, 2017

@mikeshultz That's bizarre. I just tried the one to set the mouse LED to orange and it definitely worked (I had to change the /dev/hidraw6 to match my device.

The command to turn the LED off is totally different to the others (I copied it from the config for a different model.) Interestingly, the command to turn the mouse wheel LED orange also turned on the other LED, maybe the LED off command sets it in a different mode.

What OS are you on?

@mikeshultz

This comment has been minimized.

Copy link

mikeshultz commented Dec 14, 2017

Ubuntu Linux 17.10. Linux 4.13.0-19-generic x86_64.

Perhaps for the color setting to work I have to get out of this original cycle mode? I have not yet hooked this up to a windows machine to change any settings, so it's just cycling/fading through all the colors.

@FFY00

This comment has been minimized.

Copy link

FFY00 commented Mar 22, 2018

I tested this changes with my Rival 310 and they're partially working.

Problems I've seen so far:

  • The light effects don't work as intended. They always set the mouse to color fade with the same velocity.

Also, if you want your changes merged you should change -c to the Logo Color and -C to the Wheel Color.

@flozz flozz referenced this pull request Mar 23, 2018

Open

Rival / Sensei 310 support #37

@flozz

This comment has been minimized.

Copy link
Owner

flozz commented Mar 23, 2018

If someone can publish a fix for the light effect I will be happy to merge this PR, else, if the majority of the mouse options work, I can merge it as experimental support :)

@FFY00

This comment has been minimized.

Copy link

FFY00 commented Mar 23, 2018

@flozz I will work on that.

@FFY00

This comment has been minimized.

Copy link

FFY00 commented Mar 24, 2018

I've figured out the colors.

The breathing cycle is divided in 255 iterations. You have several points and the delay between them.

It goes like this

COLOR -> DELAY -> COLOR -> DELAY -> COLOR

9 points should be the max.

You can see it here.
re-mouse
Note: The purple values are #000000 and they're points too.

I also forgot, the 00 in the 3rd position is the led id.

EDIT
When I say Delay, I mean Position Offset.

Like this

RED -> 0 -> BLACK -> 50 -> BLUE -> 50 -> GREEN -> 75 -> ORANGE -> 80

That would go like this

Position (0-255) Color
0 RED
50 BLACK
100 BLUE
175 GREEN
255 ORANGE

The first and last points in the image are a bit weird. Maybe they're there to set the point 0 as the color so it can properly fade between cycles. (see comment below)

I need to work on this a bit more.

@FFY00

This comment has been minimized.

Copy link

FFY00 commented Mar 24, 2018

Okay. I figured out why the two last points had a position offset of 0. The program automatically adds them (the points) to make sure the last point fades with the first. In the example above I forced the last point to the position 100% (see (2)) so the space between the last user defined point and the last real point is 0 (see (2)).

2

Even though the yellow point is at 100%, the blue point still exists.

re2

subtitle

In (2) the last point is the blue one, not the yellow one. We can not see it in the image but it's there.

I suspect the color after the number of points (base color) is the color used in the led between cycles (if needed) to prevent bugs.

@FFY00

This comment has been minimized.

Copy link

FFY00 commented Mar 24, 2018

With this said, let me point out that there are 3 modes, steady, colorshift and trigger.

Here's an example of the trigger mode.
trigger

The brown bytes appear to be the mode command.

We can see again the points.
At 00 we have 3151ff, and at FF we have ff1800.
It seems like the cycle freezes at FF and only starts again when a button is clicked. That's why the normal color is the last one and the color when triggered is the first one.

From what I've seen the commands appear to be the following.

Mode Command
steady 01 00 00 00 00
colorshift 00 00 00 00 00
trigger 01 00 00 00 07
@FFY00

This comment has been minimized.

Copy link

FFY00 commented Mar 24, 2018

@flozz can you explain me how the project is structured so I can implement the commands? I am familiar with the structure but I have no idea how do I customize the packet itself.

@flozz

This comment has been minimized.

Copy link
Owner

flozz commented Mar 24, 2018

Hi,

@FFY00

This comment has been minimized.

Copy link

FFY00 commented Mar 25, 2018

Full specification of the 5B command.

(0) Specification

Byte (Index) Explanation Values
0 Command 5B
1 Unknown 00
2 Led ID See (1)
3-4 Cycle Duration 1.98s to 32s (need to comfirm)
5-18 Unknown 00
19 Repeat Cycle See (2)
20-22 Unknown 00
23 Trigger Buttons See (3)
24-26 Unknown 00
27 Number of points Hex int
28-30 Fallback Color? First color in the cycle. RR GG BB
31-End Points - Color and Position offset RR GG BB 00 (00 is the position offset)

Examples:
(1)
re1
This will fade between the colors #3151ff, #58ff36, #ff1ce5 and #ffc13b with a cycle duration of 5s.

(2)
re2
This is the same as the example above but the cycle will restart when a button is clicked (any button).

(3)
re3
This will set #3151ff as a steady color. The cycle duration will be 5s, but that doesn't really matter, and the cycle will not restart, again that also doesn't really matter. We only created 1 point at the position 0 so the color will not change.

(1) Led ID

Value Led
00 Logo
01 Wheel

(2) Repeat Cycle

Value Translation Explanation
00 Repeat When the cycle ends (tick = 255), it will restart (tick will be set to 0).
01 Doesn't repeat When the cycle ends, it will not restart again.

Note The cycle is defined later in the format of points. The cycle has a duration of 255 ticks. You can define points. Points are defined as the following:

Color |  Position Offset (how many ticks after the last defined point)

(3) Trigger
This is actually very simple. When one of the selected buttons is clicked, the cycle will start again (tick will be set to 0).

87654321 | Bit Number
00000000 | Bits
Bit Number (see above) Button
1 Left
2 Right
3 Wheel Click
4 Back (side)
5 Forward (side)
6 DPI Switch
7-8 Ignored

Examples:

Buttons Binary Value Hex Value
Left + Right + DPI Switch (default from the official driver) 00000111 07
Wheel Click + Forward 00010100 14
Left + Right + Back + Forward 00011011 1B
All 00111111 3F
@flozz

This comment has been minimized.

Copy link
Owner

flozz commented Mar 25, 2018

I think this will be very helpful: Rival 500 and 700 have similar commands maybe this will help on those models too :)

@Gazler

This comment has been minimized.

Copy link
Author

Gazler commented Mar 25, 2018

@FFY00 Thanks for sharing your findings! Very interesting.

@ozdemirburak

This comment has been minimized.

Copy link

ozdemirburak commented Jul 20, 2018

I'll just leave this for the complete starters like me looking for a temporary solution.

To find out which hidraw device your mouse is using, run the Python script mentioned here.

print(find_hidraw_device_path("1038", "1722", 0))

To change the LED to #3151ff as steady color, with following the instructions here, first if you are not root run the sudo -i, then run the code below, but do not forget to change the hidraw number.

echo -en "\x5b\x00\x00\x88\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x01\x31\x51\xff\x31\x51\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" > /dev/hidraw1

Let's say if you want to change the #3151ff to #333333, then just change the parts in the code snippet above, \x31\x51\xff\x31\x51\xff with \x33\x33\x33\x33\x33\x33.

echo -en "\x5b\x00\x00\x88\x13\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\x00\x01\x33\x33\x33\x33\x33\x33\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00" > /dev/hidraw1
@FFY00

This comment has been minimized.

Copy link

FFY00 commented Jul 20, 2018

@ozdemirburak, you can use the code in this PR. It's working, I actually don't know why it wasn't been merged yet.

@flozz

This comment has been minimized.

Copy link
Owner

flozz commented Jul 27, 2018

@FFY00 It is not merged because of lack of time on my side... I have to review it and merge it but I have no time currently ^^'

@FFY00

This comment has been minimized.

Copy link

FFY00 commented Jul 27, 2018

No problem! I was just wondering.

@ergor

This comment has been minimized.

Copy link
Contributor

ergor commented Aug 9, 2018

Very well written analysis, @FFY00!

I have added support for this type of color protocol in pr #60, as the Rival600 and this mouse share many similarities. It should be easy to configure this mouse for steady, shifting and trigger mode support with the new value type I added.

@flozz

This comment has been minimized.

Copy link
Owner

flozz commented Aug 24, 2018

I will review this PR once the #60 is merged. maybe I will have to adapt it to match the work of #60. I will need someone to check everything work then :)

@Alexiwnl

This comment has been minimized.

Copy link

Alexiwnl commented Dec 25, 2018

I would love some help at #73

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment