psputility_usbmodules.h

Go to the documentation of this file.
00001 /*
00002  * PSP Software Development Kit - http://www.pspdev.org
00003  * -----------------------------------------------------------------------
00004  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
00005  *
00006  * psputility_usbmodules.h - Load usb modules from user mode on 2.70 and higher
00007  *
00008  * Copyright (c) 2007 David Perry <tias_dp@hotmail.com>
00009  *
00010  */
00011 #ifndef __PSPUTILITY_USBMODULES_H__
00012 #define __PSPUTILITY_USBMODULES_H__
00013 
00014 #ifdef __cplusplus
00015 extern "C" {
00016 #endif
00017 
00018 #include <psptypes.h>
00019 
00020 #define PSP_USB_MODULE_PSPCM    1
00021 #define PSP_USB_MODULE_ACC      2
00022 #define PSP_USB_MODULE_MIC      3 // Requires PSP_USB_MODULE_ACC loading first
00023 #define PSP_USB_MODULE_CAM      4 // Requires PSP_USB_MODULE_ACC loading first
00024 #define PSP_USB_MODULE_GPS      5 // Requires PSP_USB_MODULE_ACC loading first
00025 
00033 int sceUtilityLoadUsbModule(int module);
00034 
00042 int sceUtilityUnloadUsbModule(int module);
00043 
00044 #ifdef __cplusplus
00045 }
00046 #endif
00047 
00048 #endif