p1pkin / demul

Automatically exported from code.google.com/p/demul
96 stars 19 forks source link

Demul stops detecting any XInput device with Touchmote software active #475

Open voradori opened 5 years ago

voradori commented 5 years ago

Touchmote (http://touchmote.net/) is a soft for making Wiimotes work on PC as a mouse, keyboard or XInput device. It installs a bunch of virtual devices connected by Vmultia HID driver, Also, SCP Virtual Bus driver is used here.

So the problem is next:

Starting point : No Touchmote an SCP drivers installed - X360 gamepad is detected, buttons can be binded Steps to reproduce:

  1. Install Touchmote
  2. Run Touchmote
  3. Run Demul
  4. Open controller settings
  5. Try to map any button with any XInput device - no matter is it virtual from Touchmote or real X360 gamepad.

Result - nothing happens. Timer is ticking, no reaction for pressing any button\axis. If you turn off Touchmote and restart Demul - everything works.

Why it's important - we, Wiimote owners, use them as PC LightGuns in many emulators. There's no public software than can make them as a separate rawinput mouses, so we are not able to use them with native lightgun support in Demul for 2-players mode.

It's still possible when emulating Naomi, as we have Demulshooter here, which translates XInput stick data and inject it as an absolute raw mouse input. But it does not work for Dreamcast.

If the bug with Touchmote will be fixed, we will be able to use Wiimote guns in a regular gamepad mode, using Wiimote's IR data as gamepad stick - for example Reicast libretro core can do this.

Another way - requesting a new feature, ability to map lightgun axes and buttons in Demul control settings for both DC and arcades, like MAME .

But in both cases we need the ability to detect Xinput data when Touchmote is running. We can't ask Touchmote's dev to look at this - he stopped the active development, and simply does not respond. Also, as it uses public libs as vmultia, so too people may need to be envolved. But we are tied to it, as no good cheap alternative exists.

And not everyone can afford Aimtraks, to get rid of all of this problems and not bother you with it - a single one for 100$ basic price, can turn into 200$+ including delivery and all taxes for the ones living not in EU\US region.

And Demul is the only emulator with such XInput issue - never seen such problem in any other emu or PC game.

So we can only hope you'll have a look at this someday

xbrunox76 commented 5 years ago

https://youtu.be/r0Jtr16o9XI Look here... 2 wiimote 2 dolphinbar in mode2. 2 mouse for windows! Perfectly work with demul and demulshootet