Digital Joystick

Having technical difficulties with Supermodel? Last-minute wardrobe malfunction? Get help here.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Digital Joystick

Postby wileres » Sun Jan 20, 2013 3:04 pm

Hi, I'm testing a few weeks ago model 3. First I tried on a c2d and then a macbook pro. In the macbook I've gotten it to work but not very well.
Now I bought a AMD X4 965 and Phemon two 8Gb DDR and a GTX 260 and it works perfect I can play at 60fps 1280x1024.

I'm building a arcade machine, with MAME, NullDC, etc ... and supermodel 3. I mounted arcade joysticks with 4 position, non analog, and if I put in the configuration
InputSteering = "JOY1_XAXIS" I can not choose some options on daytona usa, scud race, etc.. because I think that is prepared to analog controls.
Is there any way to fix it using digital joystick 4 position?

Thank you very much and congratulations to the creators and contributors.
wileres
 
Posts: 7
Joined: Sun Jan 20, 2013 7:25 am

Re: Digital Joystick

Postby Bart » Sun Jan 20, 2013 6:56 pm

InputSteering is an analog control. There are digital equivalents for steer left and steer right. I forget off hand what they are but take a look at the README.txt. They will also come up if you configure with '-config-inputs', which is recommended. Manually editing the INI file isn't a good idea because you can't be sure how your device is mapped.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Digital Joystick

Postby wileres » Mon Jan 21, 2013 9:48 am

Thanks Bart, thanks for answer.

I supose you mean the property InputJoy1XSaturation the readme says
Line 458
Code: Select all
"Under digital control, the analog value will increment or decrement
until it reaches its maximum/minimum values.  The rate of change can only be
set manually in the configuration file.  These options are described elsewhere
in this document. "


And on the 1071 line says:
Code: Select all
"InputJoy**Saturation: The saturation of a joystick axis is the point at which
the axis is considered to be at its most extreme position.  It can be thought
of as a measure of the sensivity of the axis.  Like the dead zone, it is
expressed as a percentage of the axis range but its value may be larger than
100, up to a maximum of 200.  A value of 50 means that the joystick only needs
to be moved halfway in order for Supermodel to see it as fully extended.
Conversely a value of 200 means that when the joystick is at its extreme
position Supermodel will see it as only halfway.  The default sensitivity is
100%, which corresponds to a 1-to-1 mapping.  For playing driving games with a
game pad, it is sometimes a good idea to use a value larger than 100% so that
the steering feels less sensitive on a thumbstick."


If I set InputJoy1XSaturation=200 In dayona USA 2 (for example) I only can select the circuit 1 or 3, If I set
InputJoy1XSaturation=150 only can select the 1 or 4 circuit.

Is there a way to select the circuit 2 with 1 joystick touch, circuit 3 with 2 joystick touch, circuit 4 with 3 joystick touch, and the others screens selections in others games?

thank you very much for you work and patience :D :D :D
wileres
 
Posts: 7
Joined: Sun Jan 20, 2013 7:25 am

Re: Digital Joystick

Postby Bart » Mon Jan 21, 2013 12:10 pm

Saturation settings shouldn't affect digital joysticks. Saturation is the value on the joystick's axis which will be interpreted as being fully pushed in that direction. Supermodel has both analog and digital steering inputs. The analog version is InputSteering. If you want to use a digital controller, leave this unmapped (set to NONE). Map InputSteeringLeft to the joystick's left direction and InputSteeringRight to the joystick right direction.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Digital Joystick

Postby wileres » Mon Jan 21, 2013 3:44 pm

I've tried with

InputSteering = "NONE"
InputSteeringLeft = "JOY1_LEFT,KEY_LEFT"
InputSteeringRight = "JOY1_RIGHT,KEY_RIGHT"


and I can't select the second or third option on the 4 options screens (circuits or cars). This happens in daytona, scud race, etc.. all the games with selection screens, with a digital joystick.

How can I do this? The problem is only in the selection screens, in game I can control perfectly the car with the digital joystick.
The solution is for arcade machine (can't put analog gamepad like xbox 360 or ps2) I looked arcade analog joysticks but are very very expensive.

Thanks for you time
wileres
 
Posts: 7
Joined: Sun Jan 20, 2013 7:25 am

Re: Digital Joystick

Postby Bart » Mon Jan 21, 2013 4:49 pm

Is the problem that the cursor moves too quickly? That's because the steering wheel is really an analog device and we can only crudely approximate it with digital inputs by increasing them (when the button is pressed) or decreasing them (when the button is released again) with some velocity. You may need to adjust the InputKeySensitivity and InputKeyDecaySpeed settings. They are described in section 14 of README.txt. Unfortunately, a setting slow enough to work in the menu will probably not be very good in-game, which may force you to use save states and exit the emulator to restore your settings.

EDIT: In Version 0.1a, before Nik's input system was added and only the keyboard was supported, I was usually able to select the second and third courses by pressing right (which would move to the 'expert' course), letting go of the key and pressing the accelerator at just the right moment. It takes some practice but is quite doable.
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Digital Joystick

Postby wileres » Tue Jan 22, 2013 4:04 am

Thanks Bart , I will try to learn the "quick-select" method to explain, but I tried a few days and still I dont' have your skills.

Too I've tested the joytokey soft: With this soft I can assign joystick input (for example left) to mouse axis (-20), but when the joystick return to zero position the mouse axis remanis in this possition (-20), and I have to return manually to the possition with a joystick invert input (right) and joytokey convert this (+20). This method is very difficult to control the car in turns or driftings situations.

I think the easier solution is learn you "quick-select" method. :D :D


Thanks!!!
wileres
 
Posts: 7
Joined: Sun Jan 20, 2013 7:25 am


Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 1 guest