sinai-dev / UniverseLib

A library for making plugins which target IL2CPP and Mono Unity games.
GNU Lesser General Public License v2.1
116 stars 48 forks source link

Additional Mouse buttons #7

Closed SeanLatimer closed 2 years ago

SeanLatimer commented 2 years ago

I was wondering if there is any support planned in the InputManager for additional mouse buttons (2,3,4,5,6 etc) to match the Unity API?

sinai-dev commented 2 years ago

I have no control over LegacyInput, we just pass the int argument to Input.GetMouseButton*. From what I can see InputSystem supports 0, 1, 2, 3 and 4. I'll add support for 2/3/4 to InputSystem.