Skip to content

Commit

Permalink
Add more VPAD definitions
Browse files Browse the repository at this point in the history
* VPADGetGyroDirReviseParam
* VPADSetGyroDirReviseParam
* VPADStartGyroMagRevise
* VPADStopGyroMagRevise
  • Loading branch information
Crayon2000 authored and exjam committed Sep 21, 2020
1 parent 6eb7090 commit ed3c03e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions include/vpad/input.h
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,10 @@ VPADSetRStickClampThreshold(VPADChan chan,
int32_t max,
int32_t min);

void
VPADGetGyroDirReviseParam(VPADChan chan,
float *param);

void
VPADGetGyroZeroDriftMode(VPADChan chan,
VPADGyroZeroDriftMode *mode);
Expand Down Expand Up @@ -615,6 +619,10 @@ void
VPADSetGyroDirReviseBase(VPADChan chan,
VPADDirection *base);

void
VPADSetGyroDirReviseParam(VPADChan chan,
float param);

void
VPADSetGyroDirection(VPADChan chan,
VPADDirection *dir);
Expand Down Expand Up @@ -677,6 +685,12 @@ VPADInitGyroDirReviseParam(VPADChan chan);
void
VPADInitGyroAccReviseParam(VPADChan chan);

void
VPADStartGyroMagRevise(VPADChan chan);

void
VPADStopGyroMagRevise(VPADChan chan);

/**
* Initializes the zero drift mode on the desired Gamepad.
*
Expand Down

0 comments on commit ed3c03e

Please sign in to comment.