#17 - Make the playback and volume controllable by keyboard.

Merged
guilmour merged 1 commits from n2omatt/Keyboard_Playback_Control into libreflix/master 2 years ago
n2omatt commented 2 years ago

All players have some sort of keyboard control, Libreflix should have this too! This patch makes the playback controllable by the left and right arrow keys and the volume controllable by the up and down keys.

The volumeChange function was rewritten to utilize the changevolumeDelta so we don't have code duplication!

So that's it, I hope that the PR gets accepted, but if anything needs to be changed, please let me know!

[Let's change the world, one smile at time ;D]

All players have some sort of keyboard control, Libreflix should have this too! This patch makes the playback controllable by the left and right arrow keys and the volume controllable by the up and down keys. The volumeChange function was rewritten to utilize the changevolumeDelta so we don't have code duplication! So that's it, I hope that the PR gets accepted, but if anything needs to be changed, please let me know! [Let's change the world, one smile at time ;D]
guilmour commented 2 years ago
Owner

You're awesome, Matt! Thank you for your PR.

You're awesome, Matt! Thank you for your PR.
This pull request has been merged successfully!
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.