summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjoewu (吳仲振) <joewu@msi.com>2023-01-20 20:17:02 +0300
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2023-01-20 20:29:08 +0300
commit8aaec1177521eed07240ec5ac2bc55b2a1c35b42 (patch)
treedce5a1dce4fff3171c39eeba13e7e73825a1325b /include
parentb08134eb254db56e9ce8170d9b82f0d7a616b6f8 (diff)
downloadlinux-8aaec1177521eed07240ec5ac2bc55b2a1c35b42.tar.xz
Input: cros_ec_keyb - add 3 buttons for monitor function
Add 3 extra buttons: 'brightness up', 'brightness down' and 'screen lock' to support monitor manipulating function. Signed-off-by: Joe Wu <joewu@msi.com> Link: https://lore.kernel.org/r/e23628e2cb464d238eb1c33a9e1e516b@msi.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/platform_data/cros_ec_commands.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/platform_data/cros_ec_commands.h b/include/linux/platform_data/cros_ec_commands.h
index 5744a2d746aa..a2073ed43972 100644
--- a/include/linux/platform_data/cros_ec_commands.h
+++ b/include/linux/platform_data/cros_ec_commands.h
@@ -3471,6 +3471,9 @@ struct ec_response_get_next_event_v1 {
#define EC_MKBP_VOL_UP 1
#define EC_MKBP_VOL_DOWN 2
#define EC_MKBP_RECOVERY 3
+#define EC_MKBP_BRI_UP 4
+#define EC_MKBP_BRI_DOWN 5
+#define EC_MKBP_SCREEN_LOCK 6
/* Switches */
#define EC_MKBP_LID_OPEN 0