- internalingame/tribute/tribute.lua:757 --
self.gamepadCursor:RegisterCallback("ObjectUnderCursorChanged", function(object, objectType, previousObject, previousObjectType)
if previousObjectType == ZO_TRIBUTE_GAMEPAD_CURSOR_TARGET_TYPES.CARD or previousObjectType == ZO_TRIBUTE_GAMEPAD_CURSOR_TARGET_TYPES.MECHANIC_TILE or previousObjectType == ZO_TRIBUTE_GAMEPAD_CURSOR_TARGET_TYPES.DISCARD_COUNTER then
previousObject:OnCursorExit()
end
if objectType == ZO_TRIBUTE_GAMEPAD_CURSOR_TARGET_TYPES.CARD or objectType == ZO_TRIBUTE_GAMEPAD_CURSOR_TARGET_TYPES.MECHANIC_TILE or objectType == ZO_TRIBUTE_GAMEPAD_CURSOR_TARGET_TYPES.DISCARD_COUNTER then
object:OnCursorEnter()
end
end)
- internalingame/tribute/tribute.lua:767 --
self.gamepadCursor:RegisterCallback("CursorPositionChanged", function(x, y)
TRIBUTE_MECHANIC_MANAGER:OnGamepadCursorPositionChanged(x, y)
end)
- internalingame/tribute/tribute.lua:771 --
self.gamepadCursor:RegisterCallback("CursorStateChanged", function(active)
TRIBUTE_MECHANIC_MANAGER:OnGamepadCursorStateChanged(active)
end)