[Bf-committers] I've made a custom hotkey system for Blender!

joeedh joeeagar at prodigy.net
Mon Dec 6 07:45:24 CET 2004


joeedh wrote:

> A char is one byte, that's 8 bits, isn't it?   *8* modifyer keys? I 
> doubt that that'll ever happen.  And G.qual is an unsigned short, as I 
> knew when I began coding this.  All event codes are unsigned shorts.  
> Hm, are unsigned chars 7 bits?  Still, I doubt we'll ever go past 5.

And more stupid stuff. . . :(

Right now each modifyer is stored as 2 bits, except for the Apple 
command key.  I personally think it should be 1 bit per modifyer, see my 
previous email about that.

joeedh



More information about the Bf-committers mailing list