ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. getKeyboardLayout

Function

getKeyboardLayout

ClientInput and controlsTrilogy Hub only

Returns the player's keyboard layout (name and identifier). In the current client version the function is not wired to the game yet and returns false with a console warning.

Syntax

table getKeyboardLayout()

Returns

A table with a name field or false.

Example

local layout = getKeyboardLayout()
if layout then outputChatBox("Klawiatura: " .. layout.name) end

See also