Bug 322298

Summary: Midi support for turn page.
Product: [Applications] okular Reporter: Michales Michaloudes <korgie>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: aacid
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed In:

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 :)