Wintermute Engine > Bugs

Bug with KeyCodes

(1/1)

lazygames:
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

Mnemonic:
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).

Navigation

[0] Message Index

Go to full version