Something like in Unity game engine.
I have successfully created Mouse functions, and it works very well passing 0,1,2 for left right middle mouse button. But keyboard has many, many buttons here.
So my question is, do I have to make function with all keyboard if statements? Or is there some simple trick how to achieve that? Thanks :)