GE Lua Documentation

Press F to search!

onFirstUpdate

Definition


-- @/lua/ge/extensions/core/input/bindings.lua:1019

local function onFirstUpdate()
  M.devices = updateDevicesList(M.devices)
  if M.autoAssignPlayersToDevices then
    M.assignedPlayers = core_multiseat.getAssignedPlayers(M.devices, true)
  end
  M.bindings = getAllBindings(M.devices, M.assignedPlayers)
  notifyAll("input_bindings.lua init")
end

Callers

@/lua/ge/extensions/core/input/actions.lua

local function onFirstUpdate()
  table.clear(actionsCache)
@/lua/ge/extensions/core/audio.lua

local function onFirstUpdate()
  --log("I", "onFirstUpdate", 'onFirstUpdate called....')
@/lua/ge/extensions/core/commandhandler.lua

local function onFirstUpdate()
  if ignoreStartupCmd then
@/lua/ge/extensions/core/schemeCommandServer.lua

local function onFirstUpdate()
    udpSocket = socket.udp()
@/lua/ge/extensions/render/hdr.lua

local function onFirstUpdate()
    if initialized then return end
@/lua/ge/extensions/editor/main.lua

local function onFirstUpdate()
  if editorWasActive then
@/lua/ge/extensions/ui/audio.lua

local function onFirstUpdate()
  local soundsJson = jsonReadFile("ui/soundClasses.json")