Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Zero Delay Board and UHID. M2 cant do both? *Solved*  (Read 2936 times)

0 Members and 1 Guest are viewing this topic.

mrcram

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 187
  • Last login:October 07, 2016, 05:47:03 am
  • OREGON STATE
Zero Delay Board and UHID. M2 cant do both? *Solved*
« 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.
« Last Edit: June 25, 2012, 12:49:15 am by mrcram »

Vigo

  • the Scourage of Carpathia
  • Global Moderator
  • Trade Count: (+24)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6417
  • Last login:June 25, 2025, 03:09:16 pm
Re: Zero Delay Board and UHID. M2 cant do both?
« Reply #1 on: June 24, 2012, 07:12:44 am »
Have you tried running joy2key 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 might do the trick.

mrcram

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 187
  • Last login:October 07, 2016, 05:47:03 am
  • OREGON STATE
Re: Zero Delay Board and UHID. M2 cant do both?
« Reply #2 on: June 24, 2012, 10:45:51 am »
I will try that.  I'm sure that will work.  I will report back.  Thank you.

mrcram

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 187
  • Last login:October 07, 2016, 05:47:03 am
  • OREGON STATE
Re: Zero Delay Board and UHID. M2 cant do both?
« Reply #3 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.

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9674
  • Last login:Today at 02:50:03 pm
  • Designated spam hunter
Re: Zero Delay Board and UHID. M2 cant do both?
« Reply #4 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.

Resource page for latest info, key maps, and downloading firmware here.

This post in the thread has several sources for buying the boards:
--Degenatron 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 to adjust keymaps if needed.


Scott

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9272
  • Last login:Yesterday at 06:57:41 am
  • ...
Re: Zero Delay Board and UHID. M2 cant do both?
« Reply #5 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.
« Last Edit: June 24, 2012, 09:41:00 pm by BadMouth »

mrcram

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 187
  • Last login:October 07, 2016, 05:47:03 am
  • OREGON STATE
Re: Zero Delay Board and UHID. M2 cant do both? *Solved*
« Reply #6 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.  
« Last Edit: June 25, 2012, 12:48:58 am by mrcram »

RamjetR

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 144
  • Last login:July 04, 2021, 03:27:58 am
    • My Youtube Channel
Re: Zero Delay Board and UHID. M2 cant do both? *Solved*
« Reply #7 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.

Gentlemen.... Start your engines!
My Youtube Channel http://www.youtube.com/user/ramjetr?feature=mhee
Try my RamjetM2Borderless V0.7 utility for your M2Emulator shooting games here https://docs.google.com/open?id=0B-P3wlCiYEm3RzhCZk1NcFR3blE
Try my Sega Model 2 Output Utility RamjetVR V1.4 https://docs.google.com/file/d/0B-P3wlCiYEm3VHhBMXNxZGVIQk0/edit

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: Zero Delay Board and UHID. M2 cant do both? *Solved*
« Reply #8 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.