Removed mouse inputs from supermodel as they were creating ghost inputs and cleaned up start script.

This commit is contained in:
KeyserSoze1 2024-04-09 17:21:56 -04:00
parent 93781d688c
commit ed9ff4625e
2 changed files with 21 additions and 13 deletions

View file

@ -58,8 +58,15 @@ PortIn = 1970
PortOut = 1971
AddressOut = "127.0.0.1"
InputJoy1XDeadZone = 5
InputJoy1YDeadZone = 5
;InputJoyXSaturation=115 ; Affects Sensitivity (Value range 1-200 Default: 100). A value of 50 means that the joystick only needs to be moved halfway in order for Supermodel to see it as fully extended.
;InputJoyYSaturation=115
;InputJoyRXSaturation=115
;InputJoyRYSaturation=115
;InputJoyXDeadZone=1
;InputJoyYDeadZone=1
;InputJoyRXDeadZone=1
;InputJoyRYDeadZone=1
; Common
InputUIExit = "KEY_ESCAPE,JOY1_BUTTON10+JOY1_BUTTON9"
@ -177,10 +184,10 @@ InputAnalogJoyLeft = "KEY_LEFT" ; digital, move left
InputAnalogJoyRight = "KEY_RIGHT" ; digital, move right
InputAnalogJoyUp = "KEY_UP" ; digital, move up
InputAnalogJoyDown = "KEY_DOWN" ; digital, move down
InputAnalogJoyX = "JOY1_YAXIS,MOUSE1_XAXIS_INV" ; analog, full X axis
InputAnalogJoyY = "JOY1_XAXIS_INV,MOUSE1_YAXIS_INV" ; analog, full Y axis
InputAnalogJoyTrigger = "KEY_A,JOY1_BUTTON1,MOUSE1_LEFT_BUTTON"
InputAnalogJoyEvent = "KEY_S,JOY1_BUTTON2,MOUSE1_RIGHT_BUTTON"
InputAnalogJoyX = "JOY1_YAXIS" ; analog, full X axis
InputAnalogJoyY = "JOY1_XAXIS_INV" ; analog, full Y axis
InputAnalogJoyTrigger = "KEY_A,JOY1_BUTTON1"
InputAnalogJoyEvent = "KEY_S,JOY1_BUTTON2"
InputAnalogJoyTrigger2 = "KEY_D,JOY1_BUTTON5"
InputAnalogJoyEvent2 = "JOY1_BUTTON4"
@ -191,8 +198,8 @@ InputGunUp = "KEY_UP" ; digital, move gun up
InputGunDown = "KEY_DOWN" ; digital, move gun down
InputGunX = "JOY1_YAXIS" ; analog, full X axis
InputGunY = "JOY1_XAXIS_INV" ; analog, full Y axis
InputTrigger = "KEY_A,JOY1_BUTTON1,MOUSE1_LEFT_BUTTON"
InputOffscreen = "KEY_S,JOY1_BUTTON2,MOUSE1_RIGHT_BUTTON" ; point off-screen
InputTrigger = "KEY_A,JOY1_BUTTON1"
InputOffscreen = "KEY_S,JOY1_BUTTON2" ; point off-screen
InputAutoTrigger = 1 ; automatic reload when off-screen
InputGunLeft2 = "NONE"
InputGunRight2 = "NONE"
@ -211,8 +218,8 @@ InputAnalogGunUp = "KEY_UP" ; digital, move gun up
InputAnalogGunDown = "KEY_DOWN" ; digital, move gun down
InputAnalogGunX = "JOY1_YAXIS" ; analog, full X axis
InputAnalogGunY = "JOY1_XAXIS_INV" ; analog, full Y axis
InputAnalogTriggerLeft = "KEY_A,JOY1_BUTTON1,MOUSE1_LEFT_BUTTON"
InputAnalogTriggerRight = "KEY_S,JOY1_BUTTON2,MOUSE1_RIGHT_BUTTON"
InputAnalogTriggerLeft = "KEY_A,JOY1_BUTTON1"
InputAnalogTriggerRight = "KEY_S,JOY1_BUTTON2"
InputAnalogGunLeft2 = "NONE"
InputAnalogGunRight2 = "NONE"
InputAnalogGunUp2 = "NONE"

View file

@ -68,14 +68,15 @@ then
fi
#RESOLUTION
if [ "$RESOLUTION" = "1" ]
if [ "$RESOLUTION" = "0" ]
then
OPTIONS+=" -res=1920,1080 -fullscreen"
elif [ "$RESOLUTION" = "1" ]
then
OPTIONS+=" -res=496,384"
elif [ "$RESOLUTION" = "2" ]
then
OPTIONS+=" -res=992,768"
else
OPTIONS+=" -fullscreen"
fi
cd ${CONFIG_DIR}