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
import time | |
import threading | |
import gremlin | |
from vjoy.vjoy import AxisName | |
# Implement using recurring timer | |
def slider_update_timer(): | |
vjoy = gremlin.input_devices.VJoyProxy() | |
joy = gremlin.input_devices.JoystickProxy() |
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
import time | |
import threading | |
import gremlin | |
from vjoy.vjoy import AxisName | |
# Implement using recurring timer | |
def slider_update_timer(): | |
vjoy = gremlin.input_devices.VJoyProxy() | |
joy = gremlin.input_devices.JoystickProxy() |
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
import gremlin | |
t16000 = gremlin.input_devices.JoystickDecorator( | |
"T.16000M", | |
1325664945, | |
"Default" | |
) | |
@t16000.axis(1) | |
def split_xaxis(event, vjoy): |
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
import gremlin | |
from vjoy.vjoy import AxisName | |
pedal = gremlin.input_devices.JoystickDecorator( | |
"INSERT PEDAL NAME", | |
(3491117066, 0), | |
"Default" | |
) | |
left_pedal_val = 0 |
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
import os | |
import time | |
import gremlin | |
spacenavigator = gremlin.input_devices.JoystickDecorator( | |
"SpaceNavigator", | |
1828988614, | |
"Default" | |
) |
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
import gremlin | |
# Joystick decorator | |
t16000 = gremlin.input_devices.JoystickDecorator( | |
"T.16000M", | |
1325664945, | |
"Default" | |
) | |
# Macro executed when the activation zone is entered by the axis |
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
import gremlin | |
t16000m = gremlin.input_devices.JoystickDecorator( | |
name="T.16000M", | |
device_id=1325664945, | |
mode="Default" | |
) | |
# Amount trim is changed with every step, each axis spans the range [-1, 1] | |
g_step_size = 0.05 |
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
import gremlin | |
t16000 = gremlin.input_devices.JoystickDecorator( | |
"T.16000M", | |
72331530, | |
"Default" | |
) | |
g_last_axis_value = 0.0 |
OlderNewer