aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/generate_homebrew_formula.py
diff options
context:
space:
mode:
authorTeddy Wing2019-03-23 14:13:09 +0100
committerTeddy Wing2019-03-23 14:13:09 +0100
commit8aba8891e027dc1aa5d352fb60240e704e5628d8 (patch)
treebbc3e4873f0a14b59e23dc6f09f257d29afb0424 /pkg/generate_homebrew_formula.py
parentf0ca208cd4d347a5273480a21ee05230b855c3e5 (diff)
downloadDomeKey-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