Surface Intergration - GlassSources/airwiki GitHub Wiki
SurfaceHDLib - for Air.
SurfaceHDLib is a product created by Glass, to make more GamePads compatible with ROBLOX. Enjoy playing with your hardware easily by coding your game with the library.
Methods for Surface (MainLib)
Method |
Syntax |
Description |
Version |
_G.surface.Version() |
Find out the version of SurfaceHD with versions of the components in it. |
HardwareService |
_G.HardwareService |
Use this variable for quick access to the Hardware Service. |
GamepadCheck |
_G.surface.GamepadCheck() |
If gamepad is on, it will return true. If it is off, it will be return false. |
DisconnectEvent |
_G.surface.onDisconnect() |
Will return a bool value for the status of the disconnection of the GamePad. |
ConnectEvent |
_G.surface.onConnect() |
Will also return a bool value for the status of connection of the GamePad. |
FindSupportKeys |
_G.surface.GamepadButtonSupportCheck(enum) |
Returns a string of the compatible keys of the Gamepad. |
GetGamepadState |
_G.surface.GetGamepadState(enum) |
Returns a value of the Gamepad's state. |
Methods for Surface (RawLib)
Method |
Syntax |
Description |
AboutRawLib |
_G.rawSurface.About() |
This returns a string, in which tells you about rawLib. |
RawVersion |
_G.rawSurface.Version() |
Returns a raw version of only Surface's version. |