Re: [AD] 4.9.10 this weekend |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
2009/5/3 Milan Mimica <milan.mimica@xxxxxxxxxx>:
>
> I tried it and it's not simple at all. Will need to remap the
> translation table from DX -> Allegro to VK ->Allegro.
> And getting the WM_CHAR message is all but trivial. You need to call
> TranslateMessage() inside WM_KEYDOWN handler but you can't know if
> WM_CHAR will be generated, unless you do tricks, and you lose the
> virtual keycode in WM_CHAR... I've got some code code, maybe I'll
> finish it some day.
OK, it's not really finished, but it's comitted :) It works here even
though has some issues and ugly fixes, but still a lot better then the
old driver keyboard. Maybe similar could be done with the mouse.
--
Milan Mimica
http://sparklet.sf.net