[Bf-committers] Ok, please someone tell me. . .why!!!

Alexander Ewering blender at instinctive.de
Mon Dec 6 08:00:28 CET 2004


On Sun, 5 Dec 2004, joeedh wrote:

> Okay I just found the strangest thing in BKE_global.h.  It seems that 
> L_SHIFTKEY = 1, R_SHIFTKEY = 2, and LR_SHIFTLEY is 3.  Yes.  Now.  WHY is 
> there a L_SHIFTKEY and R_SHIFTKEY if LR_SHIFTKEY sets both bits to 1?  What 
> is the point?

Sorry, I think you definitely need to grab a C book ;-)

LR_SHIFTKEY is set to 3 because it will trigger both for L_SHIFTKEY
and R_SHIFTKEY. Very simple.

| alexander ewering              instinctive mediaworks
| ae[@]instinctive[.]de   http://www[.]instinctive[.]de


More information about the Bf-committers mailing list