class Controller
Defined at line 29 of file ../../src/ui/input/drivers/pc-ps2/controller.h
Public Methods
void Controller (zx_device_t * parent)
Defined at line 31 of file ../../src/ui/input/drivers/pc-ps2/controller.h
zx_status_t Bind (void * ctx, zx_device_t * parent)
Defined at line 36 of file ../../src/ui/input/drivers/pc-ps2/controller.cc
void DdkRelease ()
Defined at line 37 of file ../../src/ui/input/drivers/pc-ps2/controller.h
void DdkSuspend (ddk::SuspendTxn txn)
Defined at line 192 of file ../../src/ui/input/drivers/pc-ps2/controller.cc
void DdkUnbind (ddk::UnbindTxn txn)
Defined at line 187 of file ../../src/ui/input/drivers/pc-ps2/controller.cc
void DdkInit (ddk::InitTxn txn)
Defined at line 47 of file ../../src/ui/input/drivers/pc-ps2/controller.cc
sync_completion_t & added_children ()
For unit tests
Defined at line 58 of file ../../src/ui/input/drivers/pc-ps2/controller.h
zx::result<std::vector<uint8_t>> SendControllerCommand (Command command, cpp20::span<const uint8_t> data)
Send a command to the controller.
Defined at line 197 of file ../../src/ui/input/drivers/pc-ps2/controller.cc
zx::result<std::vector<uint8_t>> SendDeviceCommand (Command command, Port port)
Send a command to the given port.
Defined at line 233 of file ../../src/ui/input/drivers/pc-ps2/controller.cc
StatusReg ReadStatus ()
Defined at line 266 of file ../../src/ui/input/drivers/pc-ps2/controller.cc
uint8_t ReadData ()
Defined at line 273 of file ../../src/ui/input/drivers/pc-ps2/controller.cc
void JoinInitThread ()
Defined at line 275 of file ../../src/ui/input/drivers/pc-ps2/controller.cc