summaryrefslogtreecommitdiff
path: root/include/kernel/ctrl.h
diff options
context:
space:
mode:
authorDavid Nuñez2017-06-21 20:25:24 -0500
committerdevnoname1202017-06-22 03:25:24 +0200
commit30a52440113ccd7b42977ec1e1472b999f72f44d (patch)
treee13b50be44404ab1a1b1d7843821da30a0ddc40c /include/kernel/ctrl.h
parentAdded two more enums buttons! (#194) (diff)
downloadvds-libraries-30a52440113ccd7b42977ec1e1472b999f72f44d.tar.gz
Added two more enums buttons in kernel! (#195)
* Added two more enums buttons! * Fix label of headphone. * Rename by recommendation of devnoname120.
Diffstat (limited to 'include/kernel/ctrl.h')
-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. */