pspsdk-1.0+beta2
Main Page
Modules
Data Structures
Files
File List
Globals
psphprm.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
* pspaudio.h - Prototypes for the sceHprm library.
7
*
8
* Copyright (c) 2005 Adresd
9
*
10
* $Id: psphprm.h 1480 2005-11-25 16:10:18Z mrbrown $
11
*/
12
#ifndef __HPRM_H__
13
#define __HPRM_H__
14
15
#include <
psptypes.h
>
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
26
28
enum
PspHprmKeys
29
{
30
PSP_HPRM_PLAYPAUSE
= 0x1,
31
PSP_HPRM_FORWARD
= 0x4,
32
PSP_HPRM_BACK
= 0x8,
33
PSP_HPRM_VOL_UP
= 0x10,
34
PSP_HPRM_VOL_DOWN
= 0x20,
35
PSP_HPRM_HOLD
= 0x80
36
};
37
46
int
sceHprmPeekCurrentKey
(
u32
*key);
47
55
int
sceHprmPeekLatch
(
u32
*latch);
56
64
int
sceHprmReadLatch
(
u32
*latch);
65
71
int
sceHprmIsHeadphoneExist
(
void
);
72
78
int
sceHprmIsRemoteExist
(
void
);
79
85
int
sceHprmIsMicrophoneExist
(
void
);
86
87
88
91
#ifdef __cplusplus
92
}
93
#endif
94
95
#endif
src
hprm
psphprm.h
Generated on Sat Apr 9 2016 07:00:25 for pspsdk-1.0+beta2 by
1.8.1.2