Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Bug with KeyCodes  (Read 2015 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: 39
  • Offline Offline
  • Gender: Male
  • Posts: 5666
    • 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.143 seconds with 18 queries.