Z-Axis Neg. Input Not responding with SVN 544

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!

Z-Axis Neg. Input Not responding with SVN 544

Postby AG-Kaiju » Sun Apr 02, 2017 3:36 pm

So, I'm finally able to run 0.2a fine. But when I jumped to svn 544, I can't seem to get the right trigger working on the controller I'm using. It registers for 0.2a, but not this version. Did the latest revision solve the issue?
Last edited by AG-Kaiju on Mon Apr 03, 2017 3:35 am, edited 1 time in total.
Quarters Armed and Ready!
User avatar
AG-Kaiju
 
Posts: 4
Joined: Fri Dec 18, 2015 2:00 pm

Re: Z-Axis Neg. Input Not responding with SVN 544

Postby Bart » Sun Apr 02, 2017 6:19 pm

AG-Kaiju wrote:So, I'm finally able to run 0.2a fine. But when I jumped to svn 544, I can't seep to get the right trigger working on the controller I'm using. It registers for 0.2a, but not this version. Did the latest revision solve the issue?


What controller are you using? I don't think anything has actually changed (unless I broke something in the input code when I was modifying it to use my new config system).
User avatar
Bart
Site Admin
 
Posts: 1912
Joined: Thu Sep 01, 2011 2:13 pm
Location: New York City

Re: Z-Axis Neg. Input Not responding with SVN 544

Postby Bart » Mon Apr 03, 2017 12:27 pm

Has anyone else experienced this?
User avatar
Bart
Site Admin
 
Posts: 1912
Joined: Thu Sep 01, 2011 2:13 pm
Location: New York City

Re: Z-Axis Neg. Input Not responding with SVN 544

Postby AG-Kaiju » Tue Apr 04, 2017 2:26 am

Hey, Bart. I accidentally grammar checked! Anyways, the controller I am using at the moment is an @Play Wired 360 controller. Inputs are ok for 0.2a, though.

controller.jpg
It's this thingy.
controller.jpg (27.3 KiB) Viewed 926 times
Quarters Armed and Ready!
User avatar
AG-Kaiju
 
Posts: 4
Joined: Fri Dec 18, 2015 2:00 pm

Re: Z-Axis Neg. Input Not responding with SVN 544

Postby Bart » Tue Apr 04, 2017 9:56 am

AG-Kaiju wrote:Hey, Bart. I accidentally grammar checked! Anyways, the controller I am using at the moment is an @Play Wired 360 controller. Inputs are ok for 0.2a, though.

controller.jpg


Actually, 544 is older than my input system change. Nik made a lot of changes since v0.2a, including one that may have affected negative axis values. I need to understand precisely what you are doing, though. Can you paste your Supermodel.ini files for both 0.2a and for the newer version?

Next, can you tell me exactly how you are running Supermodel in each case (the command line used)?

Lastly, can you show me what happens when you try to map the left and right triggers using the -config-inputs option?
User avatar
Bart
Site Admin
 
Posts: 1912
Joined: Thu Sep 01, 2011 2:13 pm
Location: New York City

Re: Z-Axis Neg. Input Not responding with SVN 544

Postby AG-Kaiju » Wed Apr 12, 2017 1:48 am

It'll be a long post, but ok.

My 0.2a config, which is just a small difference in mapping:
InputStart1 = "KEY_1,JOY1_BUTTON9"
InputStart2 = "KEY_2,JOY2_BUTTON9"
InputCoin1 = "KEY_3,JOY1_BUTTON10"
InputCoin2 = "KEY_4,JOY2_BUTTON10"
InputServiceA = "KEY_5"
InputServiceB = "KEY_7"
InputTestA = "KEY_6"
InputTestB = "KEY_8"
InputJoyDown = "KEY_DOWN,JOY1_DOWN"
InputJoyDown2 = "JOY2_DOWN"
InputJoyLeft = "KEY_LEFT,JOY1_LEFT"
InputJoyLeft2 = "JOY2_LEFT"
InputJoyRight = "KEY_RIGHT,JOY1_RIGHT"
InputJoyRight2 = "JOY2_RIGHT"
InputJoyUp = "KEY_UP,JOY1_UP"
InputJoyUp2 = "JOY2_UP"
InputEscape = "KEY_F,JOY1_BUTTON4"
InputEscape2 = "JOY2_BUTTON4"
InputGuard = "KEY_D,JOY1_BUTTON3"
InputGuard2 = "JOY2_BUTTON3"
InputKick = "KEY_S,JOY1_BUTTON2"
InputKick2 = "JOY2_BUTTON2"
InputPunch = "KEY_A,JOY1_BUTTON1"
InputPunch2 = "JOY2_BUTTON1"
InputBeat = "KEY_S,JOY1_BUTTON2"
InputCharge = "KEY_D,JOY1_BUTTON3"
InputJump = "KEY_F,JOY1_BUTTON4"
InputShift = "KEY_A,JOY1_BUTTON1"
InputLongPass = "KEY_S,JOY1_BUTTON2"
InputLongPass2 = "JOY2_BUTTON2"
InputShortPass = "KEY_A,JOY1_BUTTON1"
InputShortPass2 = "JOY2_BUTTON1"
InputShoot = "KEY_D,JOY1_BUTTON3"
InputShoot2 = "JOY2_BUTTON3"
InputSteering = "JOY1_XAXIS"
InputSteeringLeft = "KEY_LEFT"
InputSteeringRight = "KEY_RIGHT"
InputBrake = "KEY_DOWN,JOY1_ZAXIS_POS"
InputAccelerator = "KEY_UP,JOY1_ZAXIS_NEG"
InputGearShift1 = "KEY_Q,JOY1_BUTTON3"
InputGearShift2 = "KEY_W,JOY1_BUTTON4"
InputGearShift3 = "KEY_E,JOY1_BUTTON1"
InputGearShift4 = "KEY_R,JOY1_BUTTON2"
InputGearShiftN = "KEY_T"
InputVR1 = "KEY_A,JOY1_XAXIS"
InputVR2 = "KEY_S,JOY1_XAXIS_INV"
InputVR3 = "KEY_D,JOY1_YAXIS_INV"
InputVR4 = "KEY_F,JOY1_YAXIS"
InputViewChange = "KEY_A,JOY1_BUTTON1"
InputHandBrake = "KEY_S,JOY1_BUTTON2"
InputTwinJoyCrouch = "KEY_R,JOY1_BUTTON2"
InputTwinJoyForward = "KEY_UP,JOY1_YAXIS_NEG"
InputTwinJoyJump = "KEY_E,JOY1_BUTTON1"
InputTwinJoyReverse = "KEY_DOWN,JOY1_YAXIS_POS"
InputTwinJoyStrafeLeft = "KEY_LEFT,JOY1_XAXIS_NEG"
InputTwinJoyStrafeRight = "KEY_RIGHT,JOY1_XAXIS_POS"
InputTwinJoyTurnLeft = "KEY_Q,JOY1_RXAXIS_NEG"
InputTwinJoyTurnRight = "KEY_W,JOY1_RXAXIS_POS"
InputTwinJoyShot1 = "KEY_A,JOY1_BUTTON5"
InputTwinJoyShot2 = "KEY_S,JOY1_BUTTON6"
InputTwinJoyTurbo1 = "KEY_Z,JOY1_BUTTON7"
InputTwinJoyTurbo2 = "KEY_X,JOY1_BUTTON8"
InputAnalogJoyDown = "KEY_DOWN"
InputAnalogJoyLeft = "KEY_LEFT"
InputAnalogJoyRight = "KEY_RIGHT"
InputAnalogJoyUp = "KEY_UP"
InputAnalogJoyX = "JOY_XAXIS,MOUSE_XAXIS"
InputAnalogJoyY = "JOY_YAXIS,MOUSE_YAXIS"
InputAnalogJoyTrigger = "KEY_A,JOY_BUTTON1,MOUSE_LEFT_BUTTON"
InputAnalogJoyEvent = "KEY_S,JOY_BUTTON2,MOUSE_RIGHT_BUTTON"
InputGunDown = "KEY_DOWN"
InputGunLeft = "KEY_LEFT"
InputGunRight = "KEY_RIGHT"
InputGunUp = "KEY_UP"
InputGunX = "MOUSE_XAXIS,JOY1_XAXIS"
InputGunX2 = "JOY2_XAXIS"
InputGunY = "MOUSE_YAXIS,JOY1_YAXIS"
InputGunY2 = "JOY2_YAXIS"
InputOffscreen = "KEY_S,JOY1_BUTTON2,MOUSE_RIGHT_BUTTON"
InputOffscreen2 = "JOY2_BUTTON2"
InputTrigger = "KEY_A,JOY1_BUTTON1,MOUSE_LEFT_BUTTON"
InputTrigger2 = "JOY2_BUTTON1"
InputAutoTrigger = 0
InputAutoTrigger2 = 0

The SVN 544 config:

InputStart1 = "KEY_1,JOY1_BUTTON9"
InputStart2 = "KEY_2,JOY2_BUTTON9"
InputCoin1 = "KEY_3,JOY1_BUTTON10"
InputCoin2 = "KEY_4,JOY2_BUTTON10"
InputServiceA = "KEY_5"
InputServiceB = "KEY_7"
InputTestA = "KEY_6"
InputTestB = "KEY_8"
InputJoyDown = "KEY_DOWN,JOY1_DOWN"
InputJoyDown2 = "JOY2_DOWN"
InputJoyLeft = "KEY_LEFT,JOY1_LEFT"
InputJoyLeft2 = "JOY2_LEFT"
InputJoyRight = "KEY_RIGHT,JOY1_RIGHT"
InputJoyRight2 = "JOY2_RIGHT"
InputJoyUp = "KEY_UP,JOY1_UP"
InputJoyUp2 = "JOY2_UP"
InputEscape = "KEY_F,JOY1_BUTTON4"
InputEscape2 = "JOY2_BUTTON4"
InputGuard = "KEY_D,JOY1_BUTTON3"
InputGuard2 = "JOY2_BUTTON3"
InputKick = "KEY_S,JOY1_BUTTON2"
InputKick2 = "JOY2_BUTTON2"
InputPunch = "KEY_A,JOY1_BUTTON1"
InputPunch2 = "JOY2_BUTTON1"
InputBeat = "KEY_S,JOY1_BUTTON2"
InputCharge = "KEY_D,JOY1_BUTTON3"
InputJump = "KEY_F,JOY1_BUTTON4"
InputShift = "KEY_A,JOY1_BUTTON1"
InputLongPass = "KEY_S,JOY1_BUTTON2"
InputLongPass2 = "JOY2_BUTTON2"
InputShortPass = "KEY_A,JOY1_BUTTON1"
InputShortPass2 = "JOY2_BUTTON1"
InputShoot = "KEY_D,JOY1_BUTTON3"
InputShoot2 = "JOY2_BUTTON3"
InputSteering = "JOY1_XAXIS"
InputSteeringLeft = "KEY_LEFT"
InputSteeringRight = "KEY_RIGHT"
InputBrake = "KEY_DOWN,JOY1_ZAXIS_POS"
InputAccelerator = "KEY_UP,JOY1_ZAXIS_NEG"
InputGearShift1 = "KEY_Q,JOY1_BUTTON3"
InputGearShift2 = "KEY_W,JOY1_BUTTON4"
InputGearShift3 = "KEY_E,JOY1_BUTTON1"
InputGearShift4 = "KEY_R,JOY1_BUTTON2"
InputGearShiftN = "KEY_T"
InputVR1 = "KEY_A,JOY1_XAXIS"
InputVR2 = "KEY_S,JOY1_XAXIS_INV"
InputVR3 = "KEY_D,JOY1_YAXIS_INV"
InputVR4 = "KEY_F,JOY1_YAXIS"
InputViewChange = "KEY_A,JOY1_BUTTON1"
InputHandBrake = "KEY_S,JOY1_BUTTON2"
InputTwinJoyCrouch = "KEY_R,JOY1_BUTTON2"
InputTwinJoyForward = "KEY_UP,JOY1_YAXIS_NEG"
InputTwinJoyJump = "KEY_E,JOY1_BUTTON1"
InputTwinJoyReverse = "KEY_DOWN,JOY1_YAXIS_POS"
InputTwinJoyStrafeLeft = "KEY_LEFT,JOY1_XAXIS_NEG"
InputTwinJoyStrafeRight = "KEY_RIGHT,JOY1_XAXIS_POS"
InputTwinJoyTurnLeft = "KEY_Q,JOY1_RXAXIS_NEG"
InputTwinJoyTurnRight = "KEY_W,JOY1_RXAXIS_POS"
InputTwinJoyShot1 = "KEY_A,JOY1_BUTTON5"
InputTwinJoyShot2 = "KEY_S,JOY1_BUTTON6"
InputTwinJoyTurbo1 = "KEY_Z,JOY1_BUTTON7"
InputTwinJoyTurbo2 = "KEY_X,JOY1_BUTTON8"
InputAnalogJoyDown = "KEY_DOWN"
InputAnalogJoyLeft = "KEY_LEFT"
InputAnalogJoyRight = "KEY_RIGHT"
InputAnalogJoyUp = "KEY_UP"
InputAnalogJoyX = "JOY_XAXIS,MOUSE_XAXIS"
InputAnalogJoyY = "JOY_YAXIS,MOUSE_YAXIS"
InputAnalogJoyTrigger = "KEY_A,JOY_BUTTON1,MOUSE_LEFT_BUTTON"
InputAnalogJoyEvent = "KEY_S,JOY_BUTTON2,MOUSE_RIGHT_BUTTON"
InputGunDown = "KEY_DOWN"
InputGunLeft = "KEY_LEFT"
InputGunRight = "KEY_RIGHT"
InputGunUp = "KEY_UP"
InputGunX = "MOUSE_XAXIS,JOY1_XAXIS"
InputGunX2 = "JOY2_XAXIS"
InputGunY = "MOUSE_YAXIS,JOY1_YAXIS"
InputGunY2 = "JOY2_YAXIS"
InputOffscreen = "KEY_S,JOY1_BUTTON2,MOUSE_RIGHT_BUTTON"
InputOffscreen2 = "JOY2_BUTTON2"
InputTrigger = "KEY_A,JOY1_BUTTON1,MOUSE_LEFT_BUTTON"
InputTrigger2 = "JOY2_BUTTON1"
InputAutoTrigger = 0
InputAutoTrigger2 = 0

Both configurations were set up in the Supermodel UI application.

It's been a while since I've ran a regular command line, but I'll run it again to diagnose.
Quarters Armed and Ready!
User avatar
AG-Kaiju
 
Posts: 4
Joined: Fri Dec 18, 2015 2:00 pm

Re: Z-Axis Neg. Input Not responding with SVN 544

Postby Bart » Wed Apr 12, 2017 1:13 pm

I'm assuming this is about the racing games and I see you've got the same axis mapped to both brake and accelerator pedals. Even though you've got the positive side on one and negative on the other, this will not work properly with DirectInput. You need to enable XInput (I don't know why Microsoft screwed up so badly with their XBox controllers).

Here's how you should configure your inputs (from the command line, I'm afraid):

Code: Select all
supermodel -input-system=xinput -config-inputs


Then, when you run Supermodel, you must also enable XInput:

Code: Select all
supermodel scud.zip -input-system=xinput


Alternatively, you ought to be able to void "-input-system=xinput" with the latest SVN builds by putting the input system into the global section of your config:

Code: Select all
InputSystem=xinput


Then, just run "supermodel -config-inputs" and when you want to play, you should be able to run it as normal.

I don't think you can configure it properly using any 3rd party GUI now because at least some of them will fail to preserve options they don't understand. The "InputSystem" option is a very recent addition. You may be able to configure Supermodel using the command line and then play using Supermodel UI -- I'm not really sure as I've never used any of these GUIs.
User avatar
Bart
Site Admin
 
Posts: 1912
Joined: Thu Sep 01, 2011 2:13 pm
Location: New York City

Re: Z-Axis Neg. Input Not responding with SVN 544

Postby AG-Kaiju » Tue Apr 18, 2017 6:14 pm

I'll give it a whirl, but my inputs were also listed as X-Inputs when configuring through SUI.
Attachments
Inputs.png
Here, take a quick look.
Inputs.png (99.38 KiB) Viewed 777 times
Quarters Armed and Ready!
User avatar
AG-Kaiju
 
Posts: 4
Joined: Fri Dec 18, 2015 2:00 pm

Re: Z-Axis Neg. Input Not responding with SVN 544

Postby Toshiko » Wed Apr 19, 2017 3:58 pm

Supermodel UI isn't compatible in a meaningful way at all anymore. If you must use a frontend, Emuloader is the most compatible (but still not completely so).
Toshiko
 
Posts: 77
Joined: Fri Mar 16, 2012 10:30 am

Re: Z-Axis Neg. Input Not responding with SVN 544

Postby Bart » Thu Apr 20, 2017 7:33 am

True, Toshiko, but I am puzzled that xinput seems to be enabled in this case and it still isn't working. I'm not sure exactly what Supermodel UI is doing but there was only one way to enable xinput prior to the latest changes, and that was by using the command line, which is still compatible and must be what the UI does.

AG-Kaiju: can you also post your error.log file after an unsuccessful run?
User avatar
Bart
Site Admin
 
Posts: 1912
Joined: Thu Sep 01, 2011 2:13 pm
Location: New York City


Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 2 guests