mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-04 09:34:17 +01:00
Add definition for VPADSetGyroDirReviseBase
Removed the sudo in ci.yml, this is not required when using a Docker container. Added missing doxygen comments in debug.h.
This commit is contained in:
parent
83ca413027
commit
e86579ae4c
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
- name: Build
|
||||
run: |
|
||||
make -j2
|
||||
sudo -E make install
|
||||
make install
|
||||
|
||||
- name: Build Test
|
||||
run: |
|
||||
|
@ -19,19 +19,23 @@ typedef enum GX2DebugCaptureInterfaceVersion
|
||||
GX2_DEBUG_CAPTURE_INTERFACE_VERSION = 1,
|
||||
} GX2DebugCaptureInterfaceVersion;
|
||||
|
||||
//! Options for \link GX2DebugCaptureStart \endlink.
|
||||
typedef enum GX2DebugCaptureStartFlags
|
||||
{
|
||||
//! When set \link GX2DebugCaptureStart \endlink will call \link GX2DrawDone \endlink before the capture is started.
|
||||
GX2_DEBUG_CAPTURE_START_FLAGS_NONE = 0,
|
||||
|
||||
//! When set GX2DebugCaptureEnd will NOT call GX2DrawDone.
|
||||
//! When set \link GX2DebugCaptureStart \endlink will NOT call \link GX2DrawDone \endlink.
|
||||
GX2_DEBUG_CAPTURE_START_FLAGS_DISABLE_GX2DRAWDONE = 1,
|
||||
} GX2DebugCaptureStartFlags;
|
||||
|
||||
//! Options for \link GX2DebugCaptureEnd \endlink.
|
||||
typedef enum GX2DebugCaptureEndFlags
|
||||
{
|
||||
//! When set \link GX2DebugCaptureEnd \endlink will call \link GX2Flush \endlink before the capture is completed.
|
||||
GX2_DEBUG_CAPTURE_END_FLAGS_NONE = 0,
|
||||
|
||||
//! When set GX2DebugCaptureEnd will NOT call GX2Flush.
|
||||
//! When set \link GX2DebugCaptureEnd \endlink will NOT call \link GX2Flush \endlink.
|
||||
GX2_DEBUG_CAPTURE_END_FLAGS_DISABLE_GX2FLUSH = 1,
|
||||
} GX2DebugCaptureEndFlags;
|
||||
|
||||
@ -108,6 +112,9 @@ _GX2DebugSetCaptureInterface(GX2DebugCaptureInterface *interface);
|
||||
*
|
||||
* \param filename
|
||||
* This is passed as first argument to GX2DebugCaptureInterface.onCaptureStart
|
||||
*
|
||||
* \param flags
|
||||
* A \link GX2DebugCaptureStartFlags \endlink option.
|
||||
*/
|
||||
void
|
||||
GX2DebugCaptureStart(const char *filename,
|
||||
@ -116,6 +123,9 @@ GX2DebugCaptureStart(const char *filename,
|
||||
|
||||
/**
|
||||
* Ends a debug capture.
|
||||
*
|
||||
* \param flags
|
||||
* A \link GX2DebugCaptureEndFlags \endlink option.
|
||||
*/
|
||||
void
|
||||
GX2DebugCaptureEnd(GX2DebugCaptureEndFlags flags);
|
||||
|
@ -598,6 +598,10 @@ VPADSetGyroAngle(VPADChan chan,
|
||||
float ay,
|
||||
float az);
|
||||
|
||||
void
|
||||
VPADSetGyroDirReviseBase(VPADChan chan,
|
||||
VPADDirection *base);
|
||||
|
||||
void
|
||||
VPADSetGyroDirection(VPADChan chan,
|
||||
VPADDirection *dir);
|
||||
|
Loading…
Reference in New Issue
Block a user