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 gremlin.user_plugin import * | |
# UI variable definitions | |
mode = ModeVariable("Mode", "Mode in which to use these settings") | |
input_joystick = PhysicalInputVariable( | |
"Joystick axis", | |
"Axis corresponding to the joystick axis to use", | |
[gremlin.common.InputType.JoystickAxis] | |
) |
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 gremlin.user_plugin import * | |
# Plugin variables | |
mode = ModeVariable("Mode", "Mode in which to use these settings") | |
phys_axis1 = PhysicalInputVariable( | |
"First physical axis", | |
"First physical axis", | |
[gremlin.common.InputType.JoystickAxis] |
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 | |
stick = gremlin.input_devices.JoystickDecorator( | |
"T16000.M", | |
"4DCB3090-97EC-11EB-8003-444553540000", | |
"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
from collections import deque | |
import threading | |
import time | |
import gremlin | |
from gremlin.user_plugin import * | |
mode = ModeVariable("Mode", "The mode in which to use this mapping") |
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 gremlin.user_plugin import * | |
mode = ModeVariable("Mode", "The mode in which to use this mapping") | |
vjoy_axis = VirtualInputVariable( | |
"Virtual output axis", | |
"The vJoy axis to apply trim settings to.", | |
[gremlin.common.InputType.JoystickAxis] |
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 threading | |
import gremlin | |
from gremlin.user_plugin import * | |
mode = ModeVariable("Mode", "The mode in which to use this mapping") | |
joy_axis = PhysicalInputVariable( | |
"Axis to refresh", |
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 math | |
import time | |
import gremlin | |
from gremlin.user_plugin import * | |
mode = ModeVariable("Mode", "The mode in which to use this mapping") | |
input_1 = PhysicalInputVariable( | |
"Input axis 1", |
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 gremlin | |
from gremlin.user_plugin import * | |
mode = ModeVariable("Mode", "The mode in which to use this mapping") | |
axis = PhysicalInputVariable( | |
"Input axis", | |
"Input 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 math | |
import gremlin | |
from gremlin.user_plugin import * | |
mode = ModeVariable("Mode", "Mode in which to use these settings") | |
input_1 = PhysicalInputVariable( | |
"1st axis", | |
"First physical input axis", |
NewerOlder