This is a universal utility mod for Unity games that enables other mods to more easily use Keyboard and Mouse input.
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 :)
- If you haven't done so already, install MelonLoader by downloading and running MelonLoader.Installer.exe.
- Download the latest version of
KeyboardUtilities.dll
from the releases page. - Move
KeyboardUtilities.dll
into the Mods folder in your game install directory.
public static void SomeMethod()
{
if(KeyboardUtilities.InputManager.GetKey(KeyCode.T))
{
DoSomething();
}
}