# Glyph Override

Customize which controller button prompts are displayed in-game, with full local co-op support.

## Features

### Co-op Controller Prompt Fix
- Fixes Player 2 (Goat) seeing "--" instead of button prompts in local co-op
- Button prompts now correctly update when Player 2 switches or reconnects their controller
- Supports mixed controller types in co-op (e.g., Player 1 on Xbox, Player 2 on PlayStation)

### Force Controller Prompts (Per-Player)
- Override the auto-detected controller type to display specific button prompts
- Separate settings for Player 1 (Lamb) and Player 2 (Goat) in co-op
- Each player can be set to a different controller type independently
- Supported controller types:
  - Auto (default - uses connected controller)
  - Keyboard
  - DualShock 4 (PlayStation 4)
  - DualSense (PlayStation 5)
  - Xbox 360
  - Xbox One
  - Xbox Series
  - Nintendo Switch Joy-Cons (Detached)
  - Nintendo Switch Joy-Cons (Docked)
  - Nintendo Switch Handheld
  - Nintendo Switch Pro Controller

### Nintendo Switch A/B Button Fix
- Automatically swaps A/B button prompts when using any Nintendo Switch controller type
- Works correctly per-player in co-op with mixed controller types
- Nintendo and Xbox controllers have physically swapped A/B positions:
  - Nintendo: A=right, B=bottom
  - Xbox: A=bottom, B=right
- The game already handles X/Y swap but not A/B - this mod adds the missing fix

## Installation

* Install [BepInExPack CultOfTheLamb](https://thunderstore.io/c/cult-of-the-lamb/p/BepInEx/BepInExPack_CultOfTheLamb/)
* Install [BepInEx Configuration Manager](https://thunderstore.io/c/cult-of-the-lamb/p/p1xel8ted/BepInEx_Configuration_Manager/) (for in-game configuration)
* Place the plugin DLL into your "...\Cult of the Lamb\BepInEx\plugins" folder.

## Configuration

* Press F1 in game to open the configuration manager.
* The configuration file can be found in the "...\Cult of the Lamb\BepInEx\config" folder.

## My Other Mods

- [Cult of QoL](https://thunderstore.io/c/cult-of-the-lamb/p/p1xel8ted/Cult_of_QoL_Collection/) - Massive quality-of-life overhaul with 100+ features
- [Mystic Assistant Redux](https://thunderstore.io/c/cult-of-the-lamb/p/p1xel8ted/Mystic_Assistant_Redux/) - Buy specific Mystic Shop rewards instead of spinning the wheel
- [Rebirth](https://thunderstore.io/c/cult-of-the-lamb/p/p1xel8ted/Rebirth/) - Followers can be reborn with new names and appearances
- [Namify](https://thunderstore.io/c/cult-of-the-lamb/p/p1xel8ted/Namify/) - Random name generation from 1000+ names plus custom names
- [Skip of the Lamb](https://thunderstore.io/c/cult-of-the-lamb/p/p1xel8ted/Skip_of_the_Lamb/) - Skip intros, splash screens, and videos
- [Skip of the Lamb Lite](https://thunderstore.io/c/cult-of-the-lamb/p/p1xel8ted/Skip_of_the_Lamb_Lite/) - Just skips splash screens, no config needed
- [Trait Control](https://thunderstore.io/c/cult-of-the-lamb/p/p1xel8ted/Trait_Control/) - Replace negative traits, control trait probabilities
- [Quick Menus](https://thunderstore.io/c/cult-of-the-lamb/p/p1xel8ted/Quick_Menus/) - Hotkey-based quick access to game menus from anywhere
- [Glyph Override](https://thunderstore.io/c/cult-of-the-lamb/p/p1xel8ted/Glyph_Override/) - Force specific controller button prompts

## Donate

If you enjoy the mod, please consider donating [here](https://ko-fi.com/p1xel8ted) or hit that thumbs up button!

[![KoFiLogo](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/p1xel8ted)

## Issues

Please report issues on the mod page or GitHub.
