Jump to content



Photo
- - - - -

Setting Up Analogue Nudge in DOFLinx

DOFLinx nudge

  • Please log in to reply
90 replies to this topic

#41 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 06 November 2019 - 07:25 AM

OK, Two things;

 

1. For the Notepad test to work you need to add NUDGE_CHECK_BASIC_KEYBOARD=1 to your INI file.  I've just done it, tests fine with Notepad.  Sorry I missed telling you this before.  The parameter is needed to do the nudge checking if the triggering process is nor FX3.

 

2. To cascade the L-Ctrl and R-Ctrl of your cabinet to FX3 you need to set NUDGE_LEFT_INPUT=A2 and NUDGE_RIGHT_INPUT=A3 in your INI file.  This will not impact the Notepad test

 

Let us know how this goes for you.


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#42 Bartosaurio

Bartosaurio

    Neophyte

  • Members
  • Pip
  • 5 posts

  • Flag: United States of America

  • Favorite Pinball: Addams Family

Posted 14 November 2019 - 10:21 PM

Good afternoon,

 

I did this and worked in Notepad. Then it start working in Pinball FX2. But only if I launch FX2 without PinUp. When I launch the tables with PinUp, it does not work.

 

The log shows that the keystroke was sent but FX2 nor FX3 receive it.



#43 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 15 November 2019 - 03:56 AM

I don't use PinUp on my pinball cabinet, still toying around with it for my new arcade cabinet.  The inference here is that PinUp is somehow stopping the keystroke placed into the keyboard buffer, odd, but ultimately possible.  It might be worth hopping on the PinUp support thread and asking the question.  If this is the case, I'm sure NailBuster and I can sort it out.


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#44 NailBuster

NailBuster

    Enthusiast

  • Members
  • PipPipPip
  • 300 posts

  • Flag: Canada

  • Favorite Pinball: YES

Posted 15 November 2019 - 03:16 PM

PinUP doesn't 'eat' any keys... how would that work if it did, the emulators wouldn't get any keys/button presses if it did.  

 

I'd guess its something else...maybe a windows focus issue of what gets the keys (again, outside of Pinup realm).



#45 Bartosaurio

Bartosaurio

    Neophyte

  • Members
  • Pip
  • 5 posts

  • Flag: United States of America

  • Favorite Pinball: Addams Family

Posted 18 November 2019 - 11:38 PM

The emulator is receiving the input from the buttons and the keyboard, but not from Doflinx.

 

Any idea on what to test next?



#46 Spitfire

Spitfire

    Enthusiast

  • Platinum Supporter
  • 83 posts

  • Flag: Australia

  • Favorite Pinball: getaway ii highspeed

Posted 01 December 2019 - 11:33 PM

@DDH69 hey Mate just cant seem to get nudge to work correctly in fx3. No matter what settings i place for nugde points in ini whether it be -high number of plus highnumber or 0 when in game nudge is always active. Also in joy test after i nudge it the nudge word always is on even at rest??
Have setup with X360ce and all good function wise in that program.
Follow instructions and attached are my doflinx.ini and Joytest screen.

What am i missing? Nudge works as it should in VPX.
Please help?Attached File  713F1BC9-5F4D-4358-81FF-040678EFAF17.jpeg   158.93KB   3 downloadsAttached File  4C4D87B5-BEC8-4F32-A1F2-CCA26D97A8C7.jpeg   129.52KB   0 downloads

#47 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 02 December 2019 - 11:17 AM

@DDH69 hey Mate just cant seem to get nudge to work correctly in fx3. No matter what settings i place for nugde points in ini whether it be -high number of plus highnumber or 0 when in game nudge is always active. Also in joy test after i nudge it the nudge word always is on even at rest??
Have setup with X360ce and all good function wise in that program.
Follow instructions and attached are my doflinx.ini and Joytest screen.

What am i missing? Nudge works as it should in VPX.
Please help?attachicon.gif 713F1BC9-5F4D-4358-81FF-040678EFAF17.jpegattachicon.gif 4C4D87B5-BEC8-4F32-A1F2-CCA26D97A8C7.jpeg

 

Having the nudge point as zero means that any movement is a nudge (you don't want this), so the numbers you want are definitely higher than zero.  The numbers I see on the test screen are fairly high as maximums, but workable.  The nudge triggers when the nudge point is reached.  So on the test screen the max you reached was 21264, if you set the Y nudge point as that number then you would have to nudge the cabinet that hard to trigger the nudge.

 

What device are you getting the nudge input from?  A Pinscape?   If so, has the device been calibrated?


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#48 Spitfire

Spitfire

    Enthusiast

  • Platinum Supporter
  • 83 posts

  • Flag: Australia

  • Favorite Pinball: getaway ii highspeed

Posted 02 December 2019 - 01:36 PM

I am using a virtuapin board and plunger kit it seems very sensitive when doing the Joytest and even the slightest tap makes the nudge word show up. I have set the nudge points to 10000, 20000 even 100000 and still it want stop the nudge in FX3 from being always active and titting the table making it unplayable. Any thoughts?

#49 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 02 December 2019 - 08:00 PM

The software is doing what it should by the sounds of it.  Your problem sounds like the sensitivity of the hardware.  Is there some sort of setup process?


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#50 Spitfire

Spitfire

    Enthusiast

  • Platinum Supporter
  • 83 posts

  • Flag: Australia

  • Favorite Pinball: getaway ii highspeed

Posted 03 December 2019 - 01:23 AM

The software is doing what it should by the sounds of it.  Your problem sounds like the sensitivity of the hardware.  Is there some sort of setup process?


@DDH69 You have said that by putting up nudge point to 21000 that the nudge should not activate however even if i put it up to 30000 or 50000 the nudge is always activating??
I have stopped trying and have it now got it working using the X360ce software and launching with pinballX. Plunger and nudge working now in FX3 as it should.

#51 Bushav

Bushav

    Enthusiast

  • Members
  • PipPipPip
  • 200 posts

  • Flag: United States of America

  • Favorite Pinball: AC/DC

Posted 19 December 2019 - 10:28 PM

Great info!


Edited by Bushav, 19 December 2019 - 10:30 PM.


#52 stargate66

stargate66

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: ---------

  • Favorite Pinball: Indianapolis 500

Posted 09 January 2020 - 12:10 AM

Guys:

 

When I set up Pinscape with any keyboard options, the Left Nudge Point stays on a NUDGE state in DOFLinx. Any FX3 table that I start keeps nudging the table until it tilts.

 

No issues when using Pinscape with button options only, its any keyboard key enabled that causes the problem. Any suggestions?

 

Thanks

 

 

 

 

DIRECTOUTPUTCONFIG=C:\DirectOutput\config\directoutputconfig.ini
PATH_FX3=C:\DirectOutput\FX3_PUPlayer\
PATH_FX3_B2S=C:\DirectOutput\FX3_B2S\
PATH_B2S_SERVER=C:\Visual Pinball\Tables\
PROCESSES=Pinball FX3
PROCESS_TO_ACTIVE_TIME=1
#L_FLIPPER_KEY=4C
#R_FLIPPER_KEY=52
#MAX_FLIPPER_ON=5000
#KEY_TO_OUTPUT=34,119
NUDGE_CHECK_BASIC_KEYBOARD=1
JOY_PORT=1
JOY_X_OFFSET=32767
JOY_Y_OFFSET=32768
NUDGE_LEFT_POINT=-6500
NUDGE_RIGHT_POINT=6500
NUDGE_FORWARD_POINT=5000
NUDGE_LEFT_KEY=4C
NUDGE_RIGHT_KEY=52
NUDGE_FORWARD_KEY=20
PLUNGER_AXIS=Z
PLUNGER_JOYSTICK_NUMBER=1
PLUNGER_KEY=0D
PLUNGER_PULL_POINT=63000
PLUNGER_RELEASE_POINT=33000

 



#53 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 09 January 2020 - 01:00 AM

What do you mean by "keyboard options" on the Pinscape?  What are the options you are setting?  What do you see in the test option for determining nudge points in DOFLinx when you use this setup?


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#54 stargate66

stargate66

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: ---------

  • Favorite Pinball: Indianapolis 500

Posted 09 January 2020 - 03:08 AM

Everything is set as above on my .ini.

 

But When I try setting any keyboard keys vs standard joystick buttons in Pinscape DOFLink then keeps the LEFT NUDGE POINT nudging all the time (it doesn't even flash on and off when I test the joystick in debug.

 

I believe is because Windows then sees Pinscape as a keyboard and not a joystick anymore.



#55 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 09 January 2020 - 03:13 AM

Windows "sees" the Pinscape as both a keyboard and a joystick when setup with a mixture of key inputs.  The analogue nudge is always a joystick input.  I'm not sure if the joystick # it sees in Windows changes or not - I have never tested that, might be worth a look.

 

I think the first step would be to check at the Windows level if you still have a joystick being recognised by Windows and what number it is.  You can do this via Control Panel.  DoflInx will also report what joysticks it finds upon startup, so you can quit DOFLinx, set your Pinscape as desired then restart DOFLinx.

 

The layers to work through are;

  1. Pinscape setup
  2. Windows setup
  3. DOFLinx test nudge
  4. DOFLinx operation nudge

in that order.


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#56 stargate66

stargate66

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: ---------

  • Favorite Pinball: Indianapolis 500

Posted 09 January 2020 - 10:29 PM

It had to do with Pinscape was set up as Ledwiz 1 (within Pinscape utility) once I changed the setting to Pinscape ID the issue was resolved.

 

Thanks 



#57 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 09 January 2020 - 11:29 PM

Great news.  Thanks for letting us all know.


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here

#58 stargate66

stargate66

    Neophyte

  • Members
  • Pip
  • 9 posts

  • Flag: ---------

  • Favorite Pinball: Indianapolis 500

Posted 09 January 2020 - 11:37 PM

BTW - Hope everyone is OK back home. Stay safe DDH69



#59 goofything

goofything

    Hobbyist

  • Members
  • PipPip
  • 21 posts

  • Flag: United States of America

  • Favorite Pinball: At the moment...Star Trek Next Gen and Monster Bash

Posted 06 October 2020 - 11:05 PM

Hi all...late to the game here.

 

I am looking to implement analog nudge for FX3. I am using the KL25Z Pinscape as my controller. I don't have anything requiring DOF at this point, just a basic controller with buttons for flippers, etc. and analog nudge in VPX all done through Pinscape.

 

So, my question is, would installing DOF and using the methods described in this thread be the best way to go today to implement analog nudge in FX3, would I be better off going the x360ce route (like say via MajorFrenchy's video) or is there a new, better method people are using now that I just haven't discovered?

 

Thanks in advance for any advice or suggestions. I really appreciate all input.



#60 DDH69

DDH69

    Pinball Wizard

  • Platinum Supporter
  • 3,603 posts
  • Location:DOFLinx HQ, Adelaide

  • Flag: Australia

  • Favorite Pinball: Monster Bash

Posted 07 October 2020 - 12:29 AM

I am clearly bias in believing the DOFLinx solution to be the way to go, I'll leave it to others to comment on the x360 solution  :P

 

You don't need any toys setup, nor a full DOF configuration, all you need is the DOF DLL's in and unblocked then the DOFLinx setup.

 

If you setup the DOFLinx solution you can always change later if its not the one for you.


DOFLinx
Contributions for equipment to help with ongoing DOFLinx development can be made here





Also tagged with one or more of these keywords: DOFLinx, nudge