What should I use to handle input? I am wanting to use OpenGL so that my games are cross platform. DirectX provides input libraries, and OpenGL does not. Because my games need to be cross platform, I cannot use DirectX's libraries. What should I do, or what is the common solution to this type of problem?
closed as off-topic by Byte56♦ Nov 7 '13 at 23:34
This question appears to be off-topic. The users who voted to close gave this specific reason:
- "Questions that are about "which tech to use" are outside the scope of the site. For more information, see this meta post" – Byte56
DirectInput is quite deprecated, as far as I know, and very rarely used. If you're using OGL directly and not through any abstraction, then you will have to go to the operating system API to collect input, or use an abstracting library that has already done this work like SDL, SFML and more.