RE: [GD-Windows] ASCII to key name
Brought to you by:
vexxed72
From: Daniel V. <vo...@ep...> - 2002-09-03 01:21:10
|
The ';' not getting converted correctly was a bug in my code though I still have the problem of "cursor up" being reported as "UP" if I do GetKeyNameText( lParam, ... ) and "NUM 8" if I do GetKeyNameText( (DWORD(MapVirtualKey( wParam, 0 ))) << 16, ... ) from within WM_KEYDOWN. -- Daniel, Epic Games Inc. > -----Original Message----- > From: gam...@li... > [mailto:gam...@li...]On Behalf Of > Daniel Vogel > Sent: Monday, September 02, 2002 9:04 PM > To: gam...@li... > Subject: [GD-Windows] ASCII to key name > > > Does anyone know how to convert from ASCII to something that works with > GetKeyNameText? > > I already tried various VkKeyScan, OemKeyScan, MapVirtualKey combinations > but they all fail with e.g. cursor up or ';'. > > -- Daniel, Epic Games Inc. > > > > ------------------------------------------------------- > This sf.net email is sponsored by: OSDN - Tired of that same old > cell phone? Get a new here for FREE! > https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390 > _______________________________________________ > Gamedevlists-windows mailing list > Gam...@li... > https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_id=555 > |