UserInputService
UserInputService : Instance
Overview
The UserInputService class, a service derived from Instance, manages user input events and conversions between Unreal Engine and Lua scripting environments. It includes headers for various enums and classes related to LuaKeyCode, LuaUserInputState, SlateApplication, and handles input objects, converts keys to Lua equivalents, maintains a map of input associations, manages unhandled input events through delegates, and interacts with other components like ContextActionService. Its key functions include processing input changes, creating/updating input objects, mapping keys to user input states,
Description
UserInputService is a Lua API reference in Overdare Studio that serves as an interface between user input events and Lua scripts. Its primary function is to handle conversions of input events from Roblox Studio's ESlateApplicationInputEvent format into Lua-compatible equivalents such as Enum.KeyCode, Enum.UserInputType, and Enum.UserInputState. By creating InputObjects based on received input information, the service enables scripts to respond appropriately to user inputs, promoting smooth game development and intuitive interactions within Overdare Studio.