PSYQO SDK
psyqo::AdvancedPad
Class
Class
An advanced class to access the pads.
Basic usage
This minimal snippet shows the normal syntax for reaching the type. 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