Re: Pole Position Shifter Problem or Keyboard Hack Problem


[ Follow Ups ] [ Post Followup ] [ Build Your Own Arcade Controls message board ] [ FAQ ]

Posted by Just Michael on 7, 2001 at 11:43 AM:

In Reply to: Pole Position Shifter Problem or Keyboard Hack Problem posted by Rob on 7, 2001 at 1:01 AM:

: I am attempting to connect a Pole Position Control Panel to a Hacked keyboard. The problem I have with the shifter is this. There are three connectors on the control. I will label them 1,2, & 3. When 1 & 2 are connected the the keyboard and the shifter is in high gear I get a constant stream from the space key. While the control is in low gear I get nothing in this configuration. When 1 & 3 are connected I get the constant stream in low gear and not high. As I would expect 2 & 3 do nothing.

: Ok Here is my question. Is there a way to modify this so only first keypress is registered and all others are ignored. I thought about disabling this in bios, but I need the capability for the gas pedal.

: Thanks

If you compile your own, you could modify the source to remove the toggle and make it act like the original game.

In polepos.c,
find (about 1/5 the way down the file in Input Port Definitions):
PORT_BITX(0x02, IP_ACTIVE_HIGH, IPT_BUTTON1 | IPF_TOGGLE, "Gear Change",

And change it to:

PORT_BITX(0x02, IP_ACTIVE_HIGH, IPT_BUTTON1 /*| IPF_TOGGLE*/, "Gear Change",

This comments out the toggle part. Now save it and compile and you will have a Pole Position driver that acts like the arcade.



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Build Your Own Arcade Controls message board ] [ FAQ ]