← Back to team overview

jessyink-team team mailing list archive

custom key bindings

 

Dear all,

I just pushed a new branch for key bindings to launchpad
(https://code.launchpad.net/~jessyink-team/jessyink/custom-bindings). In
this branch I prepared the ground for integrating the custom key binding
feature. There is also a wiki page that goes with it
(http://code.google.com/p/jessyink/wiki/KeyAndMouseBindings) and which I
intend to turn into a documentation page once the feature is
implemented. 

So far, I only made the changes I thought were required under the hood.
I introduced a third mode (drawing), created key binding dictionaries
(one for char codes and one for key codes for each mode) and separated
the mouse event handling functions to assign them on a per mode basis as
well. As you will see, I continued the trend to prefix function names by
the mode, which I guess has been started by Egor. I think in this way it
shows how the code base can be split up into different modules at some
point.

Anyways, I'll keep working on this branch and add an extension for
Inkscape to define the custom key bindings.

Have a nice weekend,
Hannes