Wintermute Engine Forum

Wintermute Engine => WME Lite => Bugs => Topic started by: lazygames on May 19, 2011, 08:34:44 AM

Title: Bug with KeyCodes
Post by: lazygames on May 19, 2011, 08:34:44 AM
Hi!
There is a bug with keycodes.
Keyboard.KeyCode return this values:

F1: 1073741882
...
F2: 1073741893

A-Z, a-z: 0

Tested on WMELite for Windows, WMELite for MacOs X
Title: Re: Bug with KeyCodes
Post by: Mnemonic on May 19, 2011, 09:19:29 AM
Yes, the key codes are semi-broken at the moment. There needs to be some conversion table to translate SDL keycodes to the ones used by WME (i.e. Windows key codes).