/KeyboardUtilities

Primary LanguageC#GNU General Public License v3.0GPL-3.0

Keyboard Utilities

This is a universal utility mod for Unity games that enables other mods to more easily use Keyboard and Mouse input.

NuGet Link

Special Thanks

I greatly appreciate the work Sinai has done. Most of the code in this project comes from his Unity Explorer project. I adapted the code for use with modding The Long Dark and added my own additional funcionality, but none of it would have been possible without Unity Explorer.

I know many people might skip over this, but I hope you don't. You are so special, and I would appreciate your support. Modding takes lots of time, and I have expenses like food, internet, and rent. If you feel that I have improved your playing experience, please consider supporting me on my Patreon. Your support helps to ensure that I can continue making mods for you at the pace I am :)

Installation

  1. If you haven't done so already, install MelonLoader by downloading and running MelonLoader.Installer.exe.
  2. Download the latest version of KeyboardUtilities.dll from the releases page.
  3. Move KeyboardUtilities.dll into the Mods folder in your game install directory.

Example Use

public static void SomeMethod() 
{
    if(KeyboardUtilities.InputManager.GetKey(KeyCode.T))
    {
        DoSomething();
    }
}