Jump to content



Photo
- - - - -

ALP (OTG) Nudge Accelerometer - Fine-Tuning and Calibrating

alp atgames accelerometer steam imput

  • Please log in to reply
5 replies to this topic

#1 Tesla

Tesla

    Pinball Fan

  • Silver Supporter
  • 1,369 posts
  • Location:Texas, USA

  • Flag: United States of America

  • Favorite Pinball: Star Trek - TNG

Posted 01 February 2023 - 11:00 PM

Well, I got virtual-nudge working (pretty good) on my Atgames Legends Pinball (with stock control panel). After installing my 8-inch DMD screen, this was the final piece. Wow, this is actually coming-together.
 

I'm using Steam-Input (with The Pinball Arcade/ Arcooda, Pinball FX3, and Zaccaria Pinball) with ALP's Generic HID Game Controller ... for best latency (ie no JoyToKey). Actually, I'm not seeing any flipper-delay at all.

 

As many suggested, I re-mapped the X and Y Axis of the Accelerometer to Left Joystick (so the games can find-it and use it for table nudge). 

 

Steam-Input Joystick Input Style of WIDE , seems to work pretty good and relaxes it a bit (as you likely know ... it's already a little "jumpy"). I'm guessing this is about as close as we are going to get toward a Sensitivity Adjustment.

 

One existing problem is that it's average resting location is about 20% away from the middle. I think this is causing trouble with fine-tuning the deadzone and other stuff. 

 

- The ALP's native Accelerometer Calibration (like for it's built-in Gottlieb tables) doesn't seem to apply to OTG-Mode/Windows.

- The Windows-10 Game Controller Calibration is lame and just messes things up.

- I can't seem to use the Steam-Input Auto-Calibration ... apparently because it's not a true-joystick so you can't "hold it" at 10 different directions of full-travel.

 

Any ideas on how to fine-tune this? Maybe some tips and procedures you use on Windows Virtual-Pinball?


Edited by Tesla, 02 February 2023 - 12:17 AM.


#2 Tesla

Tesla

    Pinball Fan

  • Silver Supporter
  • 1,369 posts
  • Location:Texas, USA

  • Flag: United States of America

  • Favorite Pinball: Star Trek - TNG

Posted 04 February 2023 - 03:45 AM

Nevermind.

 

Since the ALP's on-board accelerometer can be calibrated and adjusted to (barely) work adequately in its native-mode ...

I've ordered a KL25Z that should be able to work in OTG and Windows (for Steam and VP).



#3 Sparcky

Sparcky

    Neophyte

  • Members
  • Pip
  • 2 posts

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

  • Favorite Pinball: f14 tomcat

Posted 13 February 2023 - 11:48 AM

One existing problem is that it's average resting location is about 20% away from the middle. I think this is causing trouble with fine-tuning the de

 

Any ideas on how to fine-tune this? Maybe some tips and procedures you use on Windows Virtual-Pinball?

 

I made the first steps to make OTG nudge in VPX working.  First results are promising.

First Use DXtweak 5.02.114 to calibrate the average readout of your X and Y around the middle 128 (of the 255)    (for me it was for X:  Min: 0 Cen:70 Max 200, Y Min:0 Cen 132 Max: 200)

Then in VPX:   nudge analog enabled, X and Y Axis = RY, RY,  Max 100, Gain 50 and Dead zone 30.

 

Result: nudging works, tested it it with the nudge test table, in a "real" table: Whirlwind = test with Ball on the flipper and nudging works.

More testing and tuning will follow .. 

 

Keep your results also posted...



#4 Tesla

Tesla

    Pinball Fan

  • Silver Supporter
  • 1,369 posts
  • Location:Texas, USA

  • Flag: United States of America

  • Favorite Pinball: Star Trek - TNG

Posted 13 February 2023 - 02:48 PM

 

 

I made the first steps to make OTG nudge in VPX working.  First results are promising.

First Use DXtweak 5.02.114 to calibrate the average readout of your X and Y around the middle 128 (of the 255)    (for me it was for X:  Min: 0 Cen:70 Max 200, Y Min:0 Cen 132 Max: 200)

Then in VPX:   nudge analog enabled, X and Y Axis = RY, RY,  Max 100, Gain 50 and Dead zone 30.

 

Result: nudging works, tested it it with the nudge test table, in a "real" table: Whirlwind = test with Ball on the flipper and nudging works.

More testing and tuning will follow .. 

 

Keep your results also posted...

 

 

Excellent. Thanks for posting this.

 

With as lame as standard Windows analog joystick calibration is ... I figured there must be something like DXTweak, but I could not find it for some reason. I will take a closer took.

 

I've got The Pinball Arcade and Pinball FX3 installed, configured and running on the ALP, with the help of JoyToKey (I gave up on Steam-Input) . So, VPX is next.

 

I saw this that might be some help to us:

https://www.vpforums...topic=50645&hl=



#5 fudd2023

fudd2023

    Neophyte

  • Members
  • Pip
  • 2 posts

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

  • Favorite Pinball: stargate

  • PS3 Gamer Tag: -
  • 360 Gamer Tag: -

Posted 15 March 2023 - 08:52 PM

hey all applied these settings to my ALP micro and initial looks it seems to be working in VPX so far so good, couldn't get to calibrate with the windows 

HID  props section it comes up but not to intuitive other than shake pinball machine, so i ran with the data you provided and good so far. is there a 3rd party calibrating app im surprised its not built into DXtweak. anyway thanks both for all the work to figure this out this far.

K



#6 Tesla

Tesla

    Pinball Fan

  • Silver Supporter
  • 1,369 posts
  • Location:Texas, USA

  • Flag: United States of America

  • Favorite Pinball: Star Trek - TNG

Posted 16 March 2023 - 12:34 AM

hey all applied these settings to my ALP micro and initial looks it seems to be working in VPX so far so good, couldn't get to calibrate with the windows 

HID  props section it comes up but not to intuitive other than shake pinball machine, so i ran with the data you provided and good so far. is there a 3rd party calibrating app im surprised its not built into DXtweak. anyway thanks both for all the work to figure this out this far.

K

 

So, let's see if I can help ... even though I have the normal (full-sized) ALP.

 

First, read that I posted above. While others have been able to use their on-board AtGames accelerometer in Windows programs (via OTG-Mode) ... well, mine barely worked in Native mode, so I was eager to upgrade it. I can still see it in Windows, but I don't use it (I use a $50 Pinscaped KL25Z board).

 

https://www.vpforums...topic=50919&hl=

 

As you have likely discovered ... AtGame's calibration-routine only applies while in Native Mode (not OTG-Mode). And while I only have the 22 Gottlieb games (with digital Nudge), I've heard the Zaccaria games use a different calibration-routine and might even have variable analog-nudge in their Tables.

 

The Windows Calibration Routine is really only for analog Joysticks (setting their stick travels and centers). It is not for accelerometers. That is why we just "Default" the Pinscaped KL25Z boards for use in VPX. Since you can't be changing that just for a quick game in TPA, you then do this:

 

https://www.vpforums...=50747&p=516127

 

I would suggest you try something similar with your on-board AtGames Accelerometer. 

 

I think Accelerometers tend to calibrate themselves, so you are not likely to find a utility. If one was needed, it would be built into the program itself. Think about it ... when was the last time you calibrated the accelerometer in your smart-phone? I don't think the one in the Sony DS4 Controller (for example) needs much calibration either. The ones in my drones do, but they fly in the air. Not sure about all nudge-accelerometers used by guy's cabinets here, but the one on the KL25Z is popular here, and there is no specific calibration utility that I saw (yet it works perfectly).







Also tagged with one or more of these keywords: alp, atgames, accelerometer, steam imput