Jay*_*Jay 13 c c++ cross-platform input
有没有人对一个好的跨平台输入库有任何建议?我想得到:
* at least keyboard and mouse input
* on at least the big three operating systems
* Small/fast
* C or C++
* permissive licensing gpl2/mit/free/etc.
Run Code Online (Sandbox Code Playgroud)
到目前为止我见过:
* OIS (used in Ogre) http://sourceforge.net/projects/wgois/
* SDL (used everywhere it seems, might be a clue) http://www.libsdl.org/index.php
* Allegro http://www.talula.demon.co.uk/allegro/readme.html
Run Code Online (Sandbox Code Playgroud)
有没有人使用过这些,或者知道其他可能有用的东西?
谢谢
我最终为此使用了 Qt 框架。
它非常完整,支持良好,具有很多功能,并且现在拥有更好的许可。它可以与 Ogre3d 库一起使用,所以它对我来说效果很好。我还发现《英雄之城》MMO 游戏的用户界面也使用它。