Re: [AD] keyconf

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


> So, if I understood correctly, wouldn't what you propose actually be a step
> backward ? It wouldn't work as well as now, and we would have to start from
> scratch anyway for the non-dinput driver...
> 

Yes, it would be a regression. Currently, we do our own mapping in
pckeys.c, and that has dead-keys according to the various .cfg files.
The Right Way(TM) would be to have windows give us what symbol a key
should produce, without any .cfg files. But, as it is, DInput doesn't
provide that info complete, at least not AFAICS, it misses dead keys
support. So now, either we get a "proper" keyboard driver, with no
deadkeys, or the hackish pckeys.c thing which requires lots of .cfg
file which will never exactly match the real keyboard layout of
windows - but which support dead keys.

The non-dinput driver would return dead-keys. In fact, it would return
the exact same symbols for a keypress you get e.g. in Word. So that
would be perfect.




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