blob: 6c492f5f847a3da9ef20c59b283e6a92b18cb7e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
function JoyThresholdUp()
settings.joy_threshold = settings.joy_threshold + 0.05
if settings.joy_threshold > 0.95 then
settings.joy_threshold = 0.95
end
end
function JoyThresholdDown()
settings.joy_threshold = settings.joy_threshold - 0.05
if settings.joy_threshold < 0.0 then
settings.joy_threshold = 0.0
end
end
|