diff options
Diffstat (limited to 'include/user/ctrl.h')
-rw-r--r-- | include/user/ctrl.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/include/user/ctrl.h b/include/user/ctrl.h index ca95dd4..e250093 100644 --- a/include/user/ctrl.h +++ b/include/user/ctrl.h @@ -15,29 +15,29 @@ enum { /** Enumeration for the digital controller buttons. */ enum { - PSP2_CTRL_SELECT = 0x000001, //!< Select button. - PSP2_CTRL_START = 0x000008, //!< Start button. - PSP2_CTRL_UP = 0x000010, //!< Up D-Pad button. - PSP2_CTRL_RIGHT = 0x000020, //!< Right D-Pad button. - PSP2_CTRL_DOWN = 0x000040, //!< Down D-Pad button. - PSP2_CTRL_LEFT = 0x000080, //!< Left D-Pad button. - PSP2_CTRL_LTRIGGER = 0x000100, //!< Left trigger. - PSP2_CTRL_RTRIGGER = 0x000200, //!< Right trigger. - PSP2_CTRL_TRIANGLE = 0x001000, //!< Triangle button. - PSP2_CTRL_CIRCLE = 0x002000, //!< Circle button. - PSP2_CTRL_CROSS = 0x004000, //!< Cross button. - PSP2_CTRL_SQUARE = 0x008000, //!< Square button. - PSP2_CTRL_ANY = 0x010000 //!< Any input intercepted. + SCE_CTRL_SELECT = 0x000001, //!< Select button. + SCE_CTRL_START = 0x000008, //!< Start button. + SCE_CTRL_UP = 0x000010, //!< Up D-Pad button. + SCE_CTRL_RIGHT = 0x000020, //!< Right D-Pad button. + SCE_CTRL_DOWN = 0x000040, //!< Down D-Pad button. + SCE_CTRL_LEFT = 0x000080, //!< Left D-Pad button. + SCE_CTRL_LTRIGGER = 0x000100, //!< Left trigger. + SCE_CTRL_RTRIGGER = 0x000200, //!< Right trigger. + SCE_CTRL_TRIANGLE = 0x001000, //!< Triangle button. + SCE_CTRL_CIRCLE = 0x002000, //!< Circle button. + SCE_CTRL_CROSS = 0x004000, //!< Cross button. + SCE_CTRL_SQUARE = 0x008000, //!< Square button. + SCE_CTRL_ANY = 0x010000 //!< Any input intercepted. }; /** Controller mode. */ enum { /** Digitial buttons only. */ - PSP2_CTRL_MODE_DIGITAL = 0, + SCE_CTRL_MODE_DIGITAL = 0, /** Digital buttons + Analog support. */ - PSP2_CTRL_MODE_ANALOG, + SCE_CTRL_MODE_ANALOG = 1, /** Same as ::PSP2_CTRL_MODE_ANALOG, but with larger range for analog sticks. */ - PSP2_CTRL_MODE_ANALOG_WIDE + SCE_CTRL_MODE_ANALOG_WIDE = 2 }; /** Returned controller data */ |