PSPSDK 2024-12-24
Loading...
Searching...
No Matches
psphprm.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
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 */
11#ifndef __HPRM_H__
12#define __HPRM_H__
13
14#include <psptypes.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
36
46
55
64
71
78
85
86
87
90#ifdef __cplusplus
91}
92#endif
93
94#endif
int sceHprmIsHeadphoneExist(void)
Determines whether the headphones are plugged in.
int sceHprmPeekLatch(u32 *latch)
Peek at the current latch data.
int sceHprmReadLatch(u32 *latch)
Read the current latch data.
int sceHprmIsMicrophoneExist(void)
Determines whether the microphone is plugged in.
int sceHprmPeekCurrentKey(u32 *key)
Peek at the current being pressed on the remote.
PspHprmKeys
Enumeration of the remote keys.
Definition psphprm.h:28
int sceHprmIsRemoteExist(void)
Determines whether the remote is plugged in.
@ PSP_HPRM_FORWARD
Definition psphprm.h:30
@ PSP_HPRM_HOLD
Definition psphprm.h:34
@ PSP_HPRM_BACK
Definition psphprm.h:31
@ PSP_HPRM_VOL_DOWN
Definition psphprm.h:33
@ PSP_HPRM_PLAYPAUSE
Definition psphprm.h:29
@ PSP_HPRM_VOL_UP
Definition psphprm.h:32
float x
Definition psptypes.h:0
uint32_t u32
Definition psptypes.h:41