On 7 November 2015 at 21:57, Carsten Haitzler <ras...@rasterman.com> wrote:
> On Sat, 7 Nov 2015 12:07:41 +0900 Christophe Sadoine <ch...@indefini.org> 
> said:
>
>> Hello,
>>
>> I want to freely move my mouse without being limited by the edges of my
>> screen. Like a fps where I can move the mouse forever and my character turns
>> on itself forever.
>>
>> How can I do that?
>
> x11 itself doesn't support this with core devices. wayland atm not as well. 
> this
> is all about relative positioning devices and atm wayland is working on a 
> spec.
> in x11 you COULD do this going right to the xinput devices. try:
>
> xinput test-xi2
>
> for example. there has been an old hack in x11 - you grab the mouse pointer to
> your window AND continuously every time a mouse event comes in... warp it back
> to the center (ignore the event that results from the warp after this). this
> means you will be able to get relative events from abs coords.

Thanks, that is what I was trying to do and I found ecore_evas_pointer_warp.
And it's good enough...

-- 
http://indefini.org

------------------------------------------------------------------------------
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to