fixed problems with key handling on osx. Closes #45

This commit is contained in:
oy 2010-09-22 00:40:35 +02:00
parent 55434a2a57
commit 27e6fa3ad7

View file

@ -150,6 +150,7 @@ void CInput::Update()
{
// handle keys
case SDL_KEYDOWN:
if(Event.key.keysym.unicode < 255) // ignore_convention
AddEvent(Event.key.keysym.unicode, 0, 0); // ignore_convention
Key = Event.key.keysym.sym; // ignore_convention
break;