GodotInputMapExtension 0.1.4

dotnet add package GodotInputMapExtension --version 0.1.4
                    
NuGet\Install-Package GodotInputMapExtension -Version 0.1.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GodotInputMapExtension" Version="0.1.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GodotInputMapExtension" Version="0.1.4" />
                    
Directory.Packages.props
<PackageReference Include="GodotInputMapExtension" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GodotInputMapExtension --version 0.1.4
                    
#r "nuget: GodotInputMapExtension, 0.1.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package GodotInputMapExtension@0.1.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=GodotInputMapExtension&version=0.1.4
                    
Install as a Cake Addin
#tool nuget:?package=GodotInputMapExtension&version=0.1.4
                    
Install as a Cake Tool

Godot Input Map Extension

A source generator, which provides an enum definition and helper class for mapped inputs.

Installation

In order to use it, you need to specify project.godot in your .csproj file.

<ItemGroup>
  <AdditionalFiles Include="project.godot" />
</ItemGroup>

Usage

This generator exposes GodotInputMapExtension namespace containing:

  • ActionInput enum with elements corresponding to inputs specified in Project > Input Map tab.
  • ActionInputHelper static class that contains:
    • Constants corresponding to mapped inputs.
    • Names dictionary with ActionInput keys and string values with raw input name.

All members of classes and enums are formatted in pascal case.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.4 151 6/25/2024
0.1.3 125 6/23/2024
0.1.2 136 6/23/2024
0.1.1 137 6/22/2024