summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Nuñez2017-06-21 19:51:31 -0500
committerdevnoname1202017-06-22 02:51:31 +0200
commit1badb6fffbeae493e68fff959f172266168f3e79 (patch)
treec4ec3fb676048f4af71b7c3dc41c92425a1d6788 /include
parentFix SceUsbStorVstorType (diff)
downloadvds-libraries-1badb6fffbeae493e68fff959f172266168f3e79.tar.gz
Added two more enums buttons! (#194)
* Added two more enums buttons! * Fix headphone label. * Rename by recommendation of devnoname120.
Diffstat (limited to 'include')
-rw-r--r--include/user/ctrl.h4
1 files changed, 3 insertions, 1 deletions
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. */