EPOK RUNTIME
Controller Pad
controller_pad.hpp · SIO0 controller polling and DualShock configuration
Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.
Module
SIO0 controller polling and DualShock configuration.
Include this module
C++ include
#include "controller_pad.hpp"Types
ButtonType alias declared by the controller-pad module for SIO0 controller polling and DualShock configuration.Type aliasControllerPadClass declared by the controller-pad module for SIO0 controller polling and DualShock configuration.ClassPadType alias declared by the controller-pad module for SIO0 controller polling and DualShock configuration.Type aliasTransferTraceResult: 0 okay, 1 bus owned, 2 RX timeout, 3 ACK timeout, 4 absent ID, 5 oversized reply, 6 invalid ID-high byte.StructFunctions and methods
getAdcReturns adc as part of SIO0 controller polling and DualShock configuration.MethodgetPadTypeReturns pad type as part of SIO0 controller polling and DualShock configuration.MethodinitializePerforms `initialize` as part of SIO0 controller polling and DualShock configuration.MethodisButtonPressedReports whether button pressed as part of SIO0 controller polling and DualShock configuration.MethodisPadConnectedReports whether pad connected as part of SIO0 controller polling and DualShock configuration.MethodrumbleProbingPerforms `rumble probing` as part of SIO0 controller polling and DualShock configuration.MethodrumbleSupportedPerforms `rumble supported` as part of SIO0 controller polling and DualShock configuration.MethodsetRumbleSets rumble as part of SIO0 controller polling and DualShock configuration.MethodstopRumbleStops rumble as part of SIO0 controller polling and DualShock configuration.MethodsynchronizeA long card transaction or blocked game frame may let the controller's own watchdog forget its configuration.MethodtracePerforms `trace` as part of SIO0 controller polling and DualShock configuration.MethodFields, variables and values
commandExposes `command` on `epok::ControllerPad::TransferTrace` for SIO0 controller polling and DualShock configuration.FieldheaderExposes `header` on `epok::ControllerPad::TransferTrace` for SIO0 controller polling and DualShock configuration.FieldidExposes `id` on `epok::ControllerPad::TransferTrace` for SIO0 controller polling and DualShock configuration.FieldindexExposes `index` on `epok::ControllerPad::TransferTrace` for SIO0 controller polling and DualShock configuration.FieldresultExposes `result` on `epok::ControllerPad::TransferTrace` for SIO0 controller polling and DualShock configuration.FieldstatusExposes `status` on `epok::ControllerPad::TransferTrace` for SIO0 controller polling and DualShock configuration.Field