feat(pointing): Release pressed keys on disconnect (#3204)

Match the behavior for key press release on split peripheral disconnect,
and track pressed input keys to release them as needed on disconnect.
This commit is contained in:
Pete Johanson
2026-01-14 11:17:43 -07:00
committed by GitHub
parent 88db5f34fe
commit 24487bd974
7 changed files with 82 additions and 3 deletions

View File

@@ -24,3 +24,12 @@ profile 0 <dbg> ble_central: notify_func: payload
profile 0 00 64 00 64 00 00 00 00 00 |.d.d.... .
profile 0 <dbg> ble_central: notify_func: payload
profile 0 00 28 00 32 00 00 00 00 00 |.(.2.... .
mouse button press: Button 1 count 1
mouse button press: Mouse buttons set to 0x02
profile 0 <dbg> ble_central: notify_func: payload
profile 0 02 00 00 00 00 00 00 00 00 |........ .
mouse button release: Button 1 count: 0
mouse button release: Button 1 released
mouse button release: Mouse buttons set to 0x00
profile 0 <dbg> ble_central: notify_func: payload
profile 0 00 00 00 00 00 00 00 00 00 |........ .