I will port this iteratively and care about this later. I have a lot of work to do and greater concerns in the meantime. I have to render the damn thing myself after all.
the only things you can count on existing are if a key is pressed (and even that can be more or less ugly depending on the backend), if you want events write them yourself, if you want repeat key states, write them yourself