pspsdk-1.0+beta2
pspctrl_kernel.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  * pspctrl_kernel.h - Prototypes for the sceCtrl_driver library.
7  *
8  * Copyright (c) 2005 Marcus R. Brown <mrbrown@ocgnet.org>
9  * Copyright (c) 2005 James Forshaw <tyranid@gmail.com>
10  * Copyright (c) 2005 John Kelley <ps2dev@kelley.ca>
11  *
12  * $Id: pspctrl_kernel.h 2433 2008-10-15 10:00:27Z iwn $
13  */
14 
15 #ifndef __CTRL_KERNEL_H__
16 #define __CTRL_KERNEL_H__
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
37 void sceCtrl_driver_7CA723DC(unsigned int mask, unsigned type);
38 
46 int sceCtrl_driver_5E77BC8A(unsigned int mask);
47 
58 int sceCtrl_driver_5C56C779(int no, unsigned int mask, void (*cb)(int, int, void*), void *arg);
59 
60 /* Just define some random names for the functions to make them easier to use */
61 #define sceCtrlSetButtonMasks sceCtrl_driver_7CA723DC
62 #define sceCtrlGetButtonMask sceCtrl_driver_5E77BC8A
63 #define sceCtrlRegisterButtonCallback sceCtrl_driver_5C56C779
64 
65 
66 #ifdef __cplusplus
67 }
68 #endif
69 
70 #endif