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: Z axis too sensitive on new version of Mame  (Read 1877 times)

0 Members and 1 Guest are viewing this topic.

Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4530
  • Last login:July 11, 2025, 01:29:48 am
  • Insufficient facts always invite danger.
Z axis too sensitive on new version of Mame
« on: June 02, 2010, 07:37:35 pm »
I'm updating my cab with a Windows 7 64bit build, so I decided to update Mame as well. I am enjoying the speed boost of 64bit, however with the newer version of Mame (.137) I don't see the old option of changing the input.c file to divide the z-axis input by 4 instead of 512 before I compile. It appears to just take raw input now. So now I have a super sensitive spinner, which is hooked up to my Z axis. How are we supposed to change the input setting for the Z axis now? Analog sensitivity? Or perhaps a Windows hack?
« Last Edit: June 02, 2010, 11:29:03 pm by Havok »

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: Z axis too sensitive on new version of Mame
« Reply #1 on: June 03, 2010, 09:05:09 am »
Perhaps you need to calibrate it? Also check out DXTweak 2 although I'm not sure if it will work in Win7.

syph007

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 598
  • Last login:June 24, 2014, 04:30:03 pm
  • With a router big enough, we can shape the world!
Re: Z axis too sensitive on new version of Mame
« Reply #2 on: June 03, 2010, 08:11:53 pm »
The last time I did the code change to input.c was for ver 0.133 and it was where I expected it.  I wonder what version it changed in then.  It was quite unusable without the code change.

Perhaps urebelscum will chime in, he usually has the answers.

Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4530
  • Last login:July 11, 2025, 01:29:48 am
  • Insufficient facts always invite danger.
Re: Z axis too sensitive on new version of Mame
« Reply #3 on: June 04, 2010, 04:58:32 pm »
Whoops - realized my mistake; I was going off older instructions that I saved to my Mame folder. U_rebelscum's instructions still work with the newer versions of Mame:

Change

devinfo->mouse.raw_z += (INT16)data->usButtonData * INPUT_RELATIVE_PER_PIXEL;

to:

devinfo->mouse.raw_z += (INT)((INT16)data->usButtonData * 4.267);

Whew!