| 714 | } |
| 715 | |
| 716 | void StopRumble() |
| 717 | { |
| 718 | if (!OisRumble || !OisEffect) |
| 719 | return; |
| 720 | |
| 721 | try |
| 722 | { |
| 723 | OisRumble->remove(OisEffect); |
| 724 | } |
| 725 | catch (OIS::Exception& ex) |
| 726 | { |
| 727 | TENLog("Error when stopping vibration effect: " + std::string(ex.eText), LogLevel::Error); |
| 728 | } |
| 729 | |
| 730 | RumbleInfo = {}; |
| 731 | } |
| 732 | |
| 733 | static void ApplyBindings(const BindingProfile& set) |
| 734 | { |
no test coverage detected