Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change to use asyncio rather than threading #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

whi-tw
Copy link

@whi-tw whi-tw commented Nov 29, 2021

This allows event-driven things to be far more easily driven
(ie. pulsectl)

Also, Rather than defining a source / sync for the mute buttons,
use the current default one - how often do you need to immediately mute
a device that's not in use?

Also, bump python version to 3.10.0 to enable sweet sweet match case statements

@whi-tw whi-tw force-pushed the migrate_to_asyncio branch 4 times, most recently from c4e830c to e21145e Compare December 5, 2021 11:52
This allows event-driven things to be far more easily driven
(ie. pulsectl)

Also, Rather than defining a source / sync for the mute buttons,
use the current default one - how often do you need to immediately mute
a device that's not in use?
@whi-tw whi-tw force-pushed the migrate_to_asyncio branch from e21145e to 42e2451 Compare December 5, 2021 12:06
@liljenstolpe
Copy link

I think both of these changes make sense. I was also thinking of using asyncio for the keylight deck so the buttons can show current state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants