Re: ANN: libzzub 0.2.1 (Aldrin related)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Thu, 2007-01-25 at 23:43 +0100, mik wrote:
> i have an azerty keyboard. can that easily be added (by myself)?
> and now waiting for people to code more machines...

in share/aldrin/config.py, there is a dict named "KEYMAPS".

the key of this dictionary is the language code associated with the
keyboard (i assume french/belgian/canadian?). the value is a series of
keyboard characters associated with each note, in the order C, C#, D, E#
and so on. two octaves are listed, separated by a vertical slash ("|").
from the other examples you should be able to deduce how to add a new
configuration.

to make that configuration selectable, see share/aldrin/preferences.py.
there is a dialog class named "KeyboardPanel", containing another
KEYMAPS list, associating the dict codes with readable names.

please let me know whether you get any more trouble.

-- 
Leonard Ritter

-- Freelance Art & Logic
-- http://www.leonard-ritter.com



[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux