pspsdk-1.0+beta2
psputility_usbmodules.h
Go to the documentation of this file.
1 /*
2  * PSP Software Development Kit - http://www.pspdev.org
3  * -----------------------------------------------------------------------
4  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5  *
6  * psputility_usbmodules.h - Load usb modules from user mode on 2.70 and higher
7  *
8  * Copyright (c) 2007 David Perry <tias_dp@hotmail.com>
9  *
10  */
11 #ifndef __PSPUTILITY_USBMODULES_H__
12 #define __PSPUTILITY_USBMODULES_H__
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 #include <psptypes.h>
19 
20 #define PSP_USB_MODULE_PSPCM 1
21 #define PSP_USB_MODULE_ACC 2
22 #define PSP_USB_MODULE_MIC 3 // Requires PSP_USB_MODULE_ACC loading first
23 #define PSP_USB_MODULE_CAM 4 // Requires PSP_USB_MODULE_ACC loading first
24 #define PSP_USB_MODULE_GPS 5 // Requires PSP_USB_MODULE_ACC loading first
25 
33 int sceUtilityLoadUsbModule(int module);
34 
42 int sceUtilityUnloadUsbModule(int module);
43 
44 #ifdef __cplusplus
45 }
46 #endif
47 
48 #endif