跨平台的键盘/鼠标输入推荐 [英] cross platform keyboard/mouse input recommendation
本文介绍了跨平台的键盘/鼠标输入推荐的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有人有一个良好的跨平台输入库有什么建议?
我想获得:
Does anyone have any suggestions for a good cross platform input library? I'd like to get:
* 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.
到目前为止,我已经看到了:
So far I've seen:
* 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
有没有人使用任何这些,或知道其他什么东西,可能是很好的?
Has any one used any of these, or know of something else that might be good?
感谢
推荐答案
我最终使用Qt框架这一点。
I ended up using the Qt framework for this.
这是非常完整的,很好的支持,有很多的功能,而现在具有更好的牌。这是可能的与OGRE3D库使用它,它的工作很适合我。我还发现,它正在使用的城市英雄MMO为他们的用户界面。
It's very complete, well supported, has a lot of features, and has better licensing now. It was possible to use it with the Ogre3d library so it worked out well for me. I also found that it's being used by the City of Heroes MMO for their user interface.
这篇关于跨平台的键盘/鼠标输入推荐的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文