Skip to content
This repository was archived by the owner on Jan 9, 2022. It is now read-only.

frantsmn/TyonDriver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Roccat Tyon Driver Patching

Decreasing profile autoswitch delay or changing ScanInterval constant

Prologue

After some years of using gaming mice Logitech G300 for work I decided to upgrade my hand by new Roccat Tyon. (More buttons, bigger size, etc ...)

When I got it and started using it, I have to face the following problem. According to the application Logitech G300 switches profiles rather quickly, approx. 0.5-1 sec, whereas Tyon is twice as time-consuming — 2 sec. While working I actively use Alt+tab, so a 2-second delay is very annoying. I started looking for a solution.


Searching and solving the problem

  1. First, I Googled it http://roccat.sourceforge.net/general.html (Roccat hardware support for Linux) and learned about the constant:

    ScanInterval

    Sets the interval in seconds, the monitor scans for the active window to change profiles according to gamefile settings. Windows driver uses fix 2 seconds. You can change this value to 0 to switch off the monitor completely if you don't use gamefile settings. A value of 1 leads to more responsive profile changes. Setting a value greater 2 leads to more lagging profile changes and does not make much sense. Valid values: integer >= 0 Default value: 2 Supported since roccat-tools version 1.0.0

  2. Used dotPeek decompiler to find necessary lines of the code in TyonMonitorW.exe with ScanInterval = 2000 or smth like that. There I found 2 lines with value 2000. So, I decided to change this value in the HEX editor because I would never rebuild this exe back from a decompile state.

  3. Used Hexed.it. There I found two addresses with the value of 2000:

    Screen 1 Screen 2

    And I made 3 files with the values of 1000, 500 and 100 respectively. You can find them in the repository https://github.com/frantsmn/TyonDriver. (Just replace and rename the files like the original ones.) Not sure that all of them will work steadily (in my case, there’s a 1000ms delay), but the profiles switch is much faster now. :)

About

Changing profile autoswitch delay constant in Roccat Tyon mouse driver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors