KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
maple_devinfo_t Struct Reference

Maple device info structure. More...

#include <dc/maple.h>

Data Fields

uint32 functions
 Function codes supported.
 
uint32 function_data [3]
 Additional data per function.
 
uint8 area_code
 Region code.
 
uint8 connector_direction
 0: UP (most controllers), 1: DOWN (lightgun, microphones)
 
char product_name [30]
 Name of device.
 
char product_license [60]
 License statement.
 
uint16 standby_power
 Power consumption (standby)
 
uint16 max_power
 Power consumption (max)
 

Detailed Description

Maple device info structure.

This structure is used by the hardware to deliver the response to the device info request.

Note
product_name and product_license are not guaranteed to be NULL terminated.

Field Documentation

◆ area_code

uint8 maple_devinfo_t::area_code

Region code.

◆ connector_direction

uint8 maple_devinfo_t::connector_direction

0: UP (most controllers), 1: DOWN (lightgun, microphones)

◆ function_data

uint32 maple_devinfo_t::function_data[3]

Additional data per function.

◆ functions

uint32 maple_devinfo_t::functions

Function codes supported.

◆ max_power

uint16 maple_devinfo_t::max_power

Power consumption (max)

◆ product_license

char maple_devinfo_t::product_license[60]

License statement.

◆ product_name

char maple_devinfo_t::product_name[30]

Name of device.

◆ standby_power

uint16 maple_devinfo_t::standby_power

Power consumption (standby)


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