/DiceInput

A Roblox wrapper for inputs

Primary LanguageLuaMIT LicenseMIT

Dice Input

By Mullet Mafia Dev

Dice Input is a wrapper for Roblox inputs to wrap API for convenience of running code.

API

.IsComputer()
.IsMobile()
.IsConsole()

.IsKeyboard()
.IsMouse()
.IsTouch()
.Gamepad()
.IsVR()

.create(name)

local Action = Input.create('Action')
Action:Keybinds()
Action:Hook(function)
Action:Unbind()

Input:Disconnect(name)
Input:Update(name,{keybinds}
Input:Began(name,{keybinds},function)
Input:Ended(name,{keybinds},function)