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 /maemo | |
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 'maemo')
-rw-r--r-- | maemo/hildon.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/maemo/hildon.c b/maemo/hildon.c index bd895c9..7e9cd9f 100644 --- a/maemo/hildon.c +++ b/maemo/hildon.c @@ -805,7 +805,7 @@ void plat_step_volume(int is_up) { } -void plat_trigger_vibrate(int is_strong) +void plat_trigger_vibrate(int pad, int low, int high) { const int vDuration = 10; @@ -817,7 +817,8 @@ void plat_trigger_vibrate(int is_strong) "req_start_manual_vibration"); if (msg) { dbus_message_iter_init_append(msg, &args); - int speed = is_strong ? 200 : 150; + // FIXME: somebody with hardware should tune this + int speed = high; // is_strong ? 200 : 150; int duration = vDuration; if (dbus_message_iter_append_basic(&args, DBUS_TYPE_INT32, &speed)) { if (dbus_message_iter_append_basic(&args, DBUS_TYPE_INT32, &duration)) { |