Jump to content
LaunchBox Community Forums

Sega Model 3 - Supermodel Controls Reference and Pre Configuration for XINPUT. List of Inputs for Mouse and XINPUT Controller Buttons


Warped Polygon

Recommended Posts

I hate using the cmd remapping tool in Supermodel. Updating the ini directly is my preferred way to remap my controls.

So I have logged down and provided a list of all the button inputs for XINPUT controllers and their respective input tags for the Supermodel ini.

You can use this as reference to aid in remapping your own controls and also copy and paste. Please make sure if you are mapping to the second controller to change JOY1 to JOY2.

I'm also going to provide the input section only of my ini file with everything pre configured which you can insert into your ini file. Please make sure to insert the text accordingly to how the original ini file looked. Make a copy of your original ini file for reference and backup. 

XINPUT BUTTONS/CONTROLS = SUPERMODEL INPUT ID TAGS

A = JOY1_BUTTON1
B = JOY1_BUTTON2
X = JOY1_BUTTON3
Y = JOY1_BUTTON4

LB = JOY1_BUTTON5
RB = JOY1_BUTTON6

Select = JOY1_BUTTON7
Start = JOY1_BUTTON8

L3 = JOY1_BUTTON9
R3 = JOY1_BUTTON10

LT = JOY1_ZAXIS_POS
RT = JOY1_RZAXIS_POS

D-PAD Up = JOY1_POV1_UP
D-PAD Down = JOY1_POV1_DOWN
D-PAD Left = JOY1_POV1_LEFT
D-PAD Right = JOY1_POV1_RIGHT

Left Stick UP = JOY1_YAXIS_NEG
Left Stick DOWN = JOY1_YAXIS_POS
Left Stick LEFT = JOY1_XAXIS_NEG
Left Stick RIGHT = JOY1_XAXIS_POS

Right Stick UP = JOY1_RYAXIS_NEG
Right Stick DOWN = JOY1_RYAXIS_POS
Right Stick LEFT = JOY1_RXAXIS_NEG
Right Stick RIGHT = JOY1_RXAXIS_POS

Left Stick XAXIS (Used mostly for racers and light gun games) = JOY1_XAXIS
Left Stick YAXIS (Used mostly for racers and light gun games) = JOY1_YAXIS
Left Stick INVERTED XAXIS (Used mostly for racers and light gun games) =  JOY1_XAXIS_INV
Left Stick INVERTED YAXIS (Used mostly for racers and light gun games) =  JOY1_YAXIS_INV

Right Stick XAXIS (Used mostly for racers and light gun games) = JOY1_RXAXIS
Right Stick YAXIS (Used mostly for racers and light gun games) = JOY1_RYAXIS
Right Stick INVERTED XAXIS (Used mostly for racers and light gun games) = JOY1_RXAXIS_INV
Right Stick INVERTED YAXIS (Used mostly for racers and light gun games) = JOY1_RYAXIS_INV


MOUSE INPUTS = SUPERMODEL INPUT ID TAGS

Left Mouse Button = MOUSE_LEFT_BUTTON
Middle Mouse Button = MOUSE_MIDDLE_BUTTON
Right Mouse Button = MOUSE_RIGHT_BUTTON

XAXIS = MOUSE_XAXIS
YAXIS = MOUSE_YAXIS

 

ADDING A DEAD ZONE TO CONTROLLER (STOP CLASHING INPUTS WHEN USING A MOUSE AND CONTROLLER FOR LIGHT GUN GAMES)
You will get this issue where your mouse will not move up and down, or left and right unless you set the following in your .ini file. 
Increase these values if you have a saggy stick. Values are %, so 5 is 5% 
Place this under the "InputSystem=xinput" entry in your .ini file  

InputJoy1XDeadZone = 5
InputJoy1YDeadZone = 5
InputJoy2XDeadZone = 5
InputJoy2YDeadZone = 5

 

Pre-Configured inputs for Supermodel INI. XINPUT. Copy and paste accordingly

; Common
InputStart1 = "KEY_1,JOY1_BUTTON8"
InputStart2 = "KEY_2,JOY2_BUTTON8"
InputCoin1 = "KEY_3,JOY1_BUTTON7"
InputCoin2 = "KEY_4,JOY2_BUTTON7"
InputServiceA = "KEY_5"
InputServiceB = "KEY_7"
InputTestA = "KEY_6"
InputTestB = "KEY_8"

; 4-way digital joysticks (Fighting Vipers 2, Spikeout, Spikeout Final Edition, Virtua Fighter 3, Virtua Striker 2)
InputJoyUp = "JOY1_YAXIS_NEG,JOY1_POV1_UP"
InputJoyDown = "JOY1_YAXIS_POS,JOY1_POV1_DOWN"
InputJoyLeft = "JOY1_XAXIS_NEG,JOY1_POV1_LEFT"
InputJoyRight = "JOY1_XAXIS_POS,JOY1_POV1_RIGHT"
InputJoyUp2 = "JOY2_YAXIS_NEG,JOY2_POV1_UP"
InputJoyDown2 = "JOY2_YAXIS_POS,JOY2_POV1_DOWN"
InputJoyLeft2 = "JOY2_XAXIS_NEG,JOY2_POV1_LEFT"
InputJoyRight2 = "JOY2_XAXIS_POS,JOY2_POV1_RIGHT"

; Fighting game buttons (Fighting Vipers 2, Virtua Fighter 3)
InputPunch = "JOY1_BUTTON3"
InputKick = "JOY1_BUTTON4"
InputGuard = "JOY1_BUTTON1"
InputEscape = "JOY1_BUTTON2"
InputPunch2 = "JOY2_BUTTON3"
InputKick2 = "JOY2_BUTTON4"
InputGuard2 = "JOY2_BUTTON1"
InputEscape2 = "JOY2_BUTTON2"

; Spikeout buttons
InputShift = "JOY1_BUTTON2,JOY1_BUTTON6"
InputBeat = "JOY1_BUTTON1"
InputCharge = "JOY1_BUTTON3"
InputJump = "JOY1_BUTTON4"

; Virtua Striker buttons
InputShortPass = "JOY1_BUTTON3"
InputLongPass = "JOY1_BUTTON1"
InputShoot = "JOY1_BUTTON2"
InputShortPass2 = "JOY2_BUTTON3"
InputLongPass2 = "JOY2_BUTTON1"
InputShoot2 = "JOY2_BUTTON2"

; Steering wheel
InputSteeringLeft = "NONE"          ; digital, turn wheel left
InputSteeringRight = "NONE"         ; digital, turn wheel right
InputSteering = "JOY1_XAXIS"        ; analog, full steering range

; Pedals
InputAccelerator = "JOY1_RZAXIS_POS"
InputBrake = "JOY1_ZAXIS_POS"

; Up/down shifter manual transmission (all racers)
InputGearShiftUp = "JOY1_BUTTON6"           ; sequential shift up
InputGearShiftDown = "JOY1_BUTTON5"         ; sequential shift down

; 4-Speed manual transmission (Daytona 2, Sega Rally 2, Scud Race)
InputGearShift1 = "JOY1_RYAXIS_NEG"
InputGearShift2 = "JOY1_RYAXIS_POS"
InputGearShift3 = "JOY1_RXAXIS_NEG"
InputGearShift4 = "JOY1_RXAXIS_POS"
InputGearShiftN = "NONE"

; VR4 view change buttons (Daytona 2, Le Mans 24, Scud Race)
InputVR1 = "JOY1_BUTTON4"
InputVR2 = "JOY1_BUTTON1"
InputVR3 = "JOY1_BUTTON3"
InputVR4 = "JOY1_BUTTON2"

; Single view change button (Dirt Devils, ECA, Harley-Davidson, Sega Rally 2)
InputViewChange = "JOY1_BUTTON4"

; Handbrake (Dirt Devils, Sega Rally 2)
InputHandBrake = "JOY1_BUTTON1"

; Harley-Davidson controls
InputRearBrake = "JOY1_BUTTON1"
InputMusicSelect = "JOY1_BUTTON2"

; Virtual On macros
InputTwinJoyTurnLeft = "JOY1_RXAXIS_NEG"
InputTwinJoyTurnRight = "JOY1_RXAXIS_POS"
InputTwinJoyForward = "JOY1_YAXIS_NEG"
InputTwinJoyReverse = "JOY1_YAXIS_POS"
InputTwinJoyStrafeLeft = "JOY1_XAXIS_NEG"
InputTwinJoyStrafeRight = "JOY1_XAXIS_POS"
InputTwinJoyJump = "JOY1_BUTTON4"
InputTwinJoyCrouch = "JOY1_BUTTON1"

; Virtual On individual joystick mapping
InputTwinJoyLeft1 = "NONE"
InputTwinJoyLeft2 = "NONE"
InputTwinJoyRight1 = "NONE"
InputTwinJoyRight2 = "NONE"
InputTwinJoyUp1 = "NONE"
InputTwinJoyUp2 = "NONE"
InputTwinJoyDown1 = "NONE"
InputTwinJoyDown2 = "NONE"

; Virtual On buttons
InputTwinJoyShot1 = "JOY1_ZAXIS_POS"
InputTwinJoyShot2 = "JOY1_RZAXIS_POS"
InputTwinJoyTurbo1 = "JOY1_BUTTON3,JOY1_BUTTON5"
InputTwinJoyTurbo2 = "JOY1_BUTTON2,JOY1_BUTTON6"

; Analog joystick (Star Wars Trilogy)
InputAnalogJoyLeft = "NONE"             ; digital, move left
InputAnalogJoyRight = "NONE"            ; digital, move right
InputAnalogJoyUp = "NONE"               ; digital, move up
InputAnalogJoyDown = "NONE"             ; digital, move down
InputAnalogJoyX = "MOUSE_XAXIS_INV,JOY1_XAXIS_INV"   ; analog, full X axis
InputAnalogJoyY = "MOUSE_YAXIS,JOY1_YAXIS_INV"   ; analog, full Y axis
InputAnalogJoyTrigger = "MOUSE_LEFT_BUTTON,JOY1_RZAXIS_POS,JOY1_BUTTON3"
InputAnalogJoyEvent = "MOUSE_RIGHT_BUTTON,JOY1_BUTTON1"
InputAnalogJoyTrigger2 = "NONE"
InputAnalogJoyEvent2 = "NONE"

; Light guns (Lost World)
InputGunLeft = "NONE"                 ; digital, move gun left
InputGunRight = "NONE"                ; digital, move gun right
InputGunUp = "NONE"                   ; digital, move gun up
InputGunDown = "NONE"                 ; digital, move gun down
InputGunX = "MOUSE1_XAXIS"    ; analog, full X axis
InputGunY = "MOUSE1_YAXIS"    ; analog, full Y axis
InputTrigger = "MOUSE1_LEFT_BUTTON"
InputOffscreen = "MOUSE1_RIGHT_BUTTON"    ; point off-screen
InputAutoTrigger = 1                    ; automatic reload when off-screen
InputGunLeft2 = "NONE"
InputGunRight2 = "NONE"
InputGunUp2 = "NONE"
InputGunDown2 = "NONE"
InputGunX2 = "MOUSE2_XAXIS"
InputGunY2 = "MOUSE2_YAXIS"
InputTrigger2 = "MOUSE2_LEFT_BUTTON"
InputOffscreen2 = "MOUSE2_RIGHT_BUTTON"
InputAutoTrigger2 = 1

; Analog guns (Ocean Hunter, LA Machineguns)
InputAnalogGunLeft = "NONE"               ; digital, move gun left
InputAnalogGunRight = "NONE"              ; digital, move gun right
InputAnalogGunUp = "NONE"                 ; digital, move gun up
InputAnalogGunDown = "NONE"               ; digital, move gun down
InputAnalogGunX = "MOUSE1_XAXIS"    ; analog, full X axis
InputAnalogGunY = "MOUSE1_YAXIS"    ; analog, full Y axis
InputAnalogTriggerLeft = "MOUSE1_LEFT_BUTTON"
InputAnalogTriggerRight = "MOUSE1_RIGHT_BUTTON"
InputAnalogGunLeft2 = "NONE"
InputAnalogGunRight2 = "NONE"
InputAnalogGunUp2 = "NONE"
InputAnalogGunDown2 = "NONE"
InputAnalogGunX2 = "MOUSE2_XAXIS"
InputAnalogGunY2 = "MOUSE2_YAXIS"
InputAnalogTriggerLeft2 = "MOUSE2_LEFT_BUTTON"
InputAnalogTriggerRight2 = "MOUSE2_RIGHT_BUTTON"

; Ski Champ controls
InputSkiLeft = "NONE"
InputSkiRight = "NONE"
InputSkiUp = "NONE"
InputSkiDown = "NONE"
InputSkiX = "JOY1_XAXIS"
InputSkiY = "JOY1_RXAXIS"
InputSkiPollLeft = "JOY1_ZAXIS_POS"
InputSkiPollRight = "JOY1_RZAXIS_POS"
InputSkiSelect1 = "JOY1_BUTTON3"
InputSkiSelect2 = "JOY1_BUTTON1"
InputSkiSelect3 = "JOY1_BUTTON2"

; Magical Truck Adventure controls
InputMagicalLeverUp1 = "NONE"
InputMagicalLeverDown1 = "NONE"
InputMagicalLeverUp2 = "NONE"
InputMagicalLeverDown2 = "NONE"
InputMagicalLever1 = "JOY1_YAXIS"
InputMagicalLever2 = "JOY2_YAXIS"
InputMagicalPedal1 = "JOY1_BUTTON1"
InputMagicalPedal2 = "JOY2_BUTTON1"

; Sega Bass Fishing / Get Bass controls
InputFishingRodLeft = "NONE"
InputFishingRodRight = "NONE"
InputFishingRodUp = "NONE"
InputFishingRodDown = "NONE"
InputFishingStickLeft = "NONE"
InputFishingStickRight = "NONE"
InputFishingStickUp = "NONE"
InputFishingStickDown = "NONE"
InputFishingRodX = "JOY1_XAXIS"
InputFishingRodY = "JOY1_YAXIS"
InputFishingStickX = "JOY1_RXAXIS"
InputFishingStickY = "JOY1_RYAXIS"
InputFishingReel = "JOY1_RZAXIS_POS"
InputFishingCast = "JOY1_BUTTON3"
InputFishingSelect = "JOY1_BUTTON1"
InputFishingTension = "NONE"

Edited by Warped Polygon
  • Like 2
Link to comment
Share on other sites

1 hour ago, Warped Polygon said:

I hate using the cmd remapping tool in Supermodel. Updating the ini directly is my preferred way to remap my controls.

I'm the same way. ;)  Thanks for the detailed post!  Adding to my notes.

 

One thing I have different is for Star Wars Trilogy.  My brain works differently for moving left and right (no comments from the peanut gallery please. lol) so I inverted the InputAnalogJoyX

; Analog joystick (Star Wars Trilogy)

;InputAnalogJoyX = "JOY_XAXIS,MOUSE_XAXIS"   ; analog, full X axis
InputAnalogJoyX = "JOY_XAXIS_INV,MOUSE_XAXIS"   ; analog, full X axis

 

Another change I have is for Light guns (Lost World).   I made these changes a   l o n g   time ago and don't really play the 3 games affected but do recall it helped with Lost World.

; Light guns (Lost World)

; Add these 2 inputs
; Originally listed under "Analog guns". Mouse and joy conflict (so removed mouse)
InputAnalogGunX = "JOY1_XAXIS"    ; analog, full X axis
InputAnalogGunY = "JOY1_YAXIS"    ; analog, full Y axis


; Analog guns (Ocean Hunter, LA Machineguns)

; Comment out the following 2 lines
;InputAnalogGunX = "MOUSE_XAXIS,JOY1_XAXIS"    ; analog, full X axis
;InputAnalogGunY = "MOUSE_YAXIS,JOY1_YAXIS"    ; analog, full Y axis

 

  • Like 1
Link to comment
Share on other sites

On 8/28/2022 at 11:10 AM, JoeViking245 said:

 

; Light guns (Lost World)

; Add these 2 inputs
; Originally listed under "Analog guns". Mouse and joy conflict (so removed mouse)
InputAnalogGunX = "JOY1_XAXIS"    ; analog, full X axis
InputAnalogGunY = "JOY1_YAXIS"    ; analog, full Y axis


; Analog guns (Ocean Hunter, LA Machineguns)

; Comment out the following 2 lines
;InputAnalogGunX = "MOUSE_XAXIS,JOY1_XAXIS"    ; analog, full X axis
;InputAnalogGunY = "MOUSE_YAXIS,JOY1_YAXIS"    ; analog, full Y axis

 

For completeness it should also be mentioned the changes in the Games.xml that work with these changes as well.

Since Lost World cabinets came in 2 different light gun models, you can set which type in Games.xml under the applicable rom section.

Quote

<inputs>
    <input type="common" />
    <input type="analog_gun1" />
    <input type="analog_gun2" />
</inputs>

or

Quote

<inputs>
    <input type="common" />
    <input type="gun1" />
    <input type="gun2" />
</inputs>

Both will work with either device (once calibrated in game),  but the analog_gun version shows crosshairs while the gun version doesn't.

(The gun version originally only worked with CRT based displays and position couldn't be tracked except when the trigger was pulled using a brief screen flash.)

Edited by Headrush69
Clarified information
  • Like 2
Link to comment
Share on other sites

3 hours ago, JoeViking245 said:

One thing I have different is for Star Wars Trilogy.  My brain works differently for moving left and right (no comments from the peanut gallery please. lol) so I inverted the InputAnalogJoyX

Ahh thanks man. Are you using controller or mouse? Using the mouse in the shooting sections is fine with nothing inverted (up is up etc). However for the light saber battles it is inverted on the y axis, left is right and vice versa. 
EDIT: I see that you have inverted the controller Y axis which will fix my issue as I want to use the controller for the lightsabre battles anyway :)
 

3 hours ago, JoeViking245 said:

Another change I have is for Light guns (Lost World).   I made these changes a   l o n g   time ago and don't really play the 3 games affected but do recall it helped with Lost World.

Discovered this issue this morning. chased my tail for an hour but figured out its the stick interfering with the input. Brand new controller too, no dead zone with Supermodel me thinks.

Edited by Warped Polygon
Link to comment
Share on other sites

  • Warped Polygon changed the title to Sega Model 3 - Supermodel Controls Reference. List of Inputs for Mouse and XINPUT Controller Buttons
On 8/28/2022 at 4:10 PM, JoeViking245 said:

Another change I have is for Light guns (Lost World).   I made these changes a   l o n g   time ago and don't really play the 3 games affected but do recall it helped with Lost World.

; Light guns (Lost World)

; Add these 2 inputs
; Originally listed under "Analog guns". Mouse and joy conflict (so removed mouse)
InputAnalogGunX = "JOY1_XAXIS"    ; analog, full X axis
InputAnalogGunY = "JOY1_YAXIS"    ; analog, full Y axis


; Analog guns (Ocean Hunter, LA Machineguns)

; Comment out the following 2 lines
;InputAnalogGunX = "MOUSE_XAXIS,JOY1_XAXIS"    ; analog, full X axis
;InputAnalogGunY = "MOUSE_YAXIS,JOY1_YAXIS"    ; analog, full Y axis

This can be mitigated by using dead zone for the x and y axis with the following GLOBAL options added to the .ini file. 5% seems to do the trick for me without noticing in other games


InputJoy1XDeadZone = 5
InputJoy1YDeadZone = 5

  • Like 1
Link to comment
Share on other sites

  • Warped Polygon changed the title to Sega Model 3 - Supermodel Controls Reference and Pre Configuration for XINPUT. List of Inputs for Mouse and XINPUT Controller Buttons
  • 3 months later...
  • 5 months later...
  • 10 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...