pspctrl.h: Document PSP_CTRL_MODE_DIGITAL behavior

This commit is contained in:
Siddharth Singh
2021-11-03 23:28:06 +05:30
committed by GitHub
parent 1d32cbfe04
commit 80bf720df2

View File

@@ -81,7 +81,7 @@ enum PspCtrlButtons
/** Controller mode. */ /** Controller mode. */
enum PspCtrlMode enum PspCtrlMode
{ {
/* Digitial. */ /* Digital. */
PSP_CTRL_MODE_DIGITAL = 0, PSP_CTRL_MODE_DIGITAL = 0,
/* Analog. */ /* Analog. */
PSP_CTRL_MODE_ANALOG PSP_CTRL_MODE_ANALOG
@@ -164,7 +164,8 @@ int sceCtrlGetSamplingCycle(int *pcycle);
/** /**
* Set the controller mode. * Set the controller mode.
* *
* @param mode - One of ::PspCtrlMode. * @param mode - One of ::PspCtrlMode. If this is PSP_CTRL_MODE_DIGITAL, no data about the analog stick
* will be present in the SceCtrlData struct read by SceCtrlReadBuffer.
* *
* @return The previous mode. * @return The previous mode.
*/ */