Symptoms: NSWE buttons and scrolling keys weren't working.
Code that checks which NSWE button pressed was faulty. Input polling was limited to mouse movements and not clicking. This caused scrolling function to not be called when clicking.
Keys weren't working because function that scrolls map was returning before actually checking keys.
Working keys made map jump because time elapsed calculation was not limited.
Map can be scrolled with cursor or numeric keypad keys.
Symptoms: NSWE buttons and scrolling keys weren't working.
Code that checks which NSWE button pressed was faulty. Input polling was limited to mouse movements and not clicking. This caused scrolling function to not be called when clicking.
Keys weren't working because function that scrolls map was returning before actually checking keys. Working keys made map jump because time elapsed calculation was not limited.
Map can be scrolled with cursor or numeric keypad keys.