summaryrefslogtreecommitdiff
path: root/include/keyboard_mkbp.h
diff options
context:
space:
mode:
authorBoris Mittelberg <bmbm@google.com>2021-03-30 19:41:07 +0000
committerCommit Bot <commit-bot@chromium.org>2021-05-10 22:34:45 +0000
commit3a2f77758104a581ade2ecb406b8d099eada6a90 (patch)
treee1e958329a24189d8ee5fe0120632e4b03682a94 /include/keyboard_mkbp.h
parentddf11157cd952a6df79aefc06c456eea426b6f10 (diff)
downloadchrome-ec-3a2f77758104a581ade2ecb406b8d099eada6a90.tar.gz
mkbp: EC buttons and switches via MKBP
Allowing EC buttons and switches to be signaled via MKBP protocol, using CONFIG_MKBP_INPUT_DEVICES. Default behaviour is unchanged. BUG=b:170966461 BRANCH=main,firmware-dedede-13606.B,firmware-volteer-13672.B-main TEST=None Signed-off-by: Boris Mittelberg <bmbm@google.com> Cq-Depend: chromium:2824044 Change-Id: Ib96f98ecb3717a8ee8963be69fb7d7eb72e6d132 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2796382
Diffstat (limited to 'include/keyboard_mkbp.h')
-rw-r--r--include/keyboard_mkbp.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/keyboard_mkbp.h b/include/keyboard_mkbp.h
index 41c7357259..3d153d63b5 100644
--- a/include/keyboard_mkbp.h
+++ b/include/keyboard_mkbp.h
@@ -27,22 +27,4 @@ void keyboard_send_battery_key(void);
static inline void keyboard_send_battery_key(void) { }
#endif
-/**
- * Update the state of the switches.
- *
- * @param sw The switch that changed.
- * @param state The state of the switch.
- */
-void mkbp_update_switches(uint32_t sw, int state);
-
-/**
- * Retrieve state of buttons [Power, Volume up/down, etc]
- */
-uint32_t mkbp_get_button_state(void);
-
-/**
- * Retrieve state of switches [Lid open/closed, tablet mode switch, etc]
- */
-uint32_t mkbp_get_switch_state(void);
-
#endif /* __CROS_EC_KEYBOARD_MKBP_H */