danielb6611 / mupen64plus

Automatically exported from code.google.com/p/mupen64plus
0 stars 0 forks source link

no Rumble events in 1.99 #321

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Describe your system:
 - Ubuntu 9.10
 - 64 bit
 - 1.99.2 (hg)
 - Plugins used: Mupen64Plus SDL Input Plugin version 1.99.2 (default)

Describe the problem:
Rumble events do not get played in 1.99.2 where they worked in 1.5 with
blight's SDL input plugin v0.0.10

Behaviour in version 1.5:
Configured gamepad with rumble pad plugged - 'just worked'
Behaviour in version 1.99.2:
Using auto-configuration, gamepad is detected correctly (see below),
pressing the mempack or the rumble pack switch causes some vibration, but
no rumble events occur in games where they used to.

Games tested: F-Zero X, Star Wars Episode I - Racer, California Speed

Input: Using auto-configuration for device 'Chinese-made Xbox Controller'
Input: 1 controller(s) found, 1 plugged in and usable in the emulator
Input: Rumble activated on N64 joystick #1
Input: Mupen64Plus SDL Input Plugin version 1.99.2 initialized.

Original issue reported on code.google.com by benpi...@googlemail.com on 27 Jan 2010 at 7:57

GoogleCodeExporter commented 8 years ago
Are you sure that you were able to make Rumble work in F-Zero X with the 1.5 
release?
 I just tried both 32-bit and 64-bit binary packages of 1.5 and got the exact same
behavior as with the latest code.  The console says that rumble is activated 
and the
mempak and rumblepak switches produce force feedback, but nothing in the game
activated the rumble.  I just ran the first race and tried crashing into cars 
and the
walls.

Please test further with 1.5 and give exact instructions to produce an in-game 
rumble
effect (with any of the games you listed) so that I can reproduce this problem. 
 FYI,
I am able to produce in-game rumble with Starfox 64 with the latest build, so 
it does
work for at least some games in 1.99.x.

Original comment by richard...@gmail.com on 28 Jan 2010 at 4:27

GoogleCodeExporter commented 8 years ago
You don't get a rumble event for every bumping into walls or cars in F-Zero, 
only
major collisions cause such an effect. But there is certainly an event at the
explosion that takes place when you fall of stage. (e.g. in "Death Race").

I've just noticed that rumble *works* with 1.99.2 when I manually set
plugin = 5
in InputAutoCfg.ini, seems like there is some bug - with that set, I can also
activate/deactivate rumble in the game.

Original comment by benpi...@googlemail.com on 28 Jan 2010 at 7:06

GoogleCodeExporter commented 8 years ago
You were right; there was a bug in the input plugin which has existed since we 
added
the rumble feature a long time ago.  The effects of this bug were: impossible to
switch between mem/rumble paks while playing, and (at least for some games) the
rumble pak would not work after switching to the mem pak and then back to 
rumble.

I have fixed this bug and pushed the change to the bitbucket repository.  
Please pull
the latest code, test, and verify that it works for you.  I tested with F-Zero. 
 It
works now even if you start with Pak type 2 (mem pak) in the config file, 
though you
must switch to the rumble pak before starting a race.

Original comment by richard...@gmail.com on 3 Feb 2010 at 5:19