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. this of course is pure evil and the nice way is to do relative coord device handling. atm efl actually doesn't have any support for this at any layer. :) > My use case is a widget like the spinner. When I click it I want to > hide or change the cursor and let it stay on the same position. Then I > want to get mouse move events. > When I release the mouse, the cursor is reset and is at the same > position as before the click. > You can try this in blender it is exactly doing this. > > -- > http://indefini.org > > ------------------------------------------------------------------------------ > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel