summaryrefslogtreecommitdiff
path: root/include/user/ctrl.h
diff options
context:
space:
mode:
authorRinnegatamante2017-07-21 21:15:36 +0200
committerRinnegatamante2017-07-21 21:15:36 +0200
commitb90728fa8e455d6a821bcc6d94e90961074fd1e4 (patch)
tree8d426513377634683f440933566823b0ecf04034 /include/user/ctrl.h
parentAdded SceCompat (diff)
downloadvds-libraries-b90728fa8e455d6a821bcc6d94e90961074fd1e4.tar.gz
Renamed INTERCEPTED to PSBUTTON, added a note for shell privileges request.
Diffstat (limited to 'include/user/ctrl.h')
-rw-r--r--include/user/ctrl.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/user/ctrl.h b/include/user/ctrl.h
index eacb965..f41792a 100644
--- a/include/user/ctrl.h
+++ b/include/user/ctrl.h
@@ -15,7 +15,9 @@ typedef enum SceCtrlErrorCode {
} SceCtrlErrorCode;
/** Enumeration for the digital controller buttons.
- * L1/R1/L3/R3 only can bind using sceCtrlReadBufferPositiveExt2 */
+ * @note - L1/R1/L3/R3 only can bind using sceCtrlReadBufferPositiveExt2
+ * @note - Values bigger than 0x00010000 can be intercepted only with shell privileges
+ */
typedef enum SceCtrlButtons {
SCE_CTRL_SELECT = 0x00000001, //!< Select button.
SCE_CTRL_L3 = 0x00000002, //!< L3 button.
@@ -33,7 +35,7 @@ typedef enum SceCtrlButtons {
SCE_CTRL_CIRCLE = 0x00002000, //!< Circle button.
SCE_CTRL_CROSS = 0x00004000, //!< Cross button.
SCE_CTRL_SQUARE = 0x00008000, //!< Square button.
- SCE_CTRL_INTERCEPTED = 0x00010000, //!< Input not available because intercepted by another application
+ SCE_CTRL_PSBUTTON = 0x00010000, //!< Playstation (Home) button.
SCE_CTRL_HEADPHONE = 0x00080000, //!< Headphone plugged in.
SCE_CTRL_VOLUP = 0x00100000, //!< Volume up button.
SCE_CTRL_VOLDOWN = 0x00200000, //!< Volume down button.