- View New Content
-
Getting Started
-
Tutorials
Tutorial Categories
Tutorials Main Page Installation and Setup Downloadable TutorialsROM Adjustments
Number of Balls Adjustments Volume Adjustments
-
Visual Pinball Tables
VP 8 Desktop Tables
All VPM Recreations VP Recreations VP/VPM MODs VP Originals ROMsVP 9 Desktop Tables
All VPM Recreations VP Recreations VP/VPM MODs VP Originals ROMsVP9 Cabinet Tables
All Full Screen Cabinet Full Screen B2S Cabinet Spanned Cabinet Tables Media Packs ROMsVPX Tables
All VPinMAME Recreations VPX- - /VPinMAME - MOD Tables VPX Recreations VPX Originals Media Packs ROMs VR
-
Frontend Media & Backglass
Media Packs
Complete Media Packs Wheel Logos VideosBackglasses
dB2S Animated Backglasses UVP Animated Backglasses Topper Images
- Future Pinball Tables
-
Design Resources
Main Resources
Table Templates Playfield Images Image Library Sound Library Key CodesVP Guides
VP8 Guide - English VP8 Guide - Deutsch VP9 Guide - English VP9.1.x Guide - English VP Object Guide VPM DocumentationFuture Pinball Resources
Playfield Images 3D Model LibraryFuture Pinball Guides
FP Script Guide Big Draco Script Guide FP Table Design Guide FP DMD Guide
- Other Features
- Bug Tracker
- Image Gallery
- Blogs
-
More
Standard key mapping for VP and FP with remapped additional keys for PinballFX2
Started By
DDH69
, Aug 14 2016 05:22 AM
DOFFX2
3 replies to this topic
#1
Posted 14 August 2016 - 05:22 AM
The journey with my little DOFX2 utility goes on. I decided that I wanted my ‘Start’ key to actually start a Pinball FX2 game, and my first Coin key to change the camera angle. Easy, just remap them on the iPac, well I didn’t want to try and do that on the fly from the command line as I launched a different emulator from PinballX.
My solution, add a small relay board (one relay per keyboard key I wanted, two to start, plus two spare for later – 4 relays fitted nicely on the circuit board). The relay is turned on from my LedWiz and it provides a switch input to my iPac using the relay normally open contacts. The iPac is permanently configured to see this new input as the <ENTER> key (start and launch ball in Pinball FX2. So in effect I have two <ENTER> keys when I use Pinball FX2 without remapping keys on the iPac.
Let me explain more. Step one build a relay board with the relays powered by unused outputs on my LedWiz. The board can be seen below.
Step 2, mount the relay board and wire the Normally Open (NO) contacts to unused switch inputs on my Ipac. See below.
Now program the iPac to use those new inputs as the keys I want. So far I’ve setup two of them, the first as another <ENTER> key (to start the game, enter initials, etc in Pinball FX2), the second as the <C> key to change the camera angle in Pinball FX2
Step 3, setup DOFFX2 to have a ‘Launch Before’ message sent to it that reconfigures the KEY_TO_OUTPUT to have a single button activate two outputs (message function available from V2.0). So my standard ‘Start’ button <1>, triggers two LedWiz outputs, the first turns on the LED in the button so I have a visual confirmation of the button being pressed, the second turns on the relay causing an iPac key stroke of <ENTER>. The setup and commands below were used.
DOFFX2_PinballFX2_On.ini
KEY_TO_OUTPUT=32 101 34 103 35 106 36 105 31 120 34 121
DOFFX2_PinballFX2_Off.ini
KEY_TO_OUTPUT=32 101 34 103 35 106 36 105
The “on” file sets two more outputs for various keys I have doing various acrtions, they are my relays. The “off” set it back to just the LED buttons which I am happy to have in FP and VP when DOFFX2 activates selectively via GAME_FLAG_FILE's for them. I can’t leave the KEY_TO_OUTPUT for the relays active, as FP or VP (quite rightly) will not like one valid key trying to do two things!
The KEY_TO_OUTPUT commands could have been sent as a message on their own to DOFFX2, I chose to send them via a supplementary ini (SUP_INI) message instead. That way I can easily add more start-up / shutdown stuff for PinballFX2 later on. Just personal preference really.
The end result is that when in Pinball FX2 my standard ‘Start’ button now sends two keystrokes to Pinball FX2, its normal <1> keystroke and an <ENTER> keystroke. The <1> is ignored by the software and the <ENTER> is used as appropriate.
Well I had fun, got what I wanted, and hope this can help someone else.
Contributions for equipment to help with ongoing DOFLinx development can be made here
#3
Posted 21 August 2016 - 10:05 AM
I do not understand well that is achieved with this
The end result is ....
The Start button and Plunger both work as the <ENTER> key when I run Pinball FX2 without re-programming my iPac. Pinball FX2 uses <ENTER> to start the game, pull the plunger and confirm entry of initials, I didn't want to always be pulling the plunger for <ENTER>. Also, the Coin 1 button works as the <C> key to adjust the camera in Pinball FX2, again without re-programming.
Contributions for equipment to help with ongoing DOFLinx development can be made here
#4
Posted 21 August 2016 - 08:29 PM
I do not understand well that is achieved with this
The end result is ....
The Start button and Plunger both work as the <ENTER> key when I run Pinball FX2 without re-programming my iPac. Pinball FX2 uses <ENTER> to start the game, pull the plunger and confirm entry of initials, I didn't want to always be pulling the plunger for <ENTER>. Also, the Coin 1 button works as the <C> key to adjust the camera in Pinball FX2, again without re-programming.
thanks .. the Spanish translator English confuses me sometimes
there a way to end the process pinballX Pinball FX2 once the balls are finished . and again pinballX table selection
Also tagged with one or more of these keywords: DOFFX2
Virtual Pinball →
Frontends and Addons →
Easily add Force Feedback flippers and RGB’s to non DOF’ed VP tablesStarted by DDH69 , 23 Aug 2016 |
|










Top










are all trademarks of VPFORUMS.