[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xorg
Subject: getting raw mouse input
From: Christoph Schied <Christoph.Schied () uni-ulm ! de>
Date: 2010-10-31 13:30:28
Message-ID: 20101031133027.GH1718 () holz
[Download RAW message or body]
Dear Xorg list,
I'm currently working on a game and I want to get relative mouse events
(I'm not interested in the position, only the movement in X/Y) with as
low latency as possible and without any kinds of acceleration applied to
it. What is the best way to achieve this in a portable manner?
I had a look in the ezquake[1] sourcecode, they have implemented an
input method which directly reads the evdev mouse events from
/dev/input/eventX. This however has the downside that the user needs
read permission for /dev/input/eventX, which usually isn't the case.
So what would be the best input method for my application?
greetings,
Christoph
[1] http://ezquake.sourceforge.net/
_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic