Jump to content
LaunchBox Community Forums

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


Warped Polygon

Recommended Posts

WARNING: YOUR MILAGE MAY VARY. Not all DINPUT controllers have the same input ID tags in Supermodel and in general.
I have used a PS4 controller to make this list and pre configuration. Your inputs may not be the same.

If you have a standard twin stick configuration controller, all of the directional inputs (D-Pad, Both Stick Directions, and all Axes) should be the same across all DINPUT controllers. It's only the buttons and triggers that can differ with their ID Tags.
 

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 DINPUT 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.
 

DINPUT BUTTONS/CONTROLS = SUPERMODEL INPUT ID TAGS

PLEASE NOTE: L2 can show up as both JOY1_RXAXIS_POS and JOY1_BUTTON7 in Supermodel. With JOY1_BUTTON7 being the digital input version of L2, and JOY1_RXAXIS_POS being the analogue version. R2 also does the same thing. Your controller may be one or the other, or both. If you have both (like I have pre configured for here) you want to set L2 as JOY1_RXAXIS_POS and R2 as JOY1_RYAXIS_POS for games that require or work best with analogue input. This ensures analogue is being used for e.g. the throttle and brake. For all other games that you want to set L2 and R2, use the digital input version (L2 = JOY1_BUTTON7, R2 = JOY1_BUTTON8) as this can be more responsive for things like shooters, for e.g. Virtual On 2. ONLY USE THE DIGITAL OR ANALOGUE VERSION OF THE INPUT. NOT BOTH. THE REMAPPER WILL CONFIGURE BOTH. 

Square = JOY1_BUTTON1
X = JOY1_BUTTON2
Circle = JOY1_BUTTON3
Triangle = JOY1_BUTTON4

L1 = JOY1_BUTTON5
R1 = JOY1_BUTTON6

L2 = JOY1_RXAXIS_POS (for analogue e.g. racing games) or JOY1_BUTTON7 (for digital button input e.g. shooters)
R2 = JOY1_RYAXIS_POS (for analogue e.g. racing games) or JOY1_BUTTON8 (for digital button input e.g. shooters)

Select = JOY1_BUTTON9
Start = JOY1_BUTTON10

L3 = JOY1_BUTTON11
R3 = JOY1_BUTTON12

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_RZAXIS_NEG
Right Stick DOWN = JOY1_RZAXIS_POS
Right Stick LEFT = JOY1_ZAXIS_NEG
Right Stick RIGHT = JOY1_ZAXIS_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 light gun games) =  JOY1_XAXIS_INV
Left Stick INVERTED YAXIS (Used mostly for light gun games) =  JOY1_YAXIS_INV

Right Stick XAXIS (Used mostly for racers and light gun games) = JOY1_ZAXIS
Right Stick YAXIS (Used mostly for racers and light gun games) = JOY1_RZAXIS
Right Stick INVERTED XAXIS (Used mostly for racers and light gun games) = JOY1_ZAXIS_INV
Right Stick INVERTED YAXIS (Used mostly for racers and light gun games) = JOY1_RZAXIS_INV

 

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. This issue is mostly present in Star Wars Trilogy.
Increase these values if you have a really saggy stick. Values are %, so 5 is 5% 
Place this under the "InputSystem=dinput" entry in your .ini file  

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

 

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

 

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

; Common
InputStart1 = "KEY_1,JOY1_BUTTON10"
InputStart2 = "KEY_2,JOY2_BUTTON10"
InputCoin1 = "KEY_3,JOY1_BUTTON9"
InputCoin2 = "KEY_4,JOY2_BUTTON9"
InputServiceA = "KEY_5"
InputServiceB = "KEY_7"
InputTestA = "KEY_6"
InputTestB = "KEY_8"

; 4-way digital joysticks
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
InputPunch = "JOY1_BUTTON1"
InputKick = "JOY1_BUTTON4"
InputGuard = "JOY1_BUTTON2"
InputEscape = "JOY1_BUTTON3"
InputPunch2 = "JOY2_BUTTON1"
InputKick2 = "JOY2_BUTTON4"
InputGuard2 = "JOY2_BUTTON2"
InputEscape2 = "JOY2_BUTTON3"

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

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

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

; Pedals
InputAccelerator = "JOY1_RYAXIS_POS"
InputBrake = "JOY1_RXAXIS_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_BUTTON4"
InputGearShift2 = "JOY1_BUTTON2"
InputGearShift3 = "JOY1_BUTTON1"
InputGearShift4 = "JOY1_BUTTON3"
InputGearShiftN = "NONE"

; VR4 view change buttons (Daytona 2, Le Mans 24, Scud Race)
InputVR1 = "JOY1_POV1_UP"
InputVR2 = "JOY1_POV1_DOWN"
InputVR3 = "JOY1_POV1_LEFT"
InputVR4 = "JOY1_POV1_RIGHT"

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

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

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

; Virtual On macros
InputTwinJoyTurnLeft = "JOY1_ZAXIS_NEG"
InputTwinJoyTurnRight = "JOY1_ZAXIS_POS"
InputTwinJoyForward = "JOY1_YAXIS_NEG"
InputTwinJoyReverse = "JOY1_YAXIS_POS"
InputTwinJoyStrafeLeft = "JOY1_XAXIS_NEG"
InputTwinJoyStrafeRight = "JOY1_XAXIS_POS"
InputTwinJoyJump = "JOY1_BUTTON2"
InputTwinJoyCrouch = "JOY1_BUTTON3"

; 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_BUTTON7"
InputTwinJoyShot2 = "JOY1_BUTTON8"
InputTwinJoyTurbo1 = "JOY1_BUTTON1"
InputTwinJoyTurbo2 = "JOY1_BUTTON4"

; 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 = "JOY1_XAXIS,MOUSE_XAXIS"   ; analog, full X axis
InputAnalogJoyY = "JOY1_YAXIS_INV,MOUSE_YAXIS"   ; analog, full Y axis
InputAnalogJoyTrigger = "JOY1_BUTTON1,JOY1_BUTTON8,MOUSE_LEFT_BUTTON"
InputAnalogJoyEvent = "JOY1_BUTTON2,MOUSE_RIGHT_BUTTON"
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 = "MOUSE_XAXIS,JOY1_XAXIS"    ; analog, full X axis
InputGunY = "MOUSE_YAXIS,JOY1_YAXIS"    ; analog, full Y axis
InputTrigger = "JOY1_BUTTON1,JOY1_BUTTON8,MOUSE_LEFT_BUTTON"
InputOffscreen = "JOY1_BUTTON2,MOUSE_RIGHT_BUTTON"    ; point off-screen
InputAutoTrigger = 1                    ; automatic reload when off-screen
InputGunLeft2 = "NONE"
InputGunRight2 = "NONE"
InputGunUp2 = "NONE"
InputGunDown2 = "NONE"
InputGunX2 = "JOY2_XAXIS"
InputGunY2 = "JOY2_YAXIS"
InputTrigger2 = "JOY2_BUTTON1,JOY2_BUTTON8"
InputOffscreen2 = "JOY2_BUTTON2"
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 = "MOUSE_XAXIS,JOY1_XAXIS"    ; analog, full X axis
InputAnalogGunY = "MOUSE_YAXIS,JOY1_YAXIS"    ; analog, full Y axis
InputAnalogTriggerLeft = "JOY1_BUTTON1,JOY1_BUTTON8,MOUSE_LEFT_BUTTON"
InputAnalogTriggerRight = "JOY1_BUTTON2,JOY1_BUTTON7,MOUSE_RIGHT_BUTTON"
InputAnalogGunLeft2 = "NONE"
InputAnalogGunRight2 = "NONE"
InputAnalogGunUp2 = "NONE"
InputAnalogGunDown2 = "NONE"
InputAnalogGunX2 = "JOY2_XAXIS"
InputAnalogGunY2 = "JOY2_YAXIS"
InputAnalogTriggerLeft2 = "JOY2_BUTTON1,JOY2_BUTTON8"
InputAnalogTriggerRight2 = "JOY2_BUTTON2,JOY2_BUTTON7"

; Ski Champ controls
InputSkiLeft = "NONE"
InputSkiRight = "NONE"
InputSkiUp = "NONE"
InputSkiDown = "NONE"
InputSkiX = "JOY1_XAXIS"
InputSkiY = "JOY1_YAXIS"
InputSkiPollLeft = "JOY1_BUTTON7"
InputSkiPollRight = "JOY1_BUTTON8"
InputSkiSelect1 = "JOY1_BUTTON1"
InputSkiSelect2 = "JOY1_BUTTON2"
InputSkiSelect3 = "JOY1_BUTTON3"

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

; Sega Bass Fishing / Get Bass controls
InputFishingRodLeft = "NONE"
InputFishingRodRight = "NONE"
InputFishingRodUp = "NONE"
InputFishingRodDown = "NONE"
InputFishingStickLeft = "JOY1_POV1_LEFT"
InputFishingStickRight = "JOY1_POV1_RIGHT"
InputFishingStickUp = "JOY1_POV1_UP"
InputFishingStickDown = "JOY1_POV1_DOWN"
InputFishingRodX = "JOY1_XAXIS"
InputFishingRodY = "JOY1_YAXIS"
InputFishingStickX = "JOY1_ZAXIS"
InputFishingStickY = "JOY1_RZAXIS"
InputFishingReel = "JOY1_RYAXIS_POS"
InputFishingCast = "JOY1_BUTTON1"
InputFishingSelect = "JOY1_BUTTON2"
InputFishingTension = "JOY1_RXAXIS_POS"

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

  • 2 months later...
2 hours ago, Warped Polygon said:

I have worse specs and no issue here. Try dropping the resolution to 720p. What do you mean by laggy graphics?

Already fixed by downloading everything and follow your instructions.Thank You! Awesome work mate

Edited by Zayd47
Problem Solved
  • Thanks 1
Link to comment
Share on other sites

  • 1 month later...

Hi Warped Polygon

I recently saw your YouTube vids which are great, however am still unable to get 2 player lightguns working on Model 2 & 3. I have player 1 lightgun working but cannot get player 2 working at the same time (other emulators work fine). I cannot figure out why it is just SM 2 & 3 emulators that don't work and I wanted to ask if you could email me on the below so I could ask a few details in a private message? Many Thanks Ben 

b.newstead@hotmail.co.uk

Link to comment
Share on other sites

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...