From 319f40e0c999e936d982bda2b900d8eb5a8ec91b Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 24 Sep 2018 11:48:20 +0200 Subject: HeadphoneKey: Get switching to mode working * Update to latest dome-key-map, which handles in-mode internally using a `State` struct * Make a `State *` ivar to store the current dome-key-map state, and let it do the work of mode handling Currently doesn't handle exiting a mode, only entering one. But that last part actually does finally work now, yay! Still requires cleanup to get rid of the old `in_mode` handling. --- lib/dome-key-map | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/dome-key-map b/lib/dome-key-map index ce1eca3..882dfbe 160000 --- a/lib/dome-key-map +++ b/lib/dome-key-map @@ -1 +1 @@ -Subproject commit ce1eca32e2249a72692c6eb01052361d98af29c3 +Subproject commit 882dfbe6f0aad091613839841d2f54334e37b32e -- cgit v1.2.3