Hello!
I am creating a bot that will work on PS4 Remote Play. I need to simulate a key press on a gamepad.
With reWASD, I remapped keyboard keys to gamepad keys. For example 'space' = 'X'. But I can't press 'X' in Python because pressing 'space' is simulated.
Perhaps in the code I should use not 'space', but 'X'... I do not know how to do it. Maybe there are some code names for the gamepad keys so that Python would understand them?
I am creating a bot that will work on PS4 Remote Play. I need to simulate a key press on a gamepad.
With reWASD, I remapped keyboard keys to gamepad keys. For example 'space' = 'X'. But I can't press 'X' in Python because pressing 'space' is simulated.
Perhaps in the code I should use not 'space', but 'X'... I do not know how to do it. Maybe there are some code names for the gamepad keys so that Python would understand them?
Comment