PSPSDK 2026-11-05
Unofficial static mirror · snapshot 2026-11-05 · upstream documentation
Loading...
Searching...
No Matches
pspusbacc.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
3 * -----------------------------------------------------------------------
4 * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5 *
6 * pspusbacc.h - Prototypes for the sceUsbAcc library
7 *
8 * Copyright (c) 2007 dot_blank
9 *
10 */
11#ifndef __PSPUSBACC_H__
12#define __PSPUSBACC_H__
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18#include <psptypes.h>
19#include <pspusb.h>
20
21#define PSP_USBACC_DRIVERNAME "USBAccBaseDriver"
22
23/* Error codes returned by the sceUsbAcc functions */
24#define PSP_USBACC_ERROR_NOT_AUTHENTICATED (0x80243701)
25
31
43
58
59#ifdef __cplusplus
60}
61#endif
62
63#endif
uint8_t u8
Definition psptypes.h:38
struct SceUsbAccInfo SceUsbAccInfo
Accessory specific information block returned by sceUsbAccGetInfo.
int sceUsbAccGetAuthStat(void)
Gets the authentication state of the connected USB accessory.
int sceUsbAccGetInfo(SceUsbAccInfo *info)
Gets the information block sent by the connected USB accessory.
Accessory specific information block returned by sceUsbAccGetInfo.
Definition pspusbacc.h:27
u8 data[8]
The layout depends on the connected accessory.
Definition pspusbacc.h:29