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: configuring analog stick games  (Read 10800 times)

0 Members and 1 Guest are viewing this topic.

Zobeid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 238
  • Last login:April 21, 2021, 10:36:32 pm
configuring analog stick games
« on: April 02, 2008, 12:31:40 am »
I need some help understanding how to configure analog sticks.

When I run my U360 with analog games like Tail Gunner or Star Wars, I see a couple of problems.  First there is a "dead zone" in the center where the target cursor doesn't move.  I have to move the stick some distance before movement begins to register, then it suddenly leaps into action.  The other problem is, when I hold the cursor near the edge of the screen, then it jitters and jumps around rather than holding steady.

I'm sure there's nothing wrong with the U360, because in UltraMap I don't see either of those problems.

MAME has a lot of analog adjustments like digital speed, centering speed, and sensitivity, but I don't understand what any of those settings actually do, or how to go about adjusting them.  Can somebody explain this please?


u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: configuring analog stick games
« Reply #1 on: April 02, 2008, 01:08:02 pm »
There's a few things going on with analog inputs.  Mame is set up to take analog inputs, or digital input to be simulated as analog for the game.  To do that in the remapping menus, mame has three inputs per analog axis: ____ Analog, ____ Inc, and ____ Dec.  The first is for analog inputs like the u360 in analog mode, the latter two are for digital inputs like an 8-way stick or keyboard.  Mame also can convert input from an analog device and convert it to digital.  The problem is it you map an analog device to Inc & Dec, mame converts it to digital, then takes that 0 or 1 and simulates an analog signal to the game.  IOW, don't map an analog joystick to Inc or Dec.

- So first thing to check is start a game in mame, tab, "Input (general)", player 1/2, and make sure the u360 is mapped to "AD Stick... Analog" and NOT "AD Stick... Inc" nor "AD Stick... Dec", and other analog inputs you want to use the u360.  You can also do "Input (this game)", but then the fix only helps that game.

Next, mame has two analog settings in the mame.ini: joystick_deadzone and joystick_saturation.  (more info in mame's docs/config.txt file)

- So next step is decrease joystick_deadzone in mame.ini.

Lastly are the in game accessed analog control settings.  Don't worry about digitalspeed or centerspeed, as these are for converting digial inputs to analog (these set the speed mame goes from center to edge, or edge to center, in delta per frame on a -127 to 127 posible values).  Sensitivity, OTOH, does affect your analog joystick.  But usually the default value is good.

- So change the sensitivity after you've checked the two above.


I bet it's the first, as windows does not let mame know if the input is analog or not, so mame defaults to map the joystick to both analog and digital.
Robin
Knowledge is Power

Zobeid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 238
  • Last login:April 21, 2021, 10:36:32 pm
Re: configuring analog stick games
« Reply #2 on: April 02, 2008, 07:28:23 pm »
THANK YOU THANK YOU!!    :notworthy:

Those settings worked a charm.  First time Star Wars ever felt right since I played the coin-op machine, which has been A While.  Tail Gunner works as it should.  Sinistar is much improved too.    ;D

I lurve my U360.