Shared by Sleepy Weeby
- 18 Jul 2020 04:38
Configuration to play State of Decay 2 with JoyShockMapper
#State Of Decay 2 Calibration
RESET_MAPPINGS
#Right stick settings
#Flick stick is on by default but if you want normal stick aim control put a "#" next to Right Stick Mode = Flick, and take off the "#" next to Right Stick Mode = Aim
# Use flick stick
RIGHT_STICK_MODE = FLICK
REAL_WORLD_CALIBRATION = 155
COUNTER_OS_MOUSE_SPEED
GYRO_SPACE = PLAYER_TURN
#Use stick aim
# Stick sensitivity is in degrees per second
STICK_SENS = 0
STICK_POWER = 0
STICK_ACCELERATION_RATE = 0
STICK_ACCELERATION_CAP = 0
#RIGHT_STICK_MODE = AIM
#State of Decay 2 doesn't have a number value shown in the game settings, so turn down all 3 mouse sensitivity settings to their lowest value
IN_GAME_SENS = 1
# Aim settings
# Gyro sens of 1 means you'll turn the same amount in game as in the real world
MIN_GYRO_SENS = 1
MAX_GYRO_SENS = 1
# Gyro thresholds are in degrees per second
MIN_GYRO_THRESHOLD = 0
MAX_GYRO_THRESHOLD = 75
# Button mappings
HOLD_PRESS_TIME = 150
SIM_PRESS_WINDOW = 100
#All buttons line up with the standard game-pad layout.
GYRO_OFF = E #Hold the "E" button to realign gyro controls when they get off center, this is similar to having to lift and recenter a mouse on a mouse-pad
UP = F #Flashlight
RIGHT = J #Select next item
DOWN = I #Open Inventory
LEFT = K #select previous item
LLEFT = A #Left stick for standard movement controls
LRIGHT = D
LUP = W
LDOWN = S
ZR_MODE = NO_SKIP
ZR = \ #Grapple/Transfer from vehicle locker/Rotate character left/ Accelerate/ Map Zoom In
ZL,ZR = ; #Shoot
ZL,W = R
ZL,DOWN = 3 #Fire Mode(HOLD)
ZL,N = 2
ZL = O #Aim/Rotate charater right/ Break/Reverse/ Map Zoom Out
R = Q #Use Item/Next tab
L = LSHIFT #Turbo/Change seat mode/Previous tab
N = E\ R #Cycle Weppon(while aiming)/Exit vehicle/Skip Cinematics/ Unload Weapon/Take one item/Interact/ Show Closet
W = X #Melee/ Struggle/ Finisher while grappling/ Reload while aiming/ Equip or unequip/ Salvage (hold) to break item/(hold) delete save/Unload gun (hold)/ Take Control
E = BACKSPACE NONE #Dodge/ Back/(Hold)Gyro off/ Repair/Take One Item/ Handbrake
S = LMOUSE\ C #Jump/Take or store item/Select/Fight for your life/Throw while grappling/Kick(assault)/Snap(gun slinging)/ Repair/Set map way-point
L3 = LCONTROL #Crouch
R3 = Z #Emotes/ Horn/ Favorite
+ = ESC #Pause menu
- = V #Toggle menu screensSleepy Weeby's Notes
Set all 3 mouse sensitivities to their lowest value since they have no number value and set IN_GAME_SENS to 1(the config has it set to 1 by default so no worries forgetting). Setting it to the lowest makes the aiming and mouse movement much more fluid and pleasant. The overall goal was to have gyro controls with the same layout as Xinput on Dualshock4. However to accomplish this you'll need to rebind quite a number of keys since some actions, such as repairing a gun, cannot be rebound. This is a nearly 1 to 1 reinterpretation of the game-pad controls to gyro only oddities are the zoom functions for the map are on the triggers, and conversations can't be navigated with D-pad so you need to point the mouse cursor over replies. So to make the game feel normal, we need to rebind around the actions that cannot be rebound to avoid clashing in control inputs, yes it's a pain. Go into the settings and Change the Following:
Note - The "O" keys to be used must be unbound from their original shortcut role
Movement
Dodge = Backspace
Jump = Left Mouse Button
Combat
Melee Attack = X
Struggle = X
Fight For Your Life = Left Mouse Button
Grapple = Left Mouse Button
Finisher (while Grappling) = X
Throw (while Grappling) = Left Mouse Button
Shooting
Aim Gun = O
Fire Gun = ;
Reload (while aiming) = R
Kick (Assualt)/ Snap (Gunslinging) = Left Mouse Button
Items
Select Next Item = J
Select Previous Item = K
Vehicles
Accelerate = \
Brake/Reverse = O
Handbrake = Backspace
Door Melee = X
Change Seat Mode = Left Shift
Horn = Z
Interface
Emotes = Z
Open Inventory Panel = I (this will overwrite toggle inventory panel, YOU WANT THIS, let it remove a keybinding for toggle inventory panel)
UI
Up = F
Down = I
Left = K
Right = J
Next Tab = Q
Previous Tab = Left Shift
Select = Left Mouse Button
Back = Backspace
Cancel = Backspace
Inventory
Take / Store Item = Left Mouse Button
Equip/Unequip = X
Repair/Take One Item = E
Transfer from Vehicle to Locker = \
Map
Zoom In = \
Zoom Out = O
Next Goal = I
Previous Goal = F
Community
Survivor Info = Left Mouse Button
Take Control = X
Show Closet = E
Rotate Character Left = \
Rotate Character Right = O
Toggle Favorite = Z
How to Use this Config
Using JoyShockMapper configurations is easy once you know how. If you haven't used it before, check out the guide. For using a community config like this one, you only need to get through the first two sections — Installing JSM and Using an already-made configuration file.
Just copy the above configuration into a text file, change the IN_GAME_SENS to match your in-game settings, and then drag that file into JoyShockMapper and hit Enter to use it right away. Some games have their own limitations with certain controllers or require some extra setup, so make sure to check for any notes near top of the main State of Decay 2 page.

