How CEGUI detect/manage input devices ?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

aymen
Not too shy to talk
Not too shy to talk
Posts: 29
Joined: Wed Apr 01, 2009 13:55

How CEGUI detect/manage input devices ?

Postby aymen » Mon Jun 22, 2009 10:08

how cegui detect input devices? bcz on my embedded system based on linux, mouse is detected in /dev/input but mouse dont move in CEGUI
or what if i want to add another kind of input like a Wiimote ? how to integrate it in Cegui??

Thank you for your help!!

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Re: How CEGUI detect/manage input devices ?

Postby Jamarr » Mon Jun 22, 2009 14:27

You really need to read through the tutorials, check the documentation, or do a search on the forums before posting a question. These sources of information exist so that you do not waste other peoples time with questions that have already been answered.

In your case, the Input tutorial would be sufficient. You really need to take the time to figure things out for yourself, especially overly simple questions like this; posts like these make you look selfish and lazy. Have some respect for the community.

Normally people will not even bother answering these questions since you obviously did not spend any time looking for the answer yourself.
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!

aymen
Not too shy to talk
Not too shy to talk
Posts: 29
Joined: Wed Apr 01, 2009 13:55

Re: How CEGUI detect/manage input devices ?

Postby aymen » Mon Jun 22, 2009 16:57

Thanks a lot for your elegant answer sir :)

if I've asked such question, is bcz none of tutorials answered it!! and im not soo stupid to ask before looking for some documentation Mr Jamarr!! what I'm looking for is not how to use Cegui input events as you thought, bcz u didnt even read well the question, but how cegui works internally to detect devices..what if i dont want to use mouse and want to get thru another /dev/input device? maybe I have to develop a new abstraction layer to support such devices??
embedded systems are a bit different from pc so please Mr, next time unless u understand well the question, you can leave a postive comment or a hint or u make ur way away from the post as u are not obliged to answer!! I think Crazy Eddie got much more stupid questions than this one and never said what u said!!! so learn how share knowledge friendly or just shut up!!

Thank You

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Re: How CEGUI detect/manage input devices ?

Postby Jamarr » Mon Jun 22, 2009 18:05

If you had actually read the documentation that I pointed out for you, you would realize that CEGUI does not "detect input devices"; it does not try to detect /any/ devices. The fact that you are asking this leads me to believe you've not actually read any of the material I referenced, because handling input is not up to CEGUI, it is up to you. This is clearly stated in the material I referenced. It has absolutely nothing to do with embedded vs desktop development.

It is obvious that English is not your first language, so perhaps you have not properly formed your question. But what you have posted has lead me to believe that you have not actually read and/or understood the aforementioned material.
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: How CEGUI detect/manage input devices ?

Postby CrazyEddie » Mon Jun 22, 2009 18:10

aymen wrote:...learn how share knowledge friendly or just shut up!!

Please do not tell one of the most valued and knowledgeable members of the community to "shut up"; if Jamarr had not answered your post, do you know who would have? I'll tell you... Probably nobody would have - certainly not me, because my first thought when I saw your post earlier was "read the damned tutorials, and stop wasting my time".

As I posted elsewhere, I am done answering questions that I consider could have been answered by searching or reading the available tutorials or other documentation. So when someone else points you in that general area, I strongly advise you to take the time to read and reread until you understand.

The fact that the input injection tutorial does not cover your specific query is irrelevant - the tutorial does contain the information you need; indeed the core piece of information it contains is paramount to the way CEGUI deals with input, and effectively resolves all "how do I make device 'x' work".

Now, please tell me to "shut up" and see what that gets you.

CE.

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Re: How CEGUI detect/manage input devices ?

Postby Jamarr » Mon Jun 22, 2009 19:02

I do apologize if I seemed to have an offending reply. I do admit that some of my recent posts have been a bit stern when it relates to information that is already available on the website; but it does get annoying when these questions are asked over and over again. It is not my intention to drive off would-be CEGUI users.

As I stated before, according to what you wrote, your question has already been answered by numerous sources on the website. That being, CEGUI expects you to handle all form of input, with which you then pass into CEGUI via the inject* methods. If this is unrelated to what you are trying to ask, then you should reform your question so that we may better understand what you are actually trying to ask. Though I have a strong suspecion that you simply did not read (or understand) the material.
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!


Return to “Help”

Who is online

Users browsing this forum: No registered users and 10 guests