From 1badb6fffbeae493e68fff959f172266168f3e79 Mon Sep 17 00:00:00 2001 From: David Nuñez Date: Wed, 21 Jun 2017 19:51:31 -0500 Subject: Added two more enums buttons! (#194) * Added two more enums buttons! * Fix headphone label. * Rename by recommendation of devnoname120. --- include/user/ctrl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/user/ctrl.h b/include/user/ctrl.h index 38a0d8a..637f2fd 100644 --- a/include/user/ctrl.h +++ b/include/user/ctrl.h @@ -33,9 +33,11 @@ typedef enum SceCtrlButtons { SCE_CTRL_CIRCLE = 0x002000, //!< Circle button. SCE_CTRL_CROSS = 0x004000, //!< Cross button. SCE_CTRL_SQUARE = 0x008000, //!< Square button. + SCE_CTRL_HEADPHONE = 0x080000, //!< Headphone plugged in. SCE_CTRL_INTERCEPTED = 0x010000, //!< Input not available because intercepted by another application SCE_CTRL_VOLUP = 0x100000, //!< Volume up button. - SCE_CTRL_VOLDOWN = 0x200000 //!< Volume down button. + SCE_CTRL_VOLDOWN = 0x200000, //!< Volume down button. + SCE_CTRL_POWER = 0x40000000 //!< Power button. } SceCtrlButtons; /** Enumeration for the controller types. */ -- cgit v1.2.3