1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-02 03:10:24 +02:00

fix initial rumble magnitude

This commit is contained in:
XProger
2020-02-01 02:36:52 +03:00
parent e8303777bb
commit 06e271d2c8

View File

@@ -298,7 +298,7 @@ void inputInit() {
joy_ff.id = -1;
joy_ff.replay.length = 0;
joy_ff.replay.delay = 0;
joy_ff.u.rumble.strong_magnitude = 0x8000;
joy_ff.u.rumble.strong_magnitude = 0;
joy_ff.u.rumble.weak_magnitude = 0;
if (ioctl(ev_haptic, EVIOCSFF, &joy_ff) != -1) {