Hi,
I'm currently working on a project, bascially an arduino based interface for 2 Nes pads, 2 Snes pads, 4 N64 pads and 4 GC pads.
To accomplish that, I'.. hum wait, the next schema will me more clear :
So basically, my arduino send me through serial the pads status, a little client on the pc read the serial port and give that to a Feeder. vJoy allow me to emulate XInput pads and I have an SDK allowing me to control them. So, once I have the pad status on the computer I just feed the vJoy virtual pad which relly on the standard XInput HAL and on the emulator just see it as a classical XInput device so he can use it.
This is working for Nestopia, Zsnes and Project64 and working approximatively fine for Dolphin.
The buttons are ok and he can read the axis but only the positives ones !
Let's take an example with the X axis.
Dolphin XInput plugin correctly detect the X+ and X-. On the X+ axis everything work fine. But on the X- axis there's a problem, if I send -1 or -100 it's the same result, the joystick is considered as totally "down", no graduation.
For the moment I've used a workaround by mapping 4 axis per stick and only using the positive part of them, that work fine. The problem is I have a maximum of 8 Axis and the GC pad have 10 axis, 4 for the stick, 4 for the c-stick and 2 for L and R...
So I'm wondering if it's a known issue and if there's some workaround ?
If not I'm planning to develop my own input plugin, I've downloaded the source code and start to figure how it work, but is there some documentation about it ? Is there's a specific interface I just need to implement and drop the dll with the implementation in a plugin folder ?
Thank you in advance for all your answers ! I'm a bit desesperate :'(
Grtz from Belgium
EIS
EDIT
A little precision, it's on Dolphin 4.0 x64 - Build 23/09/2013 @ 20:20:40 and I'm in Windows 8.1 X64
I'm currently working on a project, bascially an arduino based interface for 2 Nes pads, 2 Snes pads, 4 N64 pads and 4 GC pads.
To accomplish that, I'.. hum wait, the next schema will me more clear :
So basically, my arduino send me through serial the pads status, a little client on the pc read the serial port and give that to a Feeder. vJoy allow me to emulate XInput pads and I have an SDK allowing me to control them. So, once I have the pad status on the computer I just feed the vJoy virtual pad which relly on the standard XInput HAL and on the emulator just see it as a classical XInput device so he can use it.
This is working for Nestopia, Zsnes and Project64 and working approximatively fine for Dolphin.
The buttons are ok and he can read the axis but only the positives ones !
Let's take an example with the X axis.
Dolphin XInput plugin correctly detect the X+ and X-. On the X+ axis everything work fine. But on the X- axis there's a problem, if I send -1 or -100 it's the same result, the joystick is considered as totally "down", no graduation.
For the moment I've used a workaround by mapping 4 axis per stick and only using the positive part of them, that work fine. The problem is I have a maximum of 8 Axis and the GC pad have 10 axis, 4 for the stick, 4 for the c-stick and 2 for L and R...
So I'm wondering if it's a known issue and if there's some workaround ?
If not I'm planning to develop my own input plugin, I've downloaded the source code and start to figure how it work, but is there some documentation about it ? Is there's a specific interface I just need to implement and drop the dll with the implementation in a plugin folder ?
Thank you in advance for all your answers ! I'm a bit desesperate :'(
Grtz from Belgium
EIS
EDIT
A little precision, it's on Dolphin 4.0 x64 - Build 23/09/2013 @ 20:20:40 and I'm in Windows 8.1 X64