notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix OSX interpreter build target
[pcsx_rearmed.git]
/
frontend
/
plat_pollux.c
diff --git
a/frontend/plat_pollux.c
b/frontend/plat_pollux.c
index
cb7afef
..
33e9417
100644
(file)
--- a/
frontend/plat_pollux.c
+++ b/
frontend/plat_pollux.c
@@
-704,10
+704,15
@@
static int haptic_init(void)
return 0;
}
return 0;
}
-void plat_trigger_vibrate(int
is_strong
)
+void plat_trigger_vibrate(int
pad, int low, int high
)
{
{
+ int is_strong;
int ret;
int ret;
+ if (low == 0 && high == 0)
+ return;
+ is_strong = (high >= 0xf0);
+
if (hapticdev == -2)
return; // it's broken
if (hapticdev < 0) {
if (hapticdev == -2)
return; // it's broken
if (hapticdev < 0) {