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: VPinball/IPAC help please  (Read 2015 times)

0 Members and 1 Guest are viewing this topic.

dezblack

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:June 04, 2012, 01:37:01 am
VPinball/IPAC help please
« on: September 15, 2009, 05:14:28 am »
I have an IPAC programmed to use enter for the plunger on the down axis of the right joystick. I have a problem in some games, but not all and am confused as to why. I can press enter on the keyboard and the ball is launced fine in haunted house (for 1), but using the joystick it doesn't hit it hard enough to launch it all the way. It only goes about 3/4 of the way up the launch part and rolls back. Anyone dealt with this before?

NelsonPJ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 54
  • Last login:June 17, 2020, 06:50:27 am
Re: VPinball/IPAC help please
« Reply #1 on: September 15, 2009, 06:14:15 pm »
I'm using an IPAC with a button programmed as "Enter" for the Visual Pinball plunger and it works fine, so it should work fine for a joystick input too (since they're both microswitches).

Some Visual Pinball games have strange plunger behavior, like requiring the arrow keys to "set" the plunger, and then pressing the enter key to release the plunger.  Not "cab friendly" at all.  Are you running into something like that?

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: VPinball/IPAC help please
« Reply #2 on: September 15, 2009, 07:30:12 pm »
Also, I believe VP uses a "timed" press concept.

Meaning, you press the enter and it starts pulling the plunger back, and when you let go, it releases the plunger.

If your stick just "clicks" the button, it might not be being held down long enough to pull the plunger back far enough to actually get a proper kick.

But that's just a guess.

I wired a switch onto an +actual+ plunger and that's the behavior I was seeing.


Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: VPinball/IPAC help please
« Reply #3 on: September 15, 2009, 11:02:20 pm »
I'd never use 'enter' for anything but what it does on the keyboard.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

NelsonPJ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 54
  • Last login:June 17, 2020, 06:50:27 am
Re: VPinball/IPAC help please
« Reply #4 on: September 16, 2009, 11:32:45 am »
As I remember it's not easy to change VPinball key assignments, since a lot of them seem to be defined in the scripts for each game.  So you'll run across a table that has key assignments "hard-coded", including the "Enter" key for plunger.

Then again, what's the problem with having a button press "Enter" if you're also generating "Alt" "Ctrl" and "Shift" for MAME?   :)

When I first built my cab, it was running fine with two U360's using the gamepad inputs for my buttons.  I had no issues with MAME and other emulators, but I found to run VPinball I needed to buy an IPAC to generate the keyboard inputs needed for plunger ("Enter"), flippers (left and right "Shift" buttons), bump buttons (Z, /, and space, if I remember), and also coin and start (5 and 1).  I could have used XPadder or joy2key, etc, but I couldn't get that set up reliably.

dezblack

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:June 04, 2012, 01:37:01 am
Re: VPinball/IPAC help please
« Reply #5 on: September 16, 2009, 12:58:22 pm »
well honestly, it was quite easy to setup the buttons from an option in the menu at the top. all of my buttons do work fine from the keyboard. and yes, I do need to hold down enter to let the plunger go all the way back and then release to launch. it works just fine from the keyboard, but when going through the ipac mapping it does not launch strong enough. I have tried holding it down for variable amounts of time, and graphically, the plunger does retract and extend fully. I'm just baffled here, it appears maybe I have an issue with the ipac somehow?

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: VPinball/IPAC help please
« Reply #6 on: September 16, 2009, 01:02:51 pm »
I wonder if your joystick is 'bouncing' the switch when you let go of it?  Try mapping to a button instead (or try releasing the joystick back to center very SLOWLY) and see if that helps? 

NelsonPJ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 54
  • Last login:June 17, 2020, 06:50:27 am
Re: VPinball/IPAC help please
« Reply #7 on: September 17, 2009, 09:29:32 am »
Does the IPAC have some sort of  optional "key repeat" functionality?  Maybe you've accidentally enabled it?  So when you pull the joystick down to press "Enter", instead just sending a single key command, it's sending the key on and off really fast?

Looking at the IPAQ FAQ on the Ultimarc website, I found this:

What about key-repeat (Typematic)?
In USB mode key repeat is supported as on a normal keyboard and is handled by the PC. In PS/2 mode key repeat is not generally desirable for gaming because sending unnecessary strings of key-presses to the PC can cause unwanted clutter on the PS/2 interface and steal CPU cycles. It is useful though to have key repeat outside of gaming, for example for scrolling up and down game lists in a front end. The I-PAC solves this problem by implementing a selective repeat on up/down only, for scrolling through lists. If you have a need for repeat on all inputs, this can be supplied on request.



Is it just a coincidence that the key repeat feature is only available on  Joystick#1 up/down, and you've assigned "Enter" to Joystick#1 Down?

dezblack

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:June 04, 2012, 01:37:01 am
Re: VPinball/IPAC help please
« Reply #8 on: September 17, 2009, 12:10:45 pm »
Well I did try the releasing slowly thing and it didnt work. This is on joystick 2, but it looks like the issue is with the repeatable key! The weird thing is, It works fine in about 90% of games. I guess I need to look at the scripts and see if I can figure out if there is code I can swap out to fix it. thanks for looking at that and letting me know what you found.

dezblack

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:June 04, 2012, 01:37:01 am
Re: VPinball/IPAC help please
« Reply #9 on: September 17, 2009, 12:58:34 pm »
Thank you all for the help! I played around a bit more after getting the info you guys helped me with. I am able to get it to work now. All I did was map the right joystick up to enter as well. Now when I launch it, for some reason it is always at a speed strong enough to actually get it to the table, thanks again all! I just checked my post on the vpforums that I put up on the 15th and still not a single reply! I appreciate you guys
 

NelsonPJ

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 54
  • Last login:June 17, 2020, 06:50:27 am
Re: VPinball/IPAC help please
« Reply #10 on: September 18, 2009, 07:37:24 pm »
Cool!  I'm glad you got it working.  I love playing VPinball on my cab.

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: VPinball/IPAC help please
« Reply #11 on: September 19, 2009, 06:28:18 pm »
I just checked my post on the vpforums that I put up on the 15th and still not a single reply! I appreciate you guys
 

VPforums is back up?.....
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.