/dports/games/alienarena/alienarena-7.66/source/win32/ |
H A D | in_win.c | 719 float fAxisValue; in IN_JoyMove() local 756 fAxisValue = (float) *pdwRawValue[i]; in IN_JoyMove() 758 fAxisValue -= 32768.0; in IN_JoyMove() 761 fAxisValue /= 32768.0; in IN_JoyMove() 769 if (fabs(fAxisValue) > joy_pitchthreshold->value) in IN_JoyMove() 786 if (fabs(fAxisValue) > joy_forwardthreshold->value) in IN_JoyMove() 794 if (fabs(fAxisValue) > joy_sidethreshold->value) in IN_JoyMove() 801 if (fabs(fAxisValue) > joy_upthreshold->value) in IN_JoyMove() 811 if (fabs(fAxisValue) > joy_sidethreshold->value) in IN_JoyMove() 819 if (fabs(fAxisValue) > joy_yawthreshold->value) in IN_JoyMove() [all …]
|
/dports/games/alienarena-data/alienarena-7.66/source/win32/ |
H A D | in_win.c | 719 float fAxisValue; in IN_JoyMove() local 756 fAxisValue = (float) *pdwRawValue[i]; in IN_JoyMove() 758 fAxisValue -= 32768.0; in IN_JoyMove() 761 fAxisValue /= 32768.0; in IN_JoyMove() 769 if (fabs(fAxisValue) > joy_pitchthreshold->value) in IN_JoyMove() 786 if (fabs(fAxisValue) > joy_forwardthreshold->value) in IN_JoyMove() 794 if (fabs(fAxisValue) > joy_sidethreshold->value) in IN_JoyMove() 801 if (fabs(fAxisValue) > joy_upthreshold->value) in IN_JoyMove() 811 if (fabs(fAxisValue) > joy_sidethreshold->value) in IN_JoyMove() 819 if (fabs(fAxisValue) > joy_yawthreshold->value) in IN_JoyMove() [all …]
|
/dports/games/quake2-source/quake2-r0.16.2/src/win32/ |
H A D | in_win.c | 755 float fAxisValue; in IN_JoyMove() local 788 fAxisValue = (float) *pdwRawValue[i]; in IN_JoyMove() 790 fAxisValue -= 32768.0; in IN_JoyMove() 793 fAxisValue /= 32768.0; in IN_JoyMove() 801 if (fabs(fAxisValue) > joy_pitchthreshold->value) in IN_JoyMove() 818 if (fabs(fAxisValue) > joy_forwardthreshold->value) in IN_JoyMove() 826 if (fabs(fAxisValue) > joy_sidethreshold->value) in IN_JoyMove() 833 if (fabs(fAxisValue) > joy_upthreshold->value) in IN_JoyMove() 843 if (fabs(fAxisValue) > joy_sidethreshold->value) in IN_JoyMove() 851 if (fabs(fAxisValue) > joy_yawthreshold->value) in IN_JoyMove() [all …]
|
/dports/games/quake2lnx/quake2-r0.16.2/src/win32/ |
H A D | in_win.c | 755 float fAxisValue; in IN_JoyMove() local 788 fAxisValue = (float) *pdwRawValue[i]; in IN_JoyMove() 790 fAxisValue -= 32768.0; in IN_JoyMove() 793 fAxisValue /= 32768.0; in IN_JoyMove() 801 if (fabs(fAxisValue) > joy_pitchthreshold->value) in IN_JoyMove() 818 if (fabs(fAxisValue) > joy_forwardthreshold->value) in IN_JoyMove() 826 if (fabs(fAxisValue) > joy_sidethreshold->value) in IN_JoyMove() 833 if (fabs(fAxisValue) > joy_upthreshold->value) in IN_JoyMove() 843 if (fabs(fAxisValue) > joy_sidethreshold->value) in IN_JoyMove() 851 if (fabs(fAxisValue) > joy_yawthreshold->value) in IN_JoyMove() [all …]
|
/dports/games/q2p/Q2P-0.2-2006-12-31/win32/ |
H A D | in_win.c | 838 float fAxisValue; in IN_JoyMove() local 871 fAxisValue = (float) *pdwRawValue[i]; in IN_JoyMove() 873 fAxisValue -= 32768.0; in IN_JoyMove() 876 fAxisValue /= 32768.0; in IN_JoyMove() 884 if (fabs(fAxisValue) > joy_pitchthreshold->value) in IN_JoyMove() 901 if (fabs(fAxisValue) > joy_forwardthreshold->value) in IN_JoyMove() 909 if (fabs(fAxisValue) > joy_sidethreshold->value) in IN_JoyMove() 916 if (fabs(fAxisValue) > joy_upthreshold->value) in IN_JoyMove() 926 if (fabs(fAxisValue) > joy_sidethreshold->value) in IN_JoyMove() 934 if (fabs(fAxisValue) > joy_yawthreshold->value) in IN_JoyMove() [all …]
|
/dports/games/tenebrae/tenebrae_0/ |
H A D | in_win.c | 1072 float fAxisValue, fTemp; in IN_JoyMove() local 1105 fAxisValue = (float) *pdwRawValue[i]; in IN_JoyMove() 1107 fAxisValue -= 32768.0; in IN_JoyMove() 1117 fTemp = 300.0 * pow(abs(fAxisValue) / 800.0, 1.3); in IN_JoyMove() 1121 fAxisValue = (fAxisValue > 0.0) ? fTemp : -fTemp; in IN_JoyMove() 1126 fAxisValue /= 32768.0; in IN_JoyMove() 1134 if (fabs(fAxisValue) > joy_pitchthreshold.value) in IN_JoyMove() 1169 if (fabs(fAxisValue) > joy_sidethreshold.value) in IN_JoyMove() 1179 if (fabs(fAxisValue) > joy_sidethreshold.value) in IN_JoyMove() 1187 if (fabs(fAxisValue) > joy_yawthreshold.value) in IN_JoyMove() [all …]
|
/dports/games/egl/egl-0.3.1_9/win32/ |
H A D | win_input.c | 761 float fAxisValue; in IN_JoyMove() local 790 fAxisValue = (float) *pdwRawValue[i]; in IN_JoyMove() 792 fAxisValue -= 32768.0; in IN_JoyMove() 795 fAxisValue /= 32768.0; in IN_JoyMove() 801 if (fabs (fAxisValue) > joy_pitchthreshold->floatVal) { in IN_JoyMove() 814 if (fabs (fAxisValue) > joy_forwardthreshold->floatVal) in IN_JoyMove() 820 if (fabs (fAxisValue) > joy_sidethreshold->floatVal) in IN_JoyMove() 825 if (fabs (fAxisValue) > joy_upthreshold->floatVal) in IN_JoyMove() 832 if (fabs (fAxisValue) > joy_sidethreshold->floatVal) in IN_JoyMove() 837 if (fabs (fAxisValue) > joy_yawthreshold->floatVal) { in IN_JoyMove() [all …]
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/h2shared/ |
H A D | in_win.c | 1186 float fAxisValue, fTemp; in IN_JoyMove() local 1219 fAxisValue = (float) *pdwRawValue[i]; in IN_JoyMove() 1221 fAxisValue -= 32768.0; in IN_JoyMove() 1235 fAxisValue = (fAxisValue > 0.0) ? fTemp : -fTemp; in IN_JoyMove() 1240 fAxisValue /= 32768.0; in IN_JoyMove() 1248 if (fabs(fAxisValue) > joy_pitchthreshold.value) in IN_JoyMove() 1275 if (fabs(fAxisValue) > joy_sidethreshold.value) in IN_JoyMove() 1283 if (fabs(fAxisValue) > joy_upthreshold.value) in IN_JoyMove() 1294 if (fabs(fAxisValue) > joy_sidethreshold.value) in IN_JoyMove() 1303 if (fabs(fAxisValue) > joy_yawthreshold.value) in IN_JoyMove() [all …]
|
/dports/games/r1q2/r1q2-8012_5/win32/ |
H A D | in_win.c | 1699 float fAxisValue; in IN_JoyMove() local 1732 fAxisValue = (float) *pdwRawValue[i]; in IN_JoyMove() 1734 fAxisValue -= 32768.0; in IN_JoyMove() 1737 fAxisValue /= 32768.0; in IN_JoyMove() 1745 if (fabs(fAxisValue) > joy_pitchthreshold->value) in IN_JoyMove() 1762 if (fabs(fAxisValue) > joy_forwardthreshold->value) in IN_JoyMove() 1770 if (fabs(fAxisValue) > joy_sidethreshold->value) in IN_JoyMove() 1777 if (fabs(fAxisValue) > joy_upthreshold->value) in IN_JoyMove() 1787 if (fabs(fAxisValue) > joy_sidethreshold->value) in IN_JoyMove() 1795 if (fabs(fAxisValue) > joy_yawthreshold->value) in IN_JoyMove() [all …]
|
/dports/games/nexuiz/Nexuiz/sources/darkplaces/ |
H A D | vid_wgl.c | 1818 float fAxisValue, fTemp; in IN_JoyMove() local 1910 fAxisValue = (float) *pdwRawValue[i]; in IN_JoyMove() 1912 fAxisValue -= 32768.0; in IN_JoyMove() 1922 fTemp = 300.0 * pow(abs(fAxisValue) / 800.0, 1.3); in IN_JoyMove() 1926 fAxisValue = (fAxisValue > 0.0) ? fTemp : -fTemp; in IN_JoyMove() 1931 fAxisValue /= 32768.0; in IN_JoyMove() 1939 if (fabs(fAxisValue) > joy_pitchthreshold.value) in IN_JoyMove() 1974 if (fabs(fAxisValue) > joy_sidethreshold.value) in IN_JoyMove() 1984 if (fabs(fAxisValue) > joy_sidethreshold.value) in IN_JoyMove() 1992 if (fabs(fAxisValue) > joy_yawthreshold.value) in IN_JoyMove() [all …]
|
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/win32/ |
H A D | win_input.c | 915 float fAxisValue; in IN_JoyMove() local 966 fAxisValue = JoyToF( (&joy.ji.dwXpos)[i] ); in IN_JoyMove() 968 if ( fAxisValue < -joy_threshold->value ) { in IN_JoyMove() 970 } else if ( fAxisValue > joy_threshold->value ) { in IN_JoyMove()
|