pspctrl_kernel.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  * pspctrl_kernel.h - Prototypes for the sceCtrl_driver library.
00007  *
00008  * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
00009  * Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
00010  * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
00011  *
00012  * $Id: pspctrl_kernel.h 2015 2006-10-05 20:23:07Z tyranid $
00013  */
00014 
00015 #ifndef __CTRL_KERNEL_H__
00016 #define __CTRL_KERNEL_H__
00017 
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021 
00037 void sceCtrl_driver_7CA723DC(unsigned int mask, unsigned type);
00038 
00046 int sceCtrl_driver_5E77BC8A(unsigned int mask);
00047 
00058 int sceCtrl_driver_5C56C779(int no, unsigned int mask, void (*cb)(int, int, void*), void *arg);
00059 
00060 /* Just define some random names for the functions to make them easier to use */
00061 #define sceCtrlSetButtonMasks sceCtrl_driver_7CA723DC
00062 #define sceCtrlGetButtonMask sceCtrl_driver_5E77BC8A
00063 #define sceCtrlRegisterButtonCallback sceCtrl_driver_5C56C779
00064 
00065 
00066 #ifdef __cplusplus
00067 }
00068 #endif
00069 
00070 #endif

Generated on Tue Jul 24 15:21:22 2007 for PSPSDK-Rev2272 by  doxygen 1.5.2