This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# calculation are based on http://www.esreality.com/index.php?a=post&id=1945096 | |
# assuming windows 10 uses the same calculation as windows 7. | |
import struct | |
# set according to your device: | |
device_dpi = 304 # mouse/touchpad dpi | |
screen_dpi = 157 | |
sample_point_count = 30 | |
sensitivity_factor = 1.0 | |
# sensitivity factor translation table: (windows slider notches) |