51 lines
1.6 KiB
Markdown
51 lines
1.6 KiB
Markdown
# Conjure Arcade Controller Package
|
|
|
|
Unity Input System support for Conjure Arcade Controllers.
|
|
|
|
## Features
|
|
|
|
- Custom Input Device implementation for Conjure Arcade Controllers
|
|
- Arcade stick support with directional buttons (up, down, left, right)
|
|
- 8 button support (Home, Start, 1-3, A-C)
|
|
- Multi-controller support with controller indexing
|
|
- Integration with Unity's Input System
|
|
- Input Action Asset extensions for easy controller assignment
|
|
|
|
## Requirements
|
|
|
|
- Unity 2021.3 or later
|
|
- Unity Input System package (1.4.4 or later)
|
|
|
|
## Installation
|
|
|
|
### Via Package Manager (Git URL)
|
|
1. Open the Package Manager in Unity
|
|
2. Click the "+" button and select "Add package from git URL"
|
|
3. Enter the repository URL
|
|
|
|
### Via Package Manager (Local)
|
|
1. Download or clone this repository
|
|
2. Open the Package Manager in Unity
|
|
3. Click the "+" button and select "Add package from disk"
|
|
4. Select the `package.json` file from the downloaded folder
|
|
|
|
## Input Bindings
|
|
|
|
When setting up Input Actions, use these binding paths:
|
|
|
|
- **Stick (Vector2)**: `<ConjureArcadeController>/stick`
|
|
- **Stick Directions**:
|
|
- `<ConjureArcadeController>/stick/up`
|
|
- `<ConjureArcadeController>/stick/down`
|
|
- `<ConjureArcadeController>/stick/left`
|
|
- `<ConjureArcadeController>/stick/right`
|
|
- **Buttons**:
|
|
- `<ConjureArcadeController>/home`
|
|
- `<ConjureArcadeController>/start`
|
|
- `<ConjureArcadeController>/button1`
|
|
- `<ConjureArcadeController>/button2`
|
|
- `<ConjureArcadeController>/button3`
|
|
- `<ConjureArcadeController>/buttonA`
|
|
- `<ConjureArcadeController>/buttonB`
|
|
- `<ConjureArcadeController>/buttonC`
|