mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-04 09:08:30 +00:00
Merge pull request #57 from xyzshantaram/patch-1
pspctrl.h: Document PSP_CTRL_MODE_DIGITAL behavior
This commit is contained in:
@@ -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.
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user