vitasdk
Documentation of the vitasdk
gps.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2_GPS_H_
8 #define _PSP2_GPS_H_
9 
10 #include <psp2/types.h>
11 #include <psp2/rtc.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 // missing structs
18 typedef struct SceGpsDeviceInfo SceGpsDeviceInfo;
21 typedef struct SceGpsStatus SceGpsStatus;
22 
23 int _sceGpsClose(void);
27 int _sceGpsIoctl(SceUInt32 ioctl_command, SceVoid *arg, SceSize arg_size, SceSize *a4);
28 int _sceGpsIsDevice(void);
29 int _sceGpsOpen(SceUID cbid);
31 int _sceGpsSelectDevice(SceUInt32 device_type);
32 int _sceGpsStart(unsigned int mode);
33 int _sceGpsStop(void);
34 
35 #ifdef __cplusplus
36 }
37 #endif
38 
39 #endif /* _PSP2_GPS_H_ */
int _sceGpsResumeCallback(void)
int _sceGpsOpen(SceUID cbid)
int _sceGpsIoctl(SceUInt32 ioctl_command, SceVoid *arg, SceSize arg_size, SceSize *a4)
struct SceGpsSatelliteData SceGpsSatelliteData
Definition: gps.h:19
int _sceGpsGetData(SceGpsPositionData *pos, SceGpsSatelliteData *sat)
struct SceGpsPositionData SceGpsPositionData
Definition: gps.h:20
int _sceGpsStop(void)
struct SceGpsStatus SceGpsStatus
Definition: gps.h:21
int _sceGpsIsDevice(void)
int _sceGpsClose(void)
int _sceGpsSelectDevice(SceUInt32 device_type)
int _sceGpsStart(unsigned int mode)
struct SceGpsDeviceInfo SceGpsDeviceInfo
Definition: gps.h:18
int _sceGpsGetDeviceInfo(SceGpsDeviceInfo *dev_info)
int _sceGpsGetState(SceGpsStatus *state)
void SceVoid
Definition: types.h:80
unsigned int SceSize
Definition: types.h:56
int SceUID
UIDs are used to describe many different kernel objects.
Definition: types.h:90
uint32_t SceUInt32
Definition: types.h:45