Project Zomboid Lua Docs 29123
Unofficial documentation for Project Zomboid's Lua
Loading...
Searching...
No Matches
JoypadData Class Reference
Inheritance diagram for JoypadData:
ISBaseObject

Public Member Functions

void setController (JoypadControllerData controller)
void clearController ()
boolean isConnected ()
void setActive (boolean isActive)
boolean isFocusOnElementOrDescendant (ISUIElement ui)
void startNavigation ()
void endNavigation ()
 JoypadData ()
Public Member Functions inherited from ISBaseObject
void initialise ()
ISBaseObject derive (string type)
void addEventListener (string _event, function _callback, unknown _target)
void removeEventListener (string _event, function _callback)
void triggerEvent (string _event, unknown ...)
void clearEventListeners ()
 ISBaseObject ()

Public Attributes

integer id
JoypadControllerData controller
boolean isActive
boolean isDoingNavigation
ISUIElement currentNavigateUI
integer player
ISUIElement focus
ISUIElement lastfocus
ISUIElement prevfocus
ISUIElement prevprevfocus
boolean inMainMenu
ISJoypadListBox listBox
Public Attributes inherited from ISBaseObject
string Type
table< string, table< function, unknown > > __eventListeners

Constructor & Destructor Documentation

◆ JoypadData()

JoypadData::JoypadData ( )

Member Function Documentation

◆ clearController()

void JoypadData::clearController ( )

◆ endNavigation()

void JoypadData::endNavigation ( )

◆ isConnected()

boolean JoypadData::isConnected ( )

◆ isFocusOnElementOrDescendant()

boolean JoypadData::isFocusOnElementOrDescendant ( ISUIElement ui)

◆ setActive()

void JoypadData::setActive ( boolean isActive)

◆ setController()

void JoypadData::setController ( JoypadControllerData controller)

◆ startNavigation()

void JoypadData::startNavigation ( )

Member Data Documentation

◆ controller

JoypadControllerData JoypadData::controller

◆ currentNavigateUI

ISUIElement JoypadData::currentNavigateUI

◆ focus

ISUIElement JoypadData::focus

◆ id

integer JoypadData::id

◆ inMainMenu

boolean JoypadData::inMainMenu

◆ isActive

boolean JoypadData::isActive

◆ isDoingNavigation

boolean JoypadData::isDoingNavigation

◆ lastfocus

ISUIElement JoypadData::lastfocus

◆ listBox

ISJoypadListBox JoypadData::listBox

◆ player

integer JoypadData::player

◆ prevfocus

ISUIElement JoypadData::prevfocus

◆ prevprevfocus

ISUIElement JoypadData::prevprevfocus

The documentation for this class was generated from the following file: