In Windows it is possible to change the keyboard repeat rate by going to the control panel, keyboard settings, and adjusting the slider for the keyboard repeat rate.
Because I need (very) different keyboard repeat rates in various self-written programs I'm using at the same time, I need to be able to quickly change the repeat rate.
Is there a way to do this programmatically in C#? This way, I could add a button in each of the programs to quickly set the ideal repeat rate for said software, without having to keep the control panel open.