kbd-state: use state tracker for sdl2