[Bf-committers] I've made a custom hotkey system for Blender!
joeedh
joeeagar at prodigy.net
Mon Dec 6 10:29:49 CET 2004
Ton Roosendaal wrote:
> Hi,
>
> The plan is to make the Blender event system itself smarter, based on
> dynamically added event handlers in a queue for each window. Once
> such a system is in place, the full toolset in Blender can be in fact
> become mappable. Python is being involved in such a restructure too,
> we'll have to check on if that would be a good format for a hotkey
> mapping file.
>
> What you also should note is the event queues now are switch()-case
> based, which works with constants only. Turning that into dynamic
> vars will mean a rewrite of all queues into if()-else code.
Redo it all in if()-else code (or have use a switch with a function that
returns "action" event constants), yes, but like you said in a more
dynamic, smarter way. I think that storing the keymap in the .B.blend
is a good idea, IMHO, and right now I have a function system to do
that, and also the UI for it. Perhaps whoever is doing the event system
could take a look at my code. . .maybe use part of it. Or maybe just
use one idea and write their own system, lol.
joeedh
More information about the Bf-committers
mailing list