I’m trying to port BlockOut2
using the source tarball and patches debian provides.
The game finally builds fine with minimal fixes and I can even play a game, but SDL key mapping for cursor keys (up, down, left, right) doesn’t match my keyboard (keypad keys work OK) and this prevents me from using any menus (no options, no start level, …).
In details:
into /boot/system/develop/headers/SDL/SDL_keysim.h I see cursor keys are mapped to codes 273, 274, 275, 276, instead from my keyboard the game receives codes 28, 29, 30, 31 (stuffed code with lots of printf to see this).
Is my keyboard not working properly? I’m building and testing the game into a VM.
Edit: keypad keys only work when in digit mode (NumLock enabled) because they have mismatched codes as well.