casualexpie-ControllerSupport icon

ControllerSupport

Controller support for 3 controllers, Xbox, Dualshock 4, Dualsense 5. Read Desc for full

Last updated 39 minutes ago
Total downloads 5
Total rating 0 
Categories Mods
Dependency string casualexpie-ControllerSupport-1.0.2
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

Controller Support (WINDOWS ONLY FOR NOW)

Installing with r2modman, Gale or the Thunderstore Mod Manager? BepInEx is set up for you, so you can skip any manual install steps below.

DISABLE STEAM INPUT FOR CAS:U FOR THIS MOD TOO WORK!

Controller Support lets you play Casualties Unknown with a controller. It works with Xbox controllers, DualSense (PS5) and DualShock 4 (PS4), wired or wireless, and the DualSense gets the full treatment: adaptive triggers that kick differently for every gun, a lightbar that shows how you're doing, and the health panel's heartbeat and alarm coming out of the controller speaker. It adds a Controller tab to the game's Settings with a live picture of your controller and every option. It's a standalone mod: no other mods or libraries needed.

FEATURES

**Every controller

  • Left stick walks, right stick moves the mouse cursor (hold RB / R1 for a slow, precise cursor)
  • Every button presses the key you set for that action in the game's own controls, so your keybinds carry over
  • A / Cross clicks on the title screen, in menus, character select, the tutorial, text boxes, crafting, trading and item customizing
  • A Controller tab in Settings: a live picture of your controller that lights up every button, stick, trigger and touch as you press it, plus every setting and full button remapping. It switches between Xbox, DualSense and DualShock 4 art depending on what's plugged in.
  • A banner shows which controller connected. If it disconnects during a run, or a wireless controller's battery dies, the game pauses for you.
  • Rumble when you get hurt, and a heartbeat in your hands while you're dying**

**DualSense and DualShock 4

  • The touchpad is a mouse: slide to move, tap to click, two fingers to scroll, press to click (two-finger press = right click)
  • The lightbar shows your condition: green healthy, yellow hurt, red badly hurt, dim blue asleep
  • It flashes red fast while you're dying, in time with the health panel alert
  • It fades in and out yellow while you're bleeding, and flashes green slowly when you're badly poisoned or sick
  • Two or more problems at once? It goes rainbow
  • When you die, it fades to dark red
  • On character select, the lightbar takes the color of the character you're pointing at: orange for SAW-01, white for SAW-03, plum for Dune**

**DualSense only

  • Adaptive triggers for every gun: pistols buzz quick and high, rifles kick harder and deeper, shotguns hit with a heavy thump, and automatics buzz the whole time you hold the trigger
  • The five player lights under the touchpad show your energy
  • Controller speaker (USB): the health panel's sounds play from the controller too, in sync with the game. That's the open and close sounds, the heartbeat while the panel is open, and the critical alert.
  • If the controller plays before the game (common with Bluetooth speakers or headphones), raise "Speaker delay" in the Controller tab until they line up**
DEFAULT BUTTONS

A / Cross: jump
B / Circle: throw
X / Square: switch hands
Y / Triangle: inventory
LB / L1: expand description
RB / R1: slow (precise) cursor
LT / L2: item interact
RT / R2: left click (use / fire)
View / Create: crafting
Menu / Options: pause
L3: bark
R3: right click
D-pad up: health panel
D-pad down: ragdoll
D-pad left / right: normal speed / cycle speed
Touchpad press: left click (two fingers: right click)

Change any of them in the Controller tab.

INSTALLATION INSTRUCTIONS

  1. Open your game folder. In Steam: right-click Casualties Unknown > Manage > Browse local files.
  2. Install BepInEx 5 (skip if you already have it): unzip it straight into the game folder, start the game once, wait for the main menu, then close it.
  3. Install Controller Support: copy ControllerSupport.dll from this mod's zip into <game folder>\BepInEx\plugins\
  4. Launch the game and connect your controller. Done!

Steam Input: if buttons do double actions, or the lightbar, triggers or speaker don't react, turn Steam Input off for this game. In Steam, right-click Casualties Unknown > Properties > Controller > Disable Steam Input.

CONFIGURATION

Everything is in the Controller tab in the game's Settings. The same options are in <game folder>\BepInEx\config\controllersupport.cfg.

NOTES

  • Windows only for now
  • The controller speaker needs a USB cable. Over Bluetooth, Windows doesn't give the game a way to reach it.
  • The DualShock 4 has no adaptive triggers, and its speaker can't be used on PC

UNINSTALL

Delete BepInEx\plugins\ControllerSupport.dll. Your saves aren't touched.

REQUIREMENTS

CREDITS

Controller art: Kenney (kenney.nl), CC0.