rivafarabi / deckboard

Control your PC with your phone in easy way possible. News and updates on @DeckboardApp.
https://deckboard.app/
562 stars 30 forks source link

[FEATURE REQUEST] "swipeable" buttons #832

Open Epacik opened 2 years ago

Epacik commented 2 years ago

Is your feature request related to a problem? Please describe. I am not a fan of for example changing volume using buttons.

Describe the solution you'd like I would like to have some sort of pseudo-slider on a deckboard. It could be useful with for example volume control, where instead of tapping “volume up” key I could swipe on a button up or down. For it to be more useful than simple tapping the change in volume should be proportional to distance someone swiped. I don't know if that is feasible, but I think it won't be that easy to implement

bean5 commented 2 years ago

My guess is that this is the very sort of thing that would make a great extension. The hard part is getting the operating system to report the current volume. Without that, you can't really show current state of volume. So the best option would be a dial (not a slider). But how do you spin a dial on a screen (easily)?

Epacik commented 2 years ago

On Windows you can just use CoreAudio API, to get and change master volume of an audio device. On Linux it would be a bit more tricky, since it would probably require separate implementation for different sound servers.

But how do you spin a dial on a screen (easily)?

We could just do the same thing that DAW's have been doing for years. You render a dial, but then, to "rotate it" you slide it up and down.

Also, the visual indication of current volume would be a nice to have for me, not exactly a requirement