Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Bug with KeyCodes  (Read 7875 times)

0 Members and 1 Guest are viewing this topic.

lazygames

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 3
    • View Profile
    • LAZY GAMES
Bug with KeyCodes
« 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
« Last Edit: May 19, 2011, 08:37:23 AM by lazygames »
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Bug with KeyCodes
« Reply #1 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).
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.019 seconds with 22 queries.