> Perhaps the right way to do this would be something like > > GetKeyNameTextA(((i & 0x7f) << 16) | ((i & 0x80) << 17), > ddoi.tszName, sizeof(ddoi.tszName));
This works fine... Except that it generates a lot of warnings like that : fixme:keyboard:X11DRV_GetKeyNameText (01750000,0x4067fee8,260): unsupported key, vkey=0000, ansi=0000 So I wonder if I will submit the patch or not.. Is there a way to 'enumerate' the keys present on the keyboard ? Lionel -- Lionel Ulmer - http://www.bbrox.org/