Re: [AD] xkeymap fix

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


>> Btw., is there a reason KEY_MAX is 120, but the highest key is 118?
> 
> A different counting scheme from Italy? :-)

Lol :)

I'll let you know KEY_MAX was already set to be 2 lengths higher than the
last KEY_* constant, before I added the OSX port... Ok if it's 1 since the
0th element is never used though.

>> And what is the purpose of KEY_MODIFIERS ? If some part of the Allegro code
>> assumes only modifier keys are defined after it, something might go wrong
>> with the added OSX keys..
> 
> Angelo was probably not aware of that. Do you think this can affect non-OSX
> ports?

Humm, no I wans't aware of this constant... A quick grep through the sources
leads me to think my KEY_* additions may have modified some behaviours.
Maybe a repositioning of the constants in the list could fix things, but I'm
really guessing here.

-- 
Angelo Mottola
a.mottola@xxxxxxxxxx





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/