mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-10 04:31:34 -10:00
Update haptic code with changes from icculus.org tree which optimizes effect loading to better support low-memory devices and no longer requires full support of every haptic effect type. Additionally... - avoids attempting FF init for non-haptic devices - avoids attempting FF init for gamepads - properly resets FF when device is hot-plugged - better start/stop/update of effects - avoid stopping effects unless really needed - use timestamp for dir effect restarts instead of sys calls - avoid playing FF effects when window is in background - general code cleanup