PSP2SDK  dirty-f9e4f2d
The free SDK for PSP2
Data Fields
SceCtrlData Struct Reference

#include <ctrl.h>

Data Fields

uint64_t timeStamp
unsigned int buttons
unsigned char lx
unsigned char ly
unsigned char rx
unsigned char ry
uint8_t reserved [16]

Detailed Description

Returned controller data


Field Documentation

unsigned int SceCtrlData::buttons

Bit mask containing zero or more of ::CtrlButtons.

unsigned char SceCtrlData::lx

Left analogue stick, X axis.

unsigned char SceCtrlData::ly

Left analogue stick, Y axis.

uint8_t SceCtrlData::reserved[16]

Reserved.

unsigned char SceCtrlData::rx

Right analogue stick, X axis.

unsigned char SceCtrlData::ry

Right analogue stick, Y axis.

The current read frame.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines