HurricanGame / Hurrican

Freeware jump and shoot game created by Poke53280, based on the Turrican game series by Manfred Trenz
61 stars 22 forks source link

Fix comparison to use keycode. #27

Closed dulsi closed 2 years ago

dulsi commented 2 years ago

Previously it compared scancodes to keycodes. This caused you to be unable to select 'F' and some other keys.

drfiemost commented 2 years ago

I can reproduce the problem but this one doesn't fix it for me, still unable to configure keys 'F' nor 'X'. Too bad I have no time to debug it now. Are you using SDL2?

dulsi commented 2 years ago

Yes I'm using SDL2.

drfiemost commented 2 years ago

My bad, tested again after a good sleep and it works fine. But it won't compile with SDL1 which we still support, so it requires a fix.

dulsi commented 2 years ago

Works with SDL1 now.