This file contains hidden or 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
if starting: | |
import time | |
import math | |
system.setThreadTiming(TimingTypes.HighresSystemTimer) | |
system.threadExecutionInterval = 30 | |
#system.setThreadTiming(TimingTypes.SystemTimer) | |
#system.threadExecutionInterval = 1 | |
G940_JoystickID="Logitech G940 Joystick"; |
This file contains hidden or 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
MPC Desktop renders MPC like screen for the Touch, it can be tricked into displaying it on a 2nd monitor. | |
With monitor connected by USB-C or USB dock, use 'CRU util' to change monitor's product ID to 'THI1211' (Tango Hotel India 1211) and reboot. | |
Screen renders after MPC is started with Touch attached via USB, but not powered by it's DC brick (ie no screen active on Touch). | |
Changes made by CRU are held in registry once set. They can also be removed by app. | |
https://youtu.be/Hh2QtuKLiSk |
This file contains hidden or 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
if starting: | |
import time | |
import math | |
#The following is the tweakaxis function. Don't change this unless you know how to program. Call on this function in the Axis Rebinds section. | |
def tweakaxis(input, input_range_min, adjusted_center, input_range_max, dband): | |
if input >= adjusted_center: | |
return filters.ensureMapRange(input, adjusted_center + dband, input_range_max, 0, 1000) | |
elif input <= adjusted_center: | |
return filters.ensureMapRange(input, input_range_min, adjusted_center - dband, -1000, 0) | |
else: |