Bug 322298 - Midi support for turn page.
Summary: Midi support for turn page.
Status: RESOLVED NOT A BUG
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-12 22:08 UTC by Michales Michaloudes
Modified: 2013-07-15 21:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michales Michaloudes 2013-07-12 22:08:42 UTC
As pianist I found very handy to turn pages via midi (foot controller / breath controller - hands free).

I referring to midi cc messages (connection via alsa or jack-audio-connection-kit or osc [open sound control]).

Turn page can respond to user-defined 'midi cc' values. I suggest for defaults cc 16 for next page and 17 for previous page. (see p. 6 http://www.midi.org/techspecs/midi_chart-v2.pdf )

Midi data usually (or accidentally by the player) are continuous, so the midi data stream must be evaluated. You can simulate midi data cc's with programs 'vmpk' and 'gmidimonitor'. You can connect the midi stream between applications with cli 'aconnect' or via GUI with 'qjackctl'.

(excuse my English)
Comment 1 Christoph Feck 2013-07-13 15:02:11 UTC
I do not think this is Okular-specific. There could be a software/driver generating regular XI input events from this devices, so that all applications could set up shortcuts using this device.
Comment 2 Albert Astals Cid 2013-07-15 12:56:35 UTC
Agreed with Christoph, hacking this support directly into Okular doesn't make any sense, this should be a system level service/component/app
Comment 3 Michales Michaloudes 2013-07-15 21:59:09 UTC
I was expecting this answer. Fair enough. Thanks for the time to answer this :)