blindpandas / bookworm

The Universally Accessible document Reader
https://getbookworm.com
Other
123 stars 38 forks source link

Bookworm to work with Media keys #256

Open RuturajL opened 4 months ago

RuturajL commented 4 months ago

Is your feature request related to a problem? Please describe.

Lot of laptops and keyboards these days come with dedicated media keys, not only for volume, but also for play/pause, next/previous etc. It would be amazing if bookworm would recognize these keys, and perform relevent actions while reading books.

Describe the solution you'd like

We need not take away existing keyboard shortcuts, but add extra keyboard shortcuts to perform same things. For example: Previous/next keys can either do previous/next page, or, previous/next paragraph, when bookworm is reading the book through the TTS. Play/pause can obviously do the thing it's made for.

Describe alternatives you've considered

Users can also assign these key functions to touchpad gestures in Windows advance touchpad gestures page if the device uses Microsoft's precision drivers.

Additional context

There might be some users who play some soft music in background and listen to a book at the same time. In this case, There should be a togle to enable this functionality, as some users might prefer to controle just their music, not the bookworm with these media keys.

cary-rowen commented 2 months ago

For Previous/Next do you prefer jumping between paragraphs or chapters?

RuturajL commented 1 month ago

I think users might want to customize what it changes. By default, may be stick to paragraphs, but in settings somewhere, can they add an option saying Media Keys Previous/Next changes: Combo-box: Paragraph or Page.