psl1ght
A free SDK for Sony's PS3 console
Data Fields
_pad_periph_info Struct Reference

Pad peripheral information data structure. More...

#include <pad.h>

Data Fields

u32 max
 max pads allowed to connect
 
u32 connected
 how many pads connected
 
u32 info
 bit 0 lets the system intercept pad? other bits are reserved
 
u32 port_status [MAX_PORT_NUM]
 Bit 0: Connected (0: Disconnected, 1: Connected), Bit 1: assign changes?
 
u32 port_setting [MAX_PORT_NUM]
 Bit 1: Pressure sensitivity turned on, Bit 2: Sensors turned on.
 
u32 device_capability [MAX_PORT_NUM]
 Pad capability. More...
 
u32 device_type [MAX_PORT_NUM]
 0: Standard, 4: Bluray Remote, 5: LDD
 
u32 pclass_type [MAX_PORT_NUM]
 Pad class type.
 
u32 pclass_profile [MAX_PORT_NUM]
 Pad class profile.
 

Detailed Description

Pad peripheral information data structure.

Field Documentation

◆ device_capability

u32 _pad_periph_info::device_capability[MAX_PORT_NUM]

Pad capability.

  • Bit 0: PS3SPEC
  • Bit 1: has_pressure
  • Bit 2: has_sensor
  • Bit 3: has_hps
  • Bit 4: has_vibrate
    See also
    padCapabilityInfo

The documentation for this struct was generated from the following file: