Perhaps this SDL tutorial "Getting String Input" might help?
http://www.lazyfoo.net/SDL_tutorials/lesson23/index.php
It isn't Pascal, but should be easy to get info from
cheers,
Paul
Perhaps this SDL tutorial "Getting String Input" might help?
http://www.lazyfoo.net/SDL_tutorials/lesson23/index.php
It isn't Pascal, but should be easy to get info from
cheers,
Paul
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
Thanks paul, looked through and sure enough a solution for sdl to handle it automatically which is indeed very nice as it means I dont have to re-write my event handlers.
cheers for that great find.
I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.
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.
Good to know
cheers,
Paul
Games:
Seafox
Pages:
Syntax Error Software
itch.io page
Online Chess
http://gameknot.com/#paul_nicholls
Bookmarks