Need a way to know all pressed key at the moment
I must, for a project, make a way to have an options menu to change keybind but to not have a huge pack of line for each case, I intend to make something that detect every key pressed at the frame, filter only the one assigned to an action, and then apply the action, for that I use a dict that keep each action and their assigned key.

The last project I did this I used input_key but since it was removed. Is there a way to do it with pyxel only or should I install another library to do the trick ?