forked from kofal.net/zmk
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:
@@ -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 |........ .
|
||||
|
||||
Reference in New Issue
Block a user