[Alsaplayer-devel] Re: suggestions requested on where to patch key shortcuts

Dominique Michel dominique.michel at citycable.ch
Mon Nov 19 19:37:02 GMT 2007


Le Mon, 19 Nov 2007 09:15:49 -0500,
Prof J C Nash <nashjc at ncf.ca> a écrit :

> Recently I got helpful answers on where to find the keyboard shortcuts 
> for the player. These have proved very useful. However, now I need to do 
> some more awkward changes and could use some suggestions of where to look.
> 
> The application is in playing music for English and American dance (like 
> in the Pride and Prejudice films). After software, my other passion. It 
> is very helpful to have the keyboard shortcuts when we are learning the 
> dances and need a quick "cut!" or slowdown. But one of our members is 
> registered blind. She has a bit of sight (and none of us know how, but 
> she is always right in position when dancing), but individual keys are a 
> challenge. I'd like to be able to program some key groups for the major 
> functions e.g., ASDZX for start, space for stop, 0-= to slow, and .,/ 
> for faster. Any ideas where I should be looking, and what may be good 
> approaches? I suspect I should try to provide a subroutine that will 
> abstract all this to allow folk to more easily change things.
> 
> Cheers, JN
> 

Did you try with a multimedia keyboard? they have special keys that can be used
to control any program. It is also special keyboards for blind peoples. They
are looking exactly like another keyboard but have small "pics" in relief on
the keys.

To answer to your question, you can read HOWTO_Use_Multimedia_Keys on the
gentoo wiki: http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys

It is for gentoo and multimedia keys, but the used programs are the same on any
linux distribution and you can assign any key, even the "normal" keys.

In you case, I would write 2 shell scripts, one for assigning the keys for your
blind friend, the other to re-assign them in the normal order.

Cheers,
Dominique



More information about the alsaplayer-devel mailing list