X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=maemo%2Fhildon.c;h=7e9cd9fe8b00d49f4fe64cf95466de8a11804c6c;hb=refs%2Fheads%2Fmaster;hp=bd895c96311c6cc35dbda29d47ca3767e88c4d0b;hpb=7010034e5499a82f96f9fb45e7be31789a3f63b9;p=pcsx_rearmed.git diff --git a/maemo/hildon.c b/maemo/hildon.c index bd895c96..81af5d8e 100644 --- a/maemo/hildon.c +++ b/maemo/hildon.c @@ -13,7 +13,6 @@ #include "../include/psemu_plugin_defs.h" #include "../libpcsxcore/cdrom.h" #include "../libpcsxcore/cdriso.h" -#include "../plugins/dfinput/main.h" #include "../frontend/libpicofe/readpng.h" #include "maemo_common.h" #include @@ -805,7 +804,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 +816,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)) {