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

Reinstate evdev-based key handling #163

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

Reinstate evdev-based key handling #163

wants to merge 13 commits into from

Conversation

TTWNO
Copy link
Member

@TTWNO TTWNO commented Jan 23, 2025

  • Use generic version of serde_json
  • fmt
  • Cleanup using macro
  • Make mode an exaustive enum
  • Update events struct to work like Command does
  • Spawn new task for input events
  • Update services to handle input events
  • Use new input event handlers
  • Update cargo lock
  • Add input server binary
  • Update cargo lock

@TTWNO
Copy link
Member Author

TTWNO commented Jan 23, 2025

Instructions on testing:

# in Odilia root directory
$ cargo run
# in another terminal, in the input-server/ directory
# your user must be in a group which is allowed to read evdev
$ cargo run

Now press capslock+g to send the "stop speech" command. This should make the TTS say "stop speech, eh!"

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.

1 participant