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: U360 mapping question for Andy  (Read 1079 times)

0 Members and 1 Guest are viewing this topic.

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
U360 mapping question for Andy
« on: September 04, 2009, 05:29:32 am »
From http://ultimarc.com/UltraMap_ChangeLog.htm


"A custom restrictor setting; value is a scaling factor applied when the UltraStik reads the joystick’s location. Value must be between 0 and 255, inclusive; although most useful values are between 4 and 20."

Can you elaborate on how this works, exactly? Intuitive to me would be that, as this 'scales', there would be more increments the higher the value set. However, restrictors require lower value settings than without a restrictor. I don't get it.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

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: U360 mapping question for Andy
« Reply #1 on: September 04, 2009, 12:35:51 pm »
Andy will know more, and probably correct me in a few places ;D, but here's a quick outline of what I know:

The u360 internal senses the stick position in 14 bits per axis.  It sends 8 bits per axis to the computer (the standard for analog).  Changing the scale value doesn't change the 8 bits per axis (aka increments); it changes how the 14 bits are converted to 8 bits.

It's easy for me to picture that the value corresponds to a "radius" that covers the 8 bits sent to the computer: the bigger the value the bigger the "circle" of the 14 bits will get converted.  (I',m quoting because I think it's really a square, but circles are easier to picture.)  How this is calculated, I don't know.

Since it's being converting inside the u360 by the firmware, I doubt the calculation is too hard.  But I'm just as curious on how the value is used in the convertion as you are.
Robin
Knowledge is Power

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: U360 mapping question for Andy
« Reply #2 on: September 06, 2009, 02:27:29 am »
Hmmmm. What you're explaining, if correct, to me seems just a linear equation where the value determines the range of the plane in question....unless the arc the magnet travels is part of things at that level. Hmmmm.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: U360 mapping question for Andy
« Reply #3 on: September 08, 2009, 11:54:30 pm »
Bumping this cos it's off the first page.
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: U360 mapping question for Andy
« Reply #4 on: September 09, 2009, 10:33:21 am »
The setting is the value by which the raw position is divided by, to get the value sent to the PC. There is of course more to it than this and other factors are taken into account, but because its a divisor, the unrestricted value must be divided by a greater amount for the same result than the restricted value.

Andy

Ummon

  • Trade Count: (+13)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5244
  • Last login:June 09, 2010, 06:37:18 pm
Re: U360 mapping question for Andy
« Reply #5 on: September 12, 2009, 08:13:04 am »
OKAY, I think I understand this. Essentially, since the travel is farther without restriction, there have to be more increments so that the movement is sensed, or perhaps translated, properly. Right?
Yo. Chocolate.


"Theoretical physics has been the most successful and cost-effective in all of science."

Stephen Hawking


People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.

AndyWarne

  • Trade Count: (+18)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1938
  • Last login:April 11, 2021, 03:37:09 am
    • Ultimarc
Re: U360 mapping question for Andy
« Reply #6 on: September 14, 2009, 06:45:47 am »
Thats basically it, yes.

Andy