this commit should help https://github.com/mupen64plus/mupen64plus-input-sdl/commit/0afa0cd7224f2ab50fb41467393a5723d44fbce3

We'll update mupen64plus core + plugin in a next release