diff options
| author | Teddy Wing | 2019-03-23 14:13:09 +0100 |
|---|---|---|
| committer | Teddy Wing | 2019-03-23 14:13:09 +0100 |
| commit | 8aba8891e027dc1aa5d352fb60240e704e5628d8 (patch) | |
| tree | bbc3e4873f0a14b59e23dc6f09f257d29afb0424 /pkg/generate_homebrew_formula.py | |
| parent | f0ca208cd4d347a5273480a21ee05230b855c3e5 (diff) | |
| download | DomeKey-8aba8891e027dc1aa5d352fb60240e704e5628d8.tar.bz2 | |
Extract headphone key listener to `HeadphoneKeyEventWired`
Move the DDHidLib headphone button event listener from `HeadphoneKey` to
`HeadphoneKeyEventWired`. This creates a common interface for both wired
and wireless Bluetooth headphones.
The DDHidLib listener now lives in its own class dedicated to wired
headphones. A new `HeadphoneKeyEventBluetooth` will set up the event
listener for Bluetooth headphones.
Both `HeadphoneKeyEvent_` listeners call a delegate method set up on
`HeadphoneKey` that relays the pressed headphone button.
Diffstat (limited to 'pkg/generate_homebrew_formula.py')
0 files changed, 0 insertions, 0 deletions
