Hi
we have some code, which shows stimuli in max_priority mode and which
also should be able to get mouse-response events to log them.
unfortunately, max_priority disables any mouse-events (while lpt polling
is possible…)
max_priority was set in the posix_maxpriority.c file
with a sched_setscheduler() call:
int set_self_policy_priority( int policy, int priority ) {
struct sched_param params;
params.sched_priority = priority;
return sched_setscheduler(0,policy,¶ms);
}
what do we need to change, to have mouse-events enabled during
max_priority.
Thanks a lot for any help
Christoph–
Christoph Lehmann <@Christoph_Lehmann>
Hi
we have some code, which shows stimuli in max_priority mode and which
also should be able to get mouse-response events to log them.
unfortunately, max_priority disables any mouse-events (while lpt polling
is possible…)
That’s because mouse events need to be processed by the X server before
they are passed on to your application (assuming you are running under X11)
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
so, is there any way, to solve this problem, means: to have mouse-events
enabled, while in max_priority mode?
Thanks for further help, I appreciate it very much!!
ChristophOn Fri, 2003-05-09 at 20:14, Sam Lantinga wrote:
Hi
we have some code, which shows stimuli in max_priority mode and which
also should be able to get mouse-response events to log them.
unfortunately, max_priority disables any mouse-events (while lpt polling
is possible…)
That’s because mouse events need to be processed by the X server before
they are passed on to your application (assuming you are running under X11)
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
–
Christoph Lehmann <@Christoph_Lehmann>
so, is there any way, to solve this problem, means: to have mouse-events
enabled, while in max_priority mode?
Thanks for further help, I appreciate it very much!!
ChristophOn Fri, 2003-05-09 at 20:14, Sam Lantinga wrote:
Hi
we have some code, which shows stimuli in max_priority mode and which
also should be able to get mouse-response events to log them.
unfortunately, max_priority disables any mouse-events (while lpt polling
is possible…)
That’s because mouse events need to be processed by the X server before
they are passed on to your application (assuming you are running under X11)
See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
–
Christoph Lehmann <@Christoph_Lehmann>
so, is there any way, to solve this problem, means: to have mouse-events
enabled, while in max_priority mode?
Not that I know of… Bob?
-Sam Lantinga, Software Engineer, Blizzard Entertainment
so, is there any way, to solve this problem, means: to have mouse-events
enabled, while in max_priority mode?
Not that I know of… Bob?
No clue, sorry.On Fri, 2003-05-09 at 17:32, Sam Lantinga wrote:
-Sam Lantinga, Software Engineer, Blizzard Entertainment
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
–
±----------------------------------+
- Bob Pendleton: independent writer +
- and programmer. +
- email: Bob at Pendleton.com +
±----------------------------------+