[Bf-committers] Ok, please someone tell me. . .why!!!
joeedh
joeeagar at prodigy.net
Mon Dec 6 08:07:06 CET 2004
Alexander Ewering wrote:
>
> 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.
Yes. So WHY IS THERE NOT 1 BIT FOR SHIFTKEY! L_SHIFTKEY is never
triggered without R_SHIFTKEY.
joeedh
More information about the Bf-committers
mailing list