Michsky – Docs Michsky – Docs
  • Home 
  • Documentation 
    • Hex UI 
    • Beam UI 
    • Reach UI 
    • Heat UI 
    • DreamOS 
    • Modern UI Pack 
    • Loading Screen Studio 
    • Dark UI 
    • Motion Titles Pack 
  • Contact 
Michsky – Docs Michsky – Docs
Michsky – Docs
  • Home 
  • Documentation 
    • Hex UI 
    • Beam UI 
    • Reach UI 
    • Heat UI 
    • DreamOS 
    • Modern UI Pack 
    • Loading Screen Studio 
    • Dark UI 
    • Motion Titles Pack 
  • Contact 

Hex UI

  • Quick Start
  • Animations
  • Controller & Input
    • Controller Manager
    • Controller Presets
    • Hotkey Event
    • UI Navigation
  • Handlers & Managers
    • Audio
    • Chapters
    • Credits
    • Effects
    • In-Game
  • Localization
    • Getting Started
    • Localization Settings
    • Localization Manager
    • Localized Object
  • UI Elements
    • Button
    • Dropdown
    • Modal Window
    • Notifications
    • Panel Manager
    • Progress Bar
    • Selectors
    • Slider
    • Switch
    • Timer
    • Widgets
    • Others
  • UI Manager
  • Others & Add-ons
  • FAQs
  1. Home
  2. Hex UI
  3. Controller & Input
  4. Controller Presets
Updated on May 19, 2024

Hex UI

  • Quick Start
  • Animations
  • Controller & Input
    • Controller Manager
    • Controller Presets
    • Hotkey Event
    • UI Navigation
  • Handlers & Managers
    • Audio
    • Chapters
    • Credits
    • Effects
    • In-Game
  • Localization
    • Getting Started
    • Localization Settings
    • Localization Manager
    • Localized Object
  • UI Elements
    • Button
    • Dropdown
    • Modal Window
    • Notifications
    • Panel Manager
    • Progress Bar
    • Selectors
    • Slider
    • Switch
    • Timer
    • Widgets
    • Others
  • UI Manager
  • Others & Add-ons
  • FAQs

Controller Presets

Author: admin 77 views

Stores native and custom controller presets that can be used in UI.

Preset Manager Workflow

This scriptable object is responsible for storing controller presets. Xbox, DualSense, and keyboard/mouse controllers are natively supported out of the box, but you can also add custom presets.

Preset Workflow

This scriptable object is responsible of storing the preset data. Some controllers have a different type of button scheme/layout compared to others. For example, Xbox has ‘B’ on the east side, while DualSense has ‘Circle’. Controller Preset solves this problem by working with IDs instead of mapping, so you can show unique icon or text based on controller and ID value. This feature is mostly used with the ‘Hotkey Event’ component.

Adding Custom Presets

To create a new custom preset, you can follow these steps:

  • Duplicate one of the existing preset (e.g. Xbox)
  • Change the filename to avoid confusion
  • Set the controller name (as an input device supported by Unity Input System*)
  • Add your preset to the ‘Custom Presets’ list (via Preset Manager)

* You can call Debug.Log(UnityEngine.InputSystem.Gamepad.current.displayName); at runtime to find the active controller name.

How can we help?

A premium WordPress theme with an integrated Knowledge Base,
providing 24/7 community-based support.

© 2024 Michsky