Merge branch 'jb38001_volkey_policy' into 'master'
Add input policy related D-Bus constants See merge request !5
This commit is contained in:
@@ -790,4 +790,59 @@
|
||||
|
||||
/*@}*/
|
||||
|
||||
/**
|
||||
* @name Input policy D-Bus methods and signals
|
||||
*/
|
||||
|
||||
/*@{*/
|
||||
|
||||
/** Get current touch screen input policy
|
||||
*
|
||||
* Possible return values are:
|
||||
* - #MCE_INPUT_POLICY_ENABLED
|
||||
* - #MCE_INPUT_POLICY_DISABLED
|
||||
*
|
||||
* @since v1.87.0
|
||||
*
|
||||
* @return input policy as DBUS_TYPE_STRING
|
||||
*/
|
||||
#define MCE_TOUCH_INPUT_POLICY_GET "get_touch_input_policy"
|
||||
|
||||
/** Indication for change of touch screen input policy
|
||||
*
|
||||
* Possible values are:
|
||||
* - #MCE_INPUT_POLICY_ENABLED
|
||||
* - #MCE_INPUT_POLICY_DISABLED
|
||||
*
|
||||
* @since v1.87.0
|
||||
*
|
||||
* @param input policy as DBUS_TYPE_STRING
|
||||
*/
|
||||
#define MCE_TOUCH_INPUT_POLICY_SIG "touch_input_policy_ind"
|
||||
|
||||
/** Get current volume key input policy
|
||||
*
|
||||
* Possible return values are:
|
||||
* - #MCE_INPUT_POLICY_ENABLED
|
||||
* - #MCE_INPUT_POLICY_DISABLED
|
||||
*
|
||||
* @since v1.87.0
|
||||
*
|
||||
* @return input policy as DBUS_TYPE_STRING
|
||||
*/
|
||||
#define MCE_VOLKEY_INPUT_POLICY_GET "get_keypad_input_policy"
|
||||
|
||||
/** Indication for change of volume key input policy
|
||||
*
|
||||
* Possible values are:
|
||||
* - #MCE_INPUT_POLICY_ENABLED
|
||||
* - #MCE_INPUT_POLICY_DISABLED
|
||||
*
|
||||
* @since v1.87.0
|
||||
*
|
||||
* @param input policy as DBUS_TYPE_STRING
|
||||
*/
|
||||
#define MCE_VOLKEY_INPUT_POLICY_SIG "keypad_input_policy_ind"
|
||||
|
||||
/*@}*/
|
||||
#endif /* _MCE_DBUS_NAMES_H_ */
|
||||
|
||||
@@ -322,4 +322,16 @@
|
||||
*/
|
||||
#define MCE_BATTERY_LEVEL_UNKNOWN (-1)
|
||||
|
||||
/** Input events should be processed normally
|
||||
*
|
||||
* @since v1.87.0
|
||||
*/
|
||||
#define MCE_INPUT_POLICY_ENABLED "enabled"
|
||||
|
||||
/** Input events should be ignored
|
||||
*
|
||||
* @since v1.87.0
|
||||
*/
|
||||
#define MCE_INPUT_POLICY_DISABLED "disabled"
|
||||
|
||||
#endif /* _MCE_MODE_NAMES_H_ */
|
||||
|
||||
Reference in New Issue
Block a user