Hi! I'm aware of this site: https://www.toptal.com/developers/keycode to get the key code for the button pressed. I am using this to write code like this to map keys:
Input.keyMapper[17] = "swapskillleft"; // L1
Input.keyMapper[18] = "swapskillright"; // R1
etc...
When using my PS5 controller, it seems my R2 is mapped to left click, and my L2 is mapped to right click. How would I Input.keyMapper for Left and Right click? When I used the website above, it won't register the clicks.
Thank you!
Input.keyMapper[17] = "swapskillleft"; // L1
Input.keyMapper[18] = "swapskillright"; // R1
etc...
When using my PS5 controller, it seems my R2 is mapped to left click, and my L2 is mapped to right click. How would I Input.keyMapper for Left and Right click? When I used the website above, it won't register the clicks.
Thank you!