Chapter 4. Kone[+] Range

Table of Contents

Customizing the firmware

Customizing the firmware

Color change on easyshift

While easyshift is active, the mouse changes the color to a default of #0064FA. If you want to change this color, or don't want it to change at all, you have to edit the firmware.

Figure 4.1, “KoneXTD hexdump of easyshift colors” shows the bytes that stand for the red, green and blue components of one light in the corresponding color. The order of the color tuples is top left, bottom left, top right and bottom right.

If the color should not change, you have to replace the two bytes highlighted in yellow from 34 48 to 70 47.

Warning

Please keep in mind that you loose your warranty and neither I nor Roccat take liability if you brick your device by flashing it with a modified firmware or using my firmware updater.

Figure 4.1. KoneXTD hexdump of easyshift colors

0240h: 1A 49 00 20 34 48 00 21 01 60 33 48 64 21 41 60
0250h: 31 48 FA 21 81 60 30 48 00 21 C1 60 2E 48 64 21
0260h: 01 61 2D 48 FA 21 41 61 2B 48 00 21 81 61 2A 48
0270h: 64 21 C1 61 28 48 FA 21 01 62 27 48 00 21 41 62
0280h: 25 48 64 21 81 62 24 48 FA 21 C1 62 70 47 DF F8
          

Easyshift color information valid for KoneXTD_Mouse_Ver116.bin


Doubling vertical scroll speed

Linux has no consistent way of setting scroll wheel speed like Windows. You can work around this by modifying the step count in the firmware.

Without bugging you with disassembled code and such, the easiest way to achieve this is to use my pattern patcher application that's included in the revtools package downloadable from Sourceforge.

Make a copy of the firmware image you want to modify and apply the commands shown in Figure 4.2, “Vertical scroll speed patches” on it. The first command should return 2 matches, the second and third should each give 1 match. After patching went well you can flash this modified firmware with your devices config or control application.

Keep in mind that this will double the scroll speed under all operating systems and applications. Don't use this if you use scrolling for weapon selection and such. You can revert these settings by flashing the unmodified firmware.

Warning

Please keep in mind that you loose your warranty and neither I nor Roccat take liability if you brick your device by flashing it with a modified firmware or using my firmware updater.

Figure 4.2. Vertical scroll speed patches

ppatch -f KoneXTDOpticalMouse_Ver111_2xscroll.bin -g -s '08 70 ?? 48 00 78 40 ?? ?? 49 08 70 ?? 48 00 68' -r '?? ?? ?? ?? ?? ?? 80'
ppatch -f KoneXTDOpticalMouse_Ver111_2xscroll.bin -g -s '09 78 81 71 03 E0 DF F8 ?? ?? 01 21 81 71 DF F8' -r '?? ?? ?? ?? ?? ?? ?? ?? ?? ?? 02' 
ppatch -f KoneXTDOpticalMouse_Ver111_2xscroll.bin -g -s '09 78 81 71 03 E0 DF F8 ?? ?? FF 21 81 71 DF F8' -r '?? ?? ?? ?? ?? ?? ?? ?? ?? ?? FE'
          
These commands should be valid for Kone[+], Kone Pure, Kone Pure Optical, Kone XTD, Kone XTD Optical firmwares, but not for Kone Pure Military