Haiku event manager

Is there a system event library in Haiku?
I know that the system partially supports events, but not fully (my experience in programming for haiku is negligible). Is it possible to develop towards events not only system but also software events?
I am fascinated by MS Windows, where there are structures that cause events and statistics to be kept. clear I hope someone reads this post and comments.

1 Like

It… really really depends on what you mean by this. Almost all of Haiku is designed around messages, and you can watch for stuff like file changes etc.

Do you mean this? something else?

I’m mainly interested in logging partial events and keeping statistics.
I know is in a QT with MVP design pattern.

I think I also don’t understand what you mean by “events”. To me that is a very generic term that means “something happened”.

So, can you be more specific about what you are trying to track?

I don’t mean flash events, i.e. system messages. I’m more interested in, for example, an event when the mouse moves or an event when a system window moves or opens/closes.

If you want to track every mouse move, you could do that with an input_server filter. I’m not sure what you would do with all that data.

There is no notion of “system windows”, all windows are the same from the system point of view. I’m not sure there is an easy way to plug into app_server to collect data about them at the moment.