Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: mrcram on June 24, 2012, 01:43:14 am

Title: Zero Delay Board and UHID. M2 cant do both? *Solved*
Post by: mrcram on June 24, 2012, 01:43:14 am
Still working on my Daytona Twin cab. Spent a good couple of hours today wiring up my shifter and VR buttons to the Zero Delay Encoder Board from Vigo only to find out that M2 emulator cant run both my UHID for the the pots and encoder board for the shifter and buttons.  That is because both of these come up as gamepads.  Zero delay joypad #1 and UHID joypad #2.  Is there any way to get M2 emulator to use both or am I screwed and just going to have to get a keyboard encoder that does not come up as a gaming controller?  Please help me.
Title: Re: Zero Delay Board and UHID. M2 cant do both?
Post by: Vigo on June 24, 2012, 07:12:44 am
Have you tried running joy2key (http://www.electracode.com/4/joy2key/JoyToKey%20English%20Version.htm) to convert the joypad interface on the ZD encoder to keystrokes?

If it is only reading the first joystick ID#, you may need to swap the ID# first so that the it will read the optical encoder directly, and the ZD will just be read through the Joy2Key keystrokes. If swapping the USB ports doesn't do it, JoyIDs (http://www.wingmanteam.com/latest_software/gadgets.htm#JoyIDs_Utility:) might do the trick.
Title: Re: Zero Delay Board and UHID. M2 cant do both?
Post by: mrcram on June 24, 2012, 10:45:51 am
I will try that.  I'm sure that will work.  I will report back.  Thank you.
Title: Re: Zero Delay Board and UHID. M2 cant do both?
Post by: mrcram on June 24, 2012, 02:29:38 pm
I will try that.  I'm sure that will work.  I will report back.  Thank you.

I guess I spoke too soon.  JoyID will not switch because UHID comes up as a HID gamepad not a joystick.  No matter what, M2 emulator only sees the zero delay board when both are plugged in.  Unless, someone knows a work around, I guess I have to buy an encoder that does not come up as a gamepad.
Title: Re: Zero Delay Board and UHID. M2 cant do both?
Post by: PL1 on June 24, 2012, 05:32:34 pm
I guess I have to buy an encoder that does not come up as a gamepad.

Degenatron's AVR encoder shows up as a keyboard.  Thread here (http://forum.arcadecontrols.com/index.php?topic=120362.0;all).

Resource page for latest info, key maps, and downloading firmware here (https://sites.google.com/site/degenatrons/controller-interfaces/usb-keyboard-encoder/resources-for-usb-keyboard-encoder).

This post (http://forum.arcadecontrols.com/index.php?topic=120362.msg1276621#msg1276621) in the thread has several sources for buying the boards:
--Degenatron (http://forum.arcadecontrols.com/index.php?topic=120362.msg1279434#msg1279434) sells them with screw terminals (He's in the UK)
--404 sells them without screw terminals. (He's in Florida) He programmed and ops checked mine before shipping them.
--Several commercial vendors also sell them without screw terminals, if you don't mind programming them yourself.

If you need a custom map, Degenatron offered in this post (http://forum.arcadecontrols.com/index.php?topic=120362.msg1279434#msg1279434) to adjust keymaps if needed.


Scott
Title: Re: Zero Delay Board and UHID. M2 cant do both?
Post by: BadMouth on June 24, 2012, 09:36:29 pm
Model 2 emulator should be seeing both controllers and allow you to use both without any workarounds.
I'm using a logitech wheel and an act labs shifter.  They show up as separate controllers.

Make sure both are plugged in before launching the emulator.
For the analogue controls, you have to double click on the input on the config controls tab,
then another window will pop up that allows you to select the device and axis.

The rest of the controls will just automatically map to whichever controller you move after you double click it to map.

In addition to the wheel and shifter, I'm also using a Key-Wiz because a lot of the older driving games limit you to one controller and a keyboard.  Having buttons post as arrow keys, enter and escape also makes navigating menus of pc games easier.
Title: Re: Zero Delay Board and UHID. M2 cant do both? *Solved*
Post by: mrcram on June 25, 2012, 12:23:38 am
Ok, so I figured it out but it was a pain.  I am running XP by the way.  So to start, I have to unplug both boards (UHID and zero delay KBE)  I then plugged in zero delay board first and changed button settings in M2.  I then plugged in UHID and changed steering/accel/brake to UHID.  Works perfect now.  I am not sure why it only works this way for me.  Maybe my computer?  Before everytime I tried to change anything in M2 config, it would automatically put in Joystick #2 up.  Weird how the littlest change makes a difference.  
Title: Re: Zero Delay Board and UHID. M2 cant do both? *Solved*
Post by: RamjetR on June 25, 2012, 11:07:38 pm
I have to do this too. Sometimes M2E crashes when I have to configure an input and have more than 2 usb game devices installed.

I have a USB Dual Gamepad (hacked for VR buttons + Sequential shifter right hand side)
Logitech G27 (Wheel, Pedals and Gears 6speed)
USB Gamepad adaptor (Coin slots)

So I just unplug them all but the one I need to configure, then plug the rest back in. You only have to do it the first time you configure it.

Title: Re: Zero Delay Board and UHID. M2 cant do both? *Solved*
Post by: AndyWarne on June 27, 2012, 12:49:28 pm
Ok, so I figured it out but it was a pain.  I am running XP by the way.  So to start, I have to unplug both boards (UHID and zero delay KBE)  I then plugged in zero delay board first and changed button settings in M2.  I then plugged in UHID and changed steering/accel/brake to UHID.  Works perfect now.  I am not sure why it only works this way for me.  Maybe my computer?  Before everytime I tried to change anything in M2 config, it would automatically put in Joystick #2 up.  Weird how the littlest change makes a difference.  
Just for interest sake, is there some reason you can't use the U-HID for all controls? The U-HID emulates keyboard, joystick and mouse.