Neko Project II and PX68K Keyboard Options Support?

Would it be possible to implement the options that DOS Box have where you can assign any keyboard key to a game pad button to these cores? I know hotkeys work in-game but I’m not sure how to make a keyboard work for regular use in-game. Not even the virtual keyboard works and some games need a certain key pressed before you can even start a game or to play the game (Night Slave on npII and 177 on 68k being an example).