PSYQO SDK
psyqo::AdvancedPad
Class
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.
Class
An advanced class to access the pads.
Basic usage
This generated sketch illustrates syntax for reaching the type; adapt it to the actual API contract. Open a member below for an operation-specific example.
C++ example
#include "psyqo/advancedpad.hh"
psyqo::AdvancedPad& value = /* obtain a valid instance from your game */;Nested types
ButtonEnum declared by the advancedpad module for the advancedpad module.EnumEventStruct declared by the advancedpad module for the advancedpad module.StructPadEnum declared by the advancedpad module for the advancedpad module.EnumPadTypeEnum declared by the advancedpad module for the advancedpad module.EnumPollingModeInitializes the pads.EnumPublic methods
getAdcReturns the state of an Analog Input.MethodgetHalfwordReturns raw pad data as an unsigned 16-bit value.MethodgetPadTypeReturns the type of the pad.MethodinitializePerforms `initialize` as part of the advancedpad module.MethodisButtonPressedReturns the state of a button.MethodisPadConnectedReturns the state of a pad.MethodsetOnEventSets the event callback function.Method