thanks but this does not work for all cases. I'm using input mapping so that this game will work on windows pc, android, and linux and can use an external controller so when setting up using the key mapping menu. There is no equivalent
as far as I know. There is only a method called
But I dont know any ways to intercept it. So using this method will make the script really long.