summaryrefslogtreecommitdiff
path: root/include/kernel/ctrl.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--include/kernel/ctrl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/kernel/ctrl.h b/include/kernel/ctrl.h
index ceab1f4..98060ed 100644
--- a/include/kernel/ctrl.h
+++ b/include/kernel/ctrl.h
@@ -32,9 +32,11 @@ enum SceCtrlPadButtons {
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.
};
/** Enumeration for the controller types. */