Static classes
Input
Create custom keybindings and retrieve input information.
32 own
Static functions 23
- Bind Binds a function to an Input defined using <code>Register</code> or from the game
- GetGameKeyBindings Returns a table with all Game KeyBindings
- GetKeyboardLayout Gets the keyboard layout of the user
- GetKeyCode Gets the key code of a key
- GetKeyIcon Gets the icon path of a key
- GetMappedKeys Returns the keys bound to a keybinding
- GetModifierKeys Gets the currently pressed modifier keys
- GetMouseCursor Gets the current Mouse Cursor type
- GetScriptingKeyBindings Returns a table with all Scripting KeyBindings
- InputKey Forces an Input Key event on Local Player
- IsBindingDown Returns if a Key Binding is being pressed
- IsInputEnabled
- IsKeyDown Returns if a key is being pressed
- IsMouseEnabled
- Register Registers a keybinding to a default key
- ResetBindings Resets all bound functions by this Package
- SetInputEnabled Toggles Local Player input
- SetMouseCursor Sets the current Mouse Cursor type
- SetMouseEnabled Displays/Hides Mouse Cursor
- Subscribe Subscribes to an Event
- Unbind Unbinds an Input function
- Unregister Unregisters a keybinding
- Unsubscribe Unsubscribes from all subscribed Events in this Class and in this Package, optionally passing the function to unsubscribe only that callback
Events 9
- KeyBindingChange A key binding has been changed through the settings
- KeyDown A keyboard key is being pressed
- KeyPress A keyboard key has been pressed
- KeyUp A keyboard key has been released
- MouseDown A mouse button has been pressed / is being pressed
- MouseEnable When mouse cursor is displayed/hidden
- MouseMove Called when the mouse moves
- MouseScroll Called when the mouse scrolls
- MouseUp A mouse button has been released