Results 1 to 10 of 12

Thread: Sdl/OpenGl Keyboard management

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    Location
    UK (England, the bigger bit)
    Posts
    933
    Blog Entries
    45
    Just for future reference let me say that the solution for this is to use SdlEvent^.Key.KeySym.Unicode rather then SdlEvent^.Key.KeySym.Sym with Sdl_EnableUnicode(1) and then using chr() and ord() as required to get special characters, upper-case, lower-case and etc...

    End of line.
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

  2. #2
    Good to know

    cheers,
    Paul

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •