0 of 0

File information

Last updated

Original upload

Created by

Gmishaolem

Uploaded by

jakj

Virus scan

Safe to use

Tags for this mod

About this mod

This mod helps when configuring other mods that ask for a KeyCode (a keyboard key, a mouse button, or a gamepad button) to perform some function. It tells you the actual name to use, such as "KeypadMinus", "Mouse2", or "JoystickButton7".

Permissions and credits
This mod uses Dinkum's chat bubble notification system to show you every time you press a key or a button, and the notification tells you the exact internal "code" name for it, which you can use to configure mods that ask for a KeyCode to perform some function and gives a giant huge list of a million different codes to use.

(Note for modders: This is the name of the element of the "KeyCode" enum to use in the Input.GetKeyDown method.)

It works for keyboard keys, mouse buttons, and gamepad/controller buttons. It does not work for mouse movement, and it does not work on analog "axis" controls on gamepads so depending on your device it won't recognize the joystick directions, triggers, or similar. This is only for keys or buttons that are strictly "pressed" or "not pressed" and nothing else.

If you press a key or button and it does not pop up in a notification, that means Unity (which is the game engine Dinkum is made with) does not recognize that key or button, and it cannot be used for anything.

Note for "Joystick" buttons: When you press one, you'll get two notifications, such as "JoystickButton9" and "Joystick1Button9" at the same time. In this case, "Joystick1Button9" means "button 9 on joystick 1" and "JoystickButton9" means "button 9 on any joystick". You will usually want to use "JoystickButton9" in this case, and only use the more specific "Joystick1Button9" if you have multiple gamepads and want to use more than one at the same time.

Also note that different gamepads (sometimes even by the same manufacturer) can have different button layouts as detected by Unity, so any time you have trouble getting a button to work you should double check its name to be sure.

The mod's config file has a true/false option you can use to turn off the mod but leave it installed for later, or you can just delete the mod once you don't need it anymore. It doesn't do anything to save files or anything else, so you can add and remove it at will.

This is a standard BepInEx 6 mod, so follow the standard Dinkum modding instructions and put the DLL file in your plugins folder. To create the config file, open Dinkum and immediately close it again.