[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Denemo-devel] Merging Keybindings
From: |
Richard Shann |
Subject: |
[Denemo-devel] Merging Keybindings |
Date: |
Sat, 20 Feb 2010 17:45:33 +0000 |
I have started work on making it possible to merge keybindings. The
first application would be to make the system keybindings load
separately from the commands, since often people will want the same set
of commands but different keybindings (e.g. for various keyboards, or
for type of work - composition, transcription, education).
There is good scope here - e.g. for pushing whole keymaps during a
script, but that is for later.
At the moment
(d-LoadKeybindings "path/to/xml/file")
will load keybindings from the file my test case is a file containing
<?xml version="1.0"?>
<Denemo>
<merge>
<title>A Denemo Keymap</title>
<author>AT, JRR, RTS</author>
<map>
<row>
<action>ClosingBarline</action>
<bind>Left</bind>
<tooltip>Inserts a closing barline (a double bar with last one
thicker).</tooltip>
</row>
</map>
</merge>
</Denemo>
I don't know what behavior would be for other content:)
The <merge> block is critical or should be!
Richard
- [Denemo-devel] Merging Keybindings,
Richard Shann <=