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

Feature Request: Starting / adjusting a timer from command line, or triggering vibration externally. #202

Closed
gbdlin opened this issue Sep 19, 2023 · 2 comments · Fixed by #211
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@gbdlin
Copy link

gbdlin commented Sep 19, 2023

Is your feature request related to a problem? Please describe.
Currently there is no way to adjust or start/stop a timer externally. There is no way either to trigger a vibration. In certain situations it'd be useful to start the timer automatically when for example you open some software. It is also useful to trigger the vibration event externally.

Describe the solution you'd like
There should be a way to at least trigger a vibration externally, so for example some notification may end up as a vibration alert, or there would be ability to create an external timer software. Ideally, there should be a way to set up timers inside the software as well from the command line or any API.

Describe alternatives you've considered
No workarounds really exist.

@jahnf
Copy link
Owner

jahnf commented Sep 20, 2023

Hello thank you for the request. Sound like a good idea. And actually quiet straightforward to implement (in comparison to all the issues with Wayland... :) )

@jahnf jahnf self-assigned this Sep 20, 2023
@jahnf jahnf added the enhancement New feature or request label Sep 20, 2023
@jahnf jahnf added this to the v1.0 milestone Sep 20, 2023
@jahnf jahnf modified the milestones: v1.0, v0.10 Oct 12, 2023
@jahnf jahnf linked a pull request Oct 17, 2023 that will close this issue
@jahnf
Copy link
Owner

jahnf commented Oct 17, 2023

  • Device vibrate command via command line (feat: add command line vibrate command #211)
    projecteur -c vibrate or projecteur -c vibrate=I,L where I=intensity from 0...255 (default=128)
    and L=length 0..10 (default=0)
  • set/adjust timers via command line (for a future version 1.0)
  • start a specified timer via button mapping (for a future version 1.0)

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

Successfully merging a pull request may close this issue.

2 participants