diff options
author | notaz | 2014-12-20 20:26:22 +0200 |
---|---|---|
committer | notaz | 2014-12-20 21:27:23 +0200 |
commit | d71c709541218f67ab32229b03307b045a8ed6cb (patch) | |
tree | 8fc070bbe8339e1b669766cac5eba01299b679dc /frontend/plat_pollux.c | |
parent | 4e47706596441172d1cc3f203b8baa398cea3023 (diff) | |
download | pcsx_rearmed-d71c709541218f67ab32229b03307b045a8ed6cb.tar.gz pcsx_rearmed-d71c709541218f67ab32229b03307b045a8ed6cb.tar.bz2 pcsx_rearmed-d71c709541218f67ab32229b03307b045a8ed6cb.zip |
fix up other platforms after rumble change
Diffstat (limited to 'frontend/plat_pollux.c')
-rw-r--r-- | frontend/plat_pollux.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/frontend/plat_pollux.c b/frontend/plat_pollux.c index cb7afef..33e9417 100644 --- a/frontend/plat_pollux.c +++ b/frontend/plat_pollux.c @@ -704,10 +704,15 @@ static int haptic_init(void) return 0; } -void plat_trigger_vibrate(int is_strong) +void plat_trigger_vibrate(int pad, int low, int high) { + int is_strong; int ret; + if (low == 0 && high == 0) + return; + is_strong = (high >= 0xf0); + if (hapticdev == -2) return; // it's broken if (hapticdev < 0) { |